VMware Images:
|
The Perfect Xen 3.0.1 Setup For Debian - Page 3
3.2 Installing From The SourcesRun the following commands: apt-get remove exim4 exim4-base lpr nfs-common portmap pidentd pcmcia-cs pppoe pppoeconf ppp pppconfig
3.2.1 Install XenNow download xen-3.0.1-src.tgz from http://www.xensource.com/products/downloads/dl_x30tarball_bt.html with BitTorrent and put it into the /usr/src directory. Then do the following: cd /usr/src cd xen-3.0.1/ Now we compile a dom0 kernel: cd linux-2.6.12-xen0 In the kernel comfiguration menu that shows up we enable quota, iptables and the dummy network driver as modules. This is where you enable these modules: File systems --> [*] Quota support Device Drivers ---> Networking support ---> <M> Dummy net driver support Device Drivers ---> Networking support ---> Networking options ---> [*] Network packet filtering (replaces ipchains) ---> IP: Netfilter Configuration ---> <M> IP tables support (required for filtering/masq/NAT) [*] means: build into the kernel statically. Next we build and install the dom0 kernel: cd .. Afterwards we compile a kernel for domU (the virtual machines): cd linux-2.6.12-xenU In the kernel comfiguration menu that shows up we have to enable quota and iptables as modules (it is important that they are modules. I could not get iptables to work in a virtual machine when I compiled it into the kernel statically!). This is where you enable these modules: File systems --> [*] Quota support Device Drivers ---> Networking support ---> Networking options ---> [*] Network packet filtering (replaces ipchains) ---> IP: Netfilter Configuration ---> <M> IP tables support (required for filtering/masq/NAT) [*] means: build into the kernel statically. After you have left the kernel configuration menu, do the following to build and install the domU kernel: cd .. Now Xen is installed. In order to start the Xen services at boot time, do the following: update-rc.d xend defaults 20 21
3.2.2 Configure The Bootloader And RebootNext we add our new kernel to Grub, our bootloader. Edit /boot/grub/menu.lst, and before the line ### BEGIN AUTOMAGIC KERNELS LIST add the following stanza: vi /boot/grub/menu.lst
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 3.0.1 / XenLinux 2.6.12-xen0 as the first kernel and boot it automatically. If your system comes up without problems, then everything is fine!
|



print: 


Recent comments
1 day 4 hours ago
1 day 10 hours ago
3 days 6 hours ago
5 days 3 hours ago
6 days 5 hours ago
6 days 16 hours ago
1 week 7 hours ago
1 week 17 hours ago
1 week 22 hours ago
1 week 1 day ago