Changes between Version 23 and Version 24 of Xen_Lab4
- Timestamp:
- Oct 21, 2009, 10:03:35 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Xen_Lab4
v23 v24 65 65 $ sudo cp vm01.disk.img mpi03.disk.img 66 66 }}} 67 * 修改 (1)/etc/hosts (2)/etc/hostname 68 * 先修改 mpi02.disk.img 67 * 修改 '''(1)/etc/hosts (2)/etc/hostname (3)/etc/network/interfaces''' 68 * 先修改 mpi01.disk.img 69 * 先掛載 image 於 /mnt 70 {{{ 71 $ sudo mount mpi01.disk.img /mnt -o loop 72 }}} 73 {{{ 74 $ sudo vim /etc/hosts 75 }}} 76 {{{ 77 #!sh 78 127.0.0.1 localhost 79 192.168.100.X mpi01 80 192.168.100.Y mpi02 81 192.168.100.Z mpi03 82 }}} 83 {{{ 84 $ sudo vim /etc/network/interfaces 85 }}} 86 {{{ 87 #!sh 88 auto eth0 89 iface eth0 inet static 90 address 192.168.100.X 91 netmask 255.255.255.0 92 gateway 192.168.100.254 93 }}} 94 {{{ 95 $ sudo umount /mnt 96 }}} 97 * 修改 mpi02.disk.img 69 98 {{{ 70 99 $ sudo mount mpi02.disk.img /mnt -o loop … … 81 110 #!sh 82 111 127.0.0.1 localhost 83 192.X.X.X mpi01 84 192.X.X.X mpi02 85 192.X.X.X mpi03 112 192.168.100.X mpi01 113 192.168.100.Y mpi02 114 192.168.100.Z mpi03 115 }}} 116 {{{ 117 $ sudo vim /etc/network/interfaces 118 }}} 119 {{{ 120 #!sh 121 auto eth0 122 iface eth0 inet static 123 address 192.168.100.Y 124 netmask 255.255.255.0 125 gateway 192.168.100.254 86 126 }}} 87 127 {{{ … … 103 143 #!sh 104 144 127.0.0.1 localhost 105 192.X.X.X mpi01 106 192.X.X.X mpi02 107 192.X.X.X mpi03 145 192.168.100.X mpi01 146 192.168.100.Y mpi02 147 192.168.100.Z mpi03 148 }}} 149 {{{ 150 $ sudo vim /etc/network/interfaces 151 }}} 152 {{{ 153 #!sh 154 auto eth0 155 iface eth0 inet static 156 address 192.168.100.Z 157 netmask 255.255.255.0 158 gateway 192.168.100.254 108 159 }}} 109 160 {{{