Skip to content

Instantly share code, notes, and snippets.

@abendy
Forked from jcaddel/S3FS on Mac OS X
Created March 11, 2017 21:16
Show Gist options
  • Save abendy/f1cdab1f69e087bfe00052db1e7febd9 to your computer and use it in GitHub Desktop.
Save abendy/f1cdab1f69e087bfe00052db1e7febd9 to your computer and use it in GitHub Desktop.
Install s3fs on Mac OS X
1 - Install Homebrew - http://brew.sh/
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
2 - Use Homebrew to install s3fs + dependencies
brew install s3fs
3 - Do some custom stuff. I only used the first step from here -> https://gist.github.com/fukayatsu/3910097
sudo /bin/cp -rfX /usr/local/Cellar/fuse4x-kext/0.9.2/Library/Extensions/fuse4x.kext /Library/Extensions
sudo chmod +s /Library/Extensions/fuse4x.kext/Support/load_fuse4x
4 - Create the file ~/.passwd-s3fs (one line file [accessKey:secretKey]
echo $ACCESS_KEY:$SECRET_KEY > ~/.passwd-s3fs
5 - Create the directory where the S3 bucket will be mounted
mkdir -p ~/.s3/archive.kuali.org
6 - Mount the bucket
s3fs archive.kuali.org ~/.s3/archive.kuali.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment