Skip to content

Instantly share code, notes, and snippets.

@Twinuma
Created October 8, 2013 15:47
Show Gist options
  • Select an option

  • Save Twinuma/6886817 to your computer and use it in GitHub Desktop.

Select an option

Save Twinuma/6886817 to your computer and use it in GitHub Desktop.
vagrant-chef-centos-wordpress & staticpress & s3fs
wget http://downloads.sourceforge.net/project/fuse/fuse-2.X/2.9.3/fuse-2.9.3.tar.gz
tar xvf fuse-2.9.3.tar.gz
cd fuse-2.9.3
./configure
make
make install
echo /usr/local/lib >> /etc/ld.so.conf
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
ldconfig
yum install gcc make libstdc++-devel gcc-c++ fuse fuse-devel curl-devel libxml2-devel openssl-devel mailcap
wget https://s3fs.googlecode.com/files/s3fs-1.73.tar.gz
mv s3fs-1.73.tar.gz /usr/local/src
cd /usr/local/src
tar zxvf ./s3fs-1.73.tar.gz
cd s3fs-1.73
./configure --prefix=/usr
make
make install
vi /etc/passwd-s3fs
access_key:secret_key
chmod 640 /etc/passwd-s3fs
mkdir /mnt/s3
s3fs static-wordpress-kagoshima /mnt/s3 -o allow_other
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment