Skip to content

Instantly share code, notes, and snippets.

@hachi-eiji
Created October 31, 2012 16:41
Show Gist options
  • Save hachi-eiji/3988166 to your computer and use it in GitHub Desktop.
Save hachi-eiji/3988166 to your computer and use it in GitHub Desktop.
s3cmd(command line Amazon S3 Client) installation steps
wget http://downloads.sourceforge.net/project/s3tools/s3cmd/1.0.1/s3cmd-1.0.1.tar.gz?r=&ts=1350471447
tar xzfv s3cmd-1.0.1.tar.gz
cd s3cmd-1.0.1
python setup.py install
s3cmd --configure
Enter new values or accept defaults in brackets with Enter.
Refer to user manual for detailed description of all options.
Access key and Secret key are your identifiers for Amazon S3
Access Key: <Your Access Key>
Secret Key: <Your Secret Key>
Encryption password is used to protect your files from reading
by unauthorized persons while in transfer to S3
Encryption password:
Path to GPG program [/usr/bin/gpg]:
When using secure HTTPS protocol all communication with Amazon S3
servers is protected from 3rd party eavesdropping. This method is
slower than plain HTTP and can't be used if you're behind a proxy
Use HTTPS protocol [No]:
On some networks all internet access must go through a HTTP proxy.
Try setting it here if you can't conect to S3 directly
HTTP Proxy server name:
New settings:
Access Key:
Secret Key:
Encryption password:
Path to GPG program: /usr/bin/gpg
Use HTTPS protocol: False
HTTP Proxy server name:
HTTP Proxy server port: 0
Test access with supplied credentials? [Y/n] Y
Please wait...
Success. Your access key and secret key worked fine :-)
Now verifying that encryption works...
Not configured. Never mind.
Save settings? [y/N] y
Configuration saved to '/root/.s3cfg'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment