LoginSignup
2
2

More than 5 years have passed since last update.

MacPortsでs3cmdをインストール

Posted at

Amazon S3のCUIクライアント「s3cmd」をMacPortsを使ってインストールする方法。
http://s3tools.org/s3cmd

まず、以下のコマンドを実行してs3cmdをインストールする。

$ sudo port install s3cmd

次に、以下のコマンドを実行して、対話的にs3cmdの設定をおこなう。

$ s3cmd --configure                                                                                                                                            

(略)

Access key and Secret key are your identifiers for Amazon S3
Access Key: <AWSのAccess Key>
Secret Key: <AWSのSeqret Key>

Encryption password is used to protect your files from reading
by unauthorized persons while in transfer to S3
Encryption password: <空Enter>
Path to GPG program: <空Enter>

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]: <空Enter>

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: <空Enter>

(略)

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
(略)
2
2
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
2
2