| 4 | |
| 5 | == Xen VNC == |
| 6 | |
| 7 | * 基本步驟請參考[wiki:jazz/DRBL_Xen 使用 DRBL 部署 Xen 虛擬叢集] |
| 8 | * 小修改: |
| 9 | * 在 Lenny x86_64 上的安裝步驟 |
| 10 | {{{ |
| 11 | #!sh |
| 12 | lenny:~# echo "loop max_loop=255" >> /etc/modules |
| 13 | lenny:~# apt-get install xen-hypervisor-3.2-1-amd64 linux-image-2.6.26-1-xen-amd64 xen-tools libc6-xen bridge-utils lsb-release |
| 14 | lenny:~# update-grub |
| 15 | lenny:~# reboot |
| 16 | --------- Boot with "Xen 3.2-1-amd64 / Debian GNU/Linux, kernel 2.6.26-1-xen-amd64" --------- |
| 17 | lenny:~# lsb_release -a |
| 18 | No LSB modules are available. |
| 19 | Distributor ID: Debian |
| 20 | Description: Debian GNU/Linux 5.0 (lenny) |
| 21 | Release: 5.0 |
| 22 | Codename: lenny |
| 23 | lenny:~# uname -a |
| 24 | Linux lenny 2.6.26-1-xen-amd64 #1 SMP Sat Jan 10 20:39:26 UTC 2009 x86_64 GNU/Linux |
| 25 | lenny:~# xen-create-image -dir /home/xen --dist etch --debootstrap --fs reiserfs --accounts --kernel /boot/vmlinuz-2.6.26-1-xen-amd64 --initrd /boot/initrd.img-2.6.26-1-amd64 --hostname etch1 --dhcp --mirror http://free.nchc.org.tw/debian |
| 26 | lenny:~# vi /etc/xen/xend-config.sxp |
| 27 | }}} |