Changes between Version 25 and Version 26 of Reading/XenP/single
- Timestamp:
- Apr 17, 2009, 1:33:46 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Reading/XenP/single
v25 v26 57 57 == 3.配置 Xen 環境 == 58 58 {{{ 59 ### 修改 xend 配置檔 (前面數字為修改的行數) ### 59 60 $ sudo vim /etc/xen/xend-config.sxp 60 61 61 (xend-relocation-server yes) 62 (xend-relocation-port 8002) 63 (xend-relocation-hosts-allow '') 62 61 (xend-relocation-server yes) 63 84 (xend-relocation-port 8002) 64 121 (xend-relocation-hosts-allow '') 65 122 #(xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$') 64 66 65 (network-script 'network-bridge netdev=eth0')66 (vif-script vif-bridge)67 152 (network-script 'network-bridge netdev=eth0') 68 167 (vif-script vif-bridge) 67 69 68 (vnc-listen '0.0.0.0')70 207 (vnc-listen '0.0.0.0') 69 71 }}} 70 72 ---- … … 89 91 $ sudo make install 90 92 91 ### 修改 xen-tools 的相關設定 ###93 ### 修改 xen-tools 的相關設定 (前面數字為行數) ### 92 94 $ sudo vim /etc/xen-tools/xen-tools.conf 93 dir = /home94 dhcp = 195 mirror = http://free.nchc.org.tw/debian/95 45 dir = /home 96 169 dhcp = 1 97 214 mirror = http://free.nchc.org.tw/debian/ 96 98 }}} 97 99 * '''''__5.1.2 產生 VM Image'''''__ … … 102 104 {{{ 103 105 $ cd /etc/xen 106 107 ### 修改 xen01 設定檔 ( mac 請將最後4碼修改成 0~9 或 A~F 之間的字母) ### 104 108 $ sudo vim xen01.cfg 105 # dhcp = 'dhcp' 109 38 #dhcp = 'dhcp' 110 39 vif = [ 'mac=00:16:3E:3A:XX:XX' ] 106 111 107 112 $ sudo xm create -c xen01.cfg