Created
April 15, 2013 14:16
-
-
Save SwathiMystery/5388392 to your computer and use it in GitHub Desktop.
Installation of s3sync
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 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