3.1 Installing The Binary Package
Run the following commands:
apt-get remove exim4 exim4-base lpr nfs-common portmap pidentd pcmcia-cs pppoe pppoeconf ppp pppconfig
apt-get install screen ssh debootstrap python python2.3-twisted iproute bridge-utils libcurl3-dev
<-- Yes
<-- Yes
<-- Yes
3.1.1 Install Xen
Next do this:
cd /usr/src/
wget http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-2.0.7-install-x86_32.tgz
tar xvzf xen-2.0.7-install-x86_32.tgz
cd xen-2.0-install
./install.sh
mv /lib/tls /lib/tls.disabled
Now Xen is installed. In order to start the Xen services at boot time, do the following:
update-rc.d xend defaults 20 21
update-rc.d xendomains defaults 21 20
3.1.2 Configure The Bootloader And Reboot
Next we add the Xen kernel to Grub, our bootloader. Edit /boot/grub/menu.lst, and before the line ### BEGIN AUTOMAGIC KERNELS LIST add the following stanza:
title Xen 2.0 / XenLinux 2.6.11 |
Make sure that /dev/hda6 is your / partition. Keep in mind what I said about Grub and partitioning in chapter 1!
Now reboot the system:
shutdown -r now
At the boot prompt, Grub should now list Xen 2.0 / XenLinux 2.6.11 as the first kernel and boot it automatically. If your system comes up without problems, then everything is fine!