Changes between Version 25 and Version 26 of Reading/XenP/single


Ignore:
Timestamp:
Apr 17, 2009, 1:33:46 PM (15 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Reading/XenP/single

    v25 v26  
    5757== 3.配置 Xen 環境 ==
    5858{{{
     59### 修改 xend 配置檔 (前面數字為修改的行數) ###
    5960$ sudo vim /etc/xen/xend-config.sxp
    6061
    61 (xend-relocation-server yes)
    62 (xend-relocation-port 8002)
    63 (xend-relocation-hosts-allow '') 
     6261  (xend-relocation-server yes)
     6384  (xend-relocation-port 8002)
     64121 (xend-relocation-hosts-allow '') 
     65122 #(xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$')
    6466
    65 (network-script 'network-bridge netdev=eth0')
    66 (vif-script vif-bridge)
     67152 (network-script 'network-bridge netdev=eth0')
     68167 (vif-script vif-bridge)
    6769
    68 (vnc-listen '0.0.0.0')
     70207 (vnc-listen '0.0.0.0')
    6971}}}
    7072----
     
    8991$ sudo make install
    9092
    91 ### 修改 xen-tools 的相關設定 ###
     93### 修改 xen-tools 的相關設定 (前面數字為行數) ###
    9294$ sudo vim /etc/xen-tools/xen-tools.conf
    93 dir = /home
    94 dhcp = 1
    95 mirror = http://free.nchc.org.tw/debian/
     9545  dir = /home
     96169 dhcp = 1
     97214 mirror = http://free.nchc.org.tw/debian/
    9698}}}
    9799 * '''''__5.1.2 產生 VM Image'''''__
     
    102104{{{
    103105$ cd /etc/xen
     106
     107### 修改 xen01 設定檔 ( mac 請將最後4碼修改成 0~9 或 A~F 之間的字母) ###
    104108$ sudo vim xen01.cfg
    105 # dhcp = 'dhcp'
     10938  #dhcp = 'dhcp'
     11039  vif         = [ 'mac=00:16:3E:3A:XX:XX' ]
    106111
    107112$ sudo xm create -c xen01.cfg