Changes between Version 10 and Version 11 of Xen_Lab6
- Timestamp:
- Oct 25, 2009, 2:28:39 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Xen_Lab6
v10 v11 44 44 $ mkdir euca 45 45 $ mv euca2-admin-x509.zip euca/ 46 $ cd euca 46 47 $ unzip euca2-admin-x509.zip 47 48 }}} 48 49 * 解開壓縮檔後,它有4個檔案,當中的 eucarc 是每次你要使用 Euca2ools 必須先 source 它 (他會幫設定好環境變數和認証Key) 49 50 {{{ 50 $ source eucara 51 $ cat eucarc 52 $ source eucarc 51 53 }}} 52 54 ---- … … 54 56 * 使用 Euca2ools 提供的 '''__ecca-describe-availability-zones__''' 指令察看可用的資源 55 57 {{{ 56 $ source eucarc57 58 $ euca-describe-availability-zones verbose 58 59 }}} … … 111 112 * 使用 mykey.private 來登入 VM 112 113 {{{ 113 $ ssh -i mykey.private root@192.168. X.X114 $ ssh -i mykey.private root@192.168.100.X 114 115 }}} 115 116 * 關掉 VM … … 117 118 $ euca-terminate-instances <instance-id> 118 119 }}} 120 * 練習在開啟兩個 VM