Skip to content

Instantly share code, notes, and snippets.

@chrisjohnson00
Created February 23, 2015 16:50
Show Gist options
  • Save chrisjohnson00/96310734d0dd3eed0e76 to your computer and use it in GitHub Desktop.
Save chrisjohnson00/96310734d0dd3eed0e76 to your computer and use it in GitHub Desktop.
compiling s3fs on ubuntu
#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
@AlexanderNtk
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment