S3をコマンドで操作したかったので、aws_cliがあるけれどもs3cmdをyumってみた
s3cmdをインストールしてみた
ソースインストールじゃなくても
s3cmdがリポジトリに登録されたらしいので、yumで確認してみた。
リポジトリ epel の場合
yum info --enablerepo=epel s3cmd
Versionが「1.0.1」
Available Packages Name : s3cmd Arch : noarch Version : 1.0.1 Release : 1.el6 Size : 94 k Repo : epel Summary : Tool for accessing Amazon Simple Storage Service URL : http://s3tools.logix.cz/s3cmd License : GPLv2 Description : S3cmd lets you copy files from/to Amazon S3 : (Simple Storage Service) using a simple to use : command line client.
リポジトリ epel-testing の場合
yum info --enablerepo=epel-testing s3cmd
Versionが「1.5.0」
Name : s3cmd Arch : noarch Version : 1.5.0 Release : 0.4.gitb196faa5.el6 Size : 137 k Repo : epel-testing Summary : Tool for accessing Amazon Simple Storage Service URL : http://s3tools.logix.cz/s3cmd License : GPLv2 Description : S3cmd lets you copy files from/to Amazon S3 : (Simple Storage Service) using a simple to use : command line client.
実際には「1.5.0-beta」となっています。
最新版をインストール
yum --enablerepo=epel-testing install s3cmd
Version確認
s3cmd --version
確認
s3cmd version 1.5.0-beta1
参考
まとめ
最新版だとマルチパートアップロード機能や、スタティックウェブサイトホスティング機能等を使えるようなので、インストールしてみてください。