Created
February 23, 2015 16:50
-
-
Save chrisjohnson00/96310734d0dd3eed0e76 to your computer and use it in GitHub Desktop.
compiling s3fs on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install s3fs | |
apt-get install -y git libxml2-dev libcurl4-openssl-dev gcc g++ pkg-config openssl autotools-dev automake libfuse-dev make unzip | |
cd /home/ubuntu/ | |
wget https://github.com/s3fs-fuse/s3fs-fuse/archive/v1.78.zip | |
unzip v1.78.zip | |
mv s3fs-fuse-1.78/ s3fs-fuse | |
#git clone git://github.com/s3fs-fuse/s3fs-fuse.git | |
cd /home/ubuntu/s3fs-fuse | |
./autogen.sh | |
./configure | |
make | |
make install | |
mkdir -p /mnt/s3 | |
chmod -R 777 /mnt/s3 | |
#copy the key file! | |
cp /vagrant/passwd-s3fs /etc/passwd-s3fs | |
chmod 0640 /etc/passwd-s3fs | |
s3fs ec2downloads:/ /mnt/s3 -o use_rrs -o allow_other -o use_cache=/tmp | |
I think passwd-s3fs has my secret key in it... | |
chmod -R 777 /mnt/s3/downloads |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
libssl-dev is missing
apt-get install -y git libxml2-dev libcurl4-openssl-dev gcc g++ pkg-config openssl autotools-dev automake libfuse-dev make unzip libssl-dev