close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_delta.so: cannot map zero-fill pages: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Oct 9, 2009, 4:24:05 PM (16 years ago)
- Author:
-
rock
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v5
|
v6
|
|
| 37 | 37 | node[shape=box,width=3.0]; |
| 38 | 38 | |
| 39 | | "3.使用 Euca2ools 來操作 Eucalyptus" -> "4.使用 Euca2ools 上傳 Kernel / Ramdisk / FS Image"; |
| 40 | | "1.新增 Eucalyptus API 套件庫" -> "2.下載帳戶憑證"; |
| | 39 | "4.使用 Euca2ools 上傳 Kernel / Ramdisk / FS Image" -> "5.開啟 VM"; |
| | 40 | "1.新增 Eucalyptus API 套件庫" -> "2.下載帳戶憑證" -> "3.使用 Euca2ools 來操作 Eucalyptus"; |
| 41 | 41 | } |
| 42 | 42 | }}} |
| … |
… |
|
| 113 | 113 | $ euca-register images/debian.5-0.x86-64.img.manifest.xml |
| 114 | 114 | }}} |
| | 115 | * 察看上傳的檔案 |
| | 116 | * https://localhost:8443/#images |
| | 117 | * 使用 '''__euca-describe-images__''' 指令 |
| | 118 | {{{ |
| | 119 | $ euca-describe-images |
| | 120 | }}} |
| | 121 | ---- |
| | 122 | 【Step 5: 開啟 VM】 |
| | 123 | * 產生 VM 前必須先拿到登入的 key,開啟之後才能順利的使用此 private key 來登入 VM |
| | 124 | {{{ |
| | 125 | $ euca-describe-keypairs |
| | 126 | $ cd ; cd euca |
| | 127 | $ euca-add-keypair mykey >mykey.private |
| | 128 | }}} |
| | 129 | * 使用此 mykey 來產生一個 VM |
| | 130 | {{{ |
| | 131 | $ euca-run-instances -k mykey -n 1 <emi-id> |
| | 132 | $ euca-describe-instances |
| | 133 | }}} |
| | 134 | * 使用 mykey.private 來登入 VM |
| | 135 | {{{ |
| | 136 | $ ssh -i mykey.private root@192.168.X.X |
| | 137 | }}} |
| | 138 | * 關掉 VM |
| | 139 | {{{ |
| | 140 | $ euca-terminate-instances <instance-id> |
| | 141 | }}} |