It is man's ability to remember that sets us apart, we are the only species concerned with the past. Our memories give us voice, to bear witness to history so that others might learn, so they might celebrate our triumph and be warned of our failures ...

Steps to install s3cmd on a shared server

Filed Under (Uncategorized) by Abhishek Jain on 05-08-2010

S3cmd is a command line tool for uploading, retrieving and managing data in Amazon S3. It is best suited for power users who don’t fear command line. It is also ideal for scripts, automated backups triggered from cron, etc.

S3cmd is an open source project available under GNU Public License v2 (GPLv2) and is free for both commercial and private use. You will only have to pay Amazon for using their storage. None of these money go to S3cmd developers.

Mentioned below are the steps to install s3cmd on a shared server.

1. Download s3cmd

2. Copy it to any location on your server

3. Goto to the directory

4. Run python setup.py install –user
–user installs it in the user site-package

‘/home/foo_user/.local/lib/python2.6/site-packages’

5. Add the following to the end of your .bashrc file:
export PATH=$HOME/.local/bin:$HOME/.local/usr/bin:$PATH

“$HOME/.local/bin” prepends /home/foo_user/.local/bin to user’s PATH env variable. This variable is searched for directories, in order of occurrence – when executables are looked for.

6. Logout and login

7. Run s3cmd –configure

Update the credentials and you should be good to go.

Leave a Reply

Subscribe to Rss Feed : Rss