20
20

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

aws cli導入メモ

Posted at

#Ubuntu
pipでインストール

sudo apt-get install -y python-pip
sudo pip install awscli
sudo pip install --upgrade awscli
complete -C aws_completer aws
aws --version

#CentOS6.x
python設定後、pipでインストール

sudo yum -y install python python-devel --enablerepo=epel
sudo yum -y install python-setuptools
sudo easy_install pip
sudo pip install awscli
sudo pip install --upgrade awscli
complete -C aws_completer aws
aws --version

#CentOS5.x
epelレポジトリ追加、python26インストール

wget http://ftp-srv2.kddilabs.jp/Linux/distributions/fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -ivh epel-release-5-4.noarch.rpm
sudo yum install python26
python26 --version
```bash

awscli(バンドル版)インストール
```bash
wget https://s3.amazonaws.com/aws-cli/awscli-bundle.zip
unzip awscli-bundle.zip
cd awscli-bundle
cat install > install.old
cat install.old | sed 's/#!\/usr\/bin\/env python/#!\/usr\/bin\/env python26/g' > install
diff install.old install
./install -i /usr/local/aws -b /usr/local/bin/aws
complete -C aws_completer aws
aws --version
20
20
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
20
20

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?