VMware Images:
|
The Perfect Xen 3.0.1 Setup For Debian
|
This is a "copy & paste" HowTo! The easiest way to follow this tutorial is to use a command line client/SSH client (like PuTTY for Windows) and simply copy and paste the commands (except where you have to provide own information like IP addresses, hostnames, passwords,...). This helps to avoid typos.
The Perfect Xen 3.0.1 Setup For Debian
|
title Xen 3.0.1 / XenLinux 2.6.12-xen0 |
to /boot/grub/menu.lst then you should probably use
title Xen 3.0.1 / XenLinux 2.6.12-xen0 |
in that file instead...)
When the Debian installer prompts Choose software to install: I make no selection and go on (dom0 should run as few software as possible in order not to be vulnerable to attacks. To the outside world it will be accessible only over SSH.).
2 Configure dom0's Network
Because the Debian Sarge installer has configured our system to get its network settings via DHCP, we have to change that now because a server should have a static IP address. Edit /etc/network/interfaces and adjust it to your needs (in this example setup I will use the IP address 192.168.0.100):
vi /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) |
Then restart your network:
/etc/init.d/networking restart
Edit /etc/resolv.conf and add some nameservers:
vi /etc/resolv.conf
search server |
Then set dom0's hostname:
echo server1.example.com > /etc/hostname
/bin/hostname -F /etc/hostname
3 Install Xen
There are two ways to install Xen: install the binary package from the Xen website, or compile Xen and the Xen kernels from the sources.
The first way is easier, but it has the disadvantage that the domU kernel that comes with the binary package has no support for quota and iptables, both features that I need in my virtual machines (domU). Plus, the dom0 kernel has no support for the dummy network driver, which might come in handy for more advanced network setups.
In chapter 3.1 I describe how to install the Xen binary package which is recommended for beginners (skip chapter 3.2 and continue with chapter 4). If you need quota and iptables in your virtual machines, then skip chapter 3.1 and continue with chapter 3.2 where I show how to install Xen from the sources.
![]() | Please do not use the comment function to ask for help! If you need help, please use our forum. Comments will be published after administrator approval. |
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning




print: 

Recent comments
14 hours 36 min ago
16 hours 36 min ago
19 hours 48 min ago
22 hours 7 min ago
23 hours 17 min ago
1 day 35 min ago
1 day 4 hours ago
1 day 8 hours ago
1 day 8 hours ago
1 day 23 hours ago