1. Download Python & boto from below path
cd /usr/local/src/
https://github.com/boto/boto/downloads/boto-2.6.0.tar.gz
http://www.python.org/getit/releases/2.7.5/Python-2.7.5.tgz
2. Install python
yum install *gcc* [ for python support ]
yum install openssl-devel [ to prevent this error : AttributeError: 'module' object has no attribute 'HTTPSConnection' ]
tar xzvf Python-x.x.x.x
cd Python.x.x.x.x
./configure --disable-ipv6
make
make install
3. Install boto
tar xzvf boto-x.x.x
cd boto-x.x.x
python setup.py install
4. Configure boto
##create below file and add the lines
vim ~/.boto
[Credentials]
aws_access_key_id=Enter here
aws_secret_access_key=Enter here
[glacier]
region=us-east-1
logfile=~/.glacier-cmd.log
loglevel=INFO
output=prin
[Boto]
https_validate_certificates = False
5. Export variables
#export LD_LIBRARY_PATH=/usr/local/lib/python2.7
#export PATH=/usr/local/lib/python2.7/site-packages/boto:$PATH
6. Check the command
#glacier valuts
7. glcier-cmd Install
Amazon Glacier CLI
==================
Command line interface for Amazon Glacier. Allows managing vaults, uploading
and downloading archives and bookkeeping of creat
#cd /usr/local/src
#yum install python-setuptools [ dependency for glacier-cmd ]
#wget http://python-distribute.org/distribute_setup.py
#python distribute_setup.py
#easy_install pip
#wget https://github.com/uskudnik/amazon-glacier-cmd-interface/amazon-glacier-cmd-interface-master.zip
#unzip amazon-glacier-cmd-interface-master.zip
#cd amazon-glacier-cmd-interface-master
#python setup.py install
8. Create file for glacier-cmd and add the below lines
vim /etc/glacier-cmd.conf
[aws]
access_key=Enter here
secret_key=Enter here
[glacier]
region=us-east-1
logfile=~/.glacier-cmd.log
loglevel=INFO
output=print
9. Commands for glacier please refer below
/usr/local/src/amazon-glacier-cmd-interface-master/README.md
Reference: https://github.com/uskudnik/amazon-glacier-cmd-interface/blob/master/doc/Usage.rst
cd /usr/local/src/
https://github.com/boto/boto/downloads/boto-2.6.0.tar.gz
http://www.python.org/getit/releases/2.7.5/Python-2.7.5.tgz
2. Install python
yum install *gcc* [ for python support ]
yum install openssl-devel [ to prevent this error : AttributeError: 'module' object has no attribute 'HTTPSConnection' ]
tar xzvf Python-x.x.x.x
cd Python.x.x.x.x
./configure --disable-ipv6
make
make install
3. Install boto
tar xzvf boto-x.x.x
cd boto-x.x.x
python setup.py install
4. Configure boto
##create below file and add the lines
vim ~/.boto
[Credentials]
aws_access_key_id=Enter here
aws_secret_access_key=Enter here
[glacier]
region=us-east-1
logfile=~/.glacier-cmd.log
loglevel=INFO
output=prin
[Boto]
https_validate_certificates = False
5. Export variables
#export LD_LIBRARY_PATH=/usr/local/lib/python2.7
#export PATH=/usr/local/lib/python2.7/site-packages/boto:$PATH
6. Check the command
#glacier valuts
7. glcier-cmd Install
Amazon Glacier CLI
==================
Command line interface for Amazon Glacier. Allows managing vaults, uploading
and downloading archives and bookkeeping of creat
#cd /usr/local/src
#yum install python-setuptools [ dependency for glacier-cmd ]
#wget http://python-distribute.org/distribute_setup.py
#python distribute_setup.py
#easy_install pip
#wget https://github.com/uskudnik/amazon-glacier-cmd-interface/amazon-glacier-cmd-interface-master.zip
#unzip amazon-glacier-cmd-interface-master.zip
#cd amazon-glacier-cmd-interface-master
#python setup.py install
8. Create file for glacier-cmd and add the below lines
vim /etc/glacier-cmd.conf
[aws]
access_key=Enter here
secret_key=Enter here
[glacier]
region=us-east-1
logfile=~/.glacier-cmd.log
loglevel=INFO
output=print
9. Commands for glacier please refer below
/usr/local/src/amazon-glacier-cmd-interface-master/README.md
Reference: https://github.com/uskudnik/amazon-glacier-cmd-interface/blob/master/doc/Usage.rst
It’s interesting to read content. I appreciate your blog AWS online Training Hyderabad
ReplyDelete