Changes between Version 15 and Version 16 of DICLOUD/GEC12tutorial
- Timestamp:
- 10/18/11 09:55:17 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DICLOUD/GEC12tutorial
v15 v16 108 108 == Setup: Configure environment variables == 109 109 110 We configure environment variables to add references to the access key id and secret access key as environment variables. We also create copies of the keys and make them accessible to the !DiCloud web portal, which uses apache2. Finally, we add references to the access key id and secret key to an S3 configuration file. 111 110 112 {{{ 111 113 $ cd ~/Tutorials/DiCloud 112 114 $ nano environment 113 115 114 [ Insert correct from geni_aws_credentials.txt116 [ Insert correct values from geni_aws_credentials.txt 115 117 AWS_ACCESS_KEY_ID= 116 118 AWS_SECRET_ACCESS_KEY= ] … … 127 129 128 130 Add Access Key Id and Secret Access Key to .s3cfg file. 129 Copy .s3cfg file to ~geni 130 131 {{{ 131 Copy .s3cfg file to ~geni/. 132 133 {{{ 134 $ nano ~/Tutorials/DiCloud/.s3cfg 135 136 [ 137 Modify lines specifying access_key and secret_key: 138 139 access_key = xxx 140 secret_key = xxx 141 ] 142 132 143 $ cp ~/Tutorials/DiCloud/.s3cfg ~/.s3cfg 133 144 }}}