Skip to content

Instantly share code, notes, and snippets.

@SwathiMystery
Created April 15, 2013 14:16
Show Gist options
  • Save SwathiMystery/5388392 to your computer and use it in GitHub Desktop.
Save SwathiMystery/5388392 to your computer and use it in GitHub Desktop.
Installation of s3sync
Install Ruby from the repository
$ sudo apt-get install ruby libopenssl-ruby
Confirm with the version
$ ruby -v
Download and unzip s3sync
$ wget http://s3.amazonaws.com/ServEdge_pub/s3sync/s3sync.tar.gz
$ tar -xvzf s3sync.tar.gz
Install the certificates.
$ sudo apt-get install ca-certificates
$ cd s3sync/
Add the credentials to the s3config.yml for s3sync to connect to s3.
$ cd s3sync/
$ sudo vi s3config.yml
aws_access_key_id: ABCDEFGHIJKLMNOPQRST
aws_secret_access_key: hkajhsg/knscscns19mksnmcns
ssl_cert_dir: /etc/ssl/certs
Edit aws_access_key_id and aws_secret_access_key to your own credentials.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment