Skip to content

Instantly share code, notes, and snippets.

@skt-bford
Created April 25, 2013 17:29
Show Gist options
  • Save skt-bford/5461538 to your computer and use it in GitHub Desktop.
Save skt-bford/5461538 to your computer and use it in GitHub Desktop.
s3fs-setup.sh
#!/usr/bin/env bash
# requirements
yum remove fuse fuse* fuse-devel
yum -y groupinstall "Development Tools"
yum -y install gcc libstdc++-devel gcc-c++ curl curl* curl-devel libxml2 libxml2* libxml2-devel openssl-devel mailcap
cd /usr/local/src
wget http://sourceforge.net/projects/fuse/files/latest/download?source=files
tar -xzvf fuse-*.tar.gz
rm -f fuse-*.tar.gz
mv fuse-* fuse
cd fuse/
./configure --prefix=/usr
make
make install
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib64/pkgconfig/
ldconfig
modprobe fuse
pkg-config --modversion fuse
cd /usr/local/src
wget https://s3fs.googlecode.com/files/s3fs-1.67.tar.gz
tar -xzvf s3fs-*.tar.gz
rm -f s3fs-*.tar.gz
mv s3fs-* s3fs
cd s3fs
./configure --prefix=/usr
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment