Created
August 24, 2014 14:55
-
-
Save jcaddel/730dc58f4653adf33e4f to your computer and use it in GitHub Desktop.
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 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 |
Is there anyway to install this without using brew?
use goofys (https://github.com/kahing/goofys) which you needn't manually set credentials.
can i use it for digital-ocean spaces? if yes where i can edit the server link
thank
@rawaby88 add the argument --url=https://nyc3.digitaloceanspaces.com
or any other region
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Amazing staff guys! The only strange case, I have same bucket mounted to Mac and Linux (Linux is mounted via S3FS). The problem is that recently created folders by Linux users are locked down with red brick. Just curious why..