close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_repos.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Oct 9, 2009, 3:49:52 PM (16 years ago)
- Author:
-
rock
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v1
|
v2
|
|
| 37 | 37 | node[shape=box,width=3.0]; |
| 38 | 38 | |
| 39 | | "3.設定 Eucalyptus 的網路架構" -> "4.啟動 Eucalyptus"; |
| 40 | | "1.新增 Eucalyptus API 套件庫" -> "2.使用 Euca2ools 來設定 Eucalyptus"; |
| | 39 | "3.使用 Euca2ools 來操作 Eucalyptus" -> "4.啟動 Eucalyptus"; |
| | 40 | "1.新增 Eucalyptus API 套件庫" -> "2.下載帳戶憑證"; |
| 41 | 41 | } |
| 42 | 42 | }}} |
| … |
… |
|
| 52 | 52 | $ echo deb file://${PWD} ./ >> /etc/apt/sources.list |
| 53 | 53 | }}} |
| 54 | | * 使用 ''__aptitude install__''指令安裝 euca2ools |
| | 54 | * 使用 '''__aptitude install__'''指令安裝 euca2ools |
| 55 | 55 | {{{ |
| 56 | 56 | $ sudo aptitude update |
| … |
… |
|
| 58 | 58 | }}} |
| 59 | 59 | ---- |
| 60 | | 【Step 2:使用 Euca2ools 來設定 Eucalyptus】 |
| 61 | | * |
| | 60 | 【Step 2:下載帳戶憑證】 |
| | 61 | * 使用你的帳戶登入到 Eucalyptus Web 並下載你的憑證 (要用 Euca2ools 控制 Eucalyptus 必須要讓 Eucalyptus 系統信任你,所以需要此憑證) |
| | 62 | * 下載至你的家目錄 |
| | 63 | [[Image(down.png)]] |
| 62 | 64 | {{{ |
| | 65 | $ cd |
| | 66 | $ mkdir euca |
| | 67 | $ mv euca2-admin-x509.zip euca/ |
| | 68 | $ unzip euca2-admin-x509.zip |
| 63 | 69 | }}} |
| | 70 | * 解開壓縮檔後,它有4個檔案,當中的 eucarc 是每次你要使用 Euca2ools 必須先 source 它 (他會幫設定好環境變數和認証Key) |
| | 71 | {{{ |
| | 72 | $ source eucara |
| | 73 | }}} |
| | 74 | ---- |
| | 75 | 【Step 3:使用 Euca2ools 來操作 Eucalyptus】 |
| | 76 | * 使用 Euca2ools '''__ec2-describe-availability-zones verbose__''' |
| | 77 | 指令察看目前可用的資源 |
| | 78 | {{{ |
| | 79 | $ source eucarc |
| | 80 | $ ec2-describe-availability-zones verbose |
| | 81 | }}} |