Xen Installation

Depending on your distribution, Debian Etch or Ubuntu 7.10, there is some different version of package that needs to be install on your system to enable Xen :

# apt-get install xen-linux-system-2.6.18-5-xen-686
# apt-get install libc6-xen
# apt-get install bridge-utils
# apt-get install xen-hypervisor-3.0.3-1-i386
# apt-get install xen-utils-3.0.3-1

The reste of the procedure apply to Debien Etch, as well as Ubuntu 7.10.
So, next you now need to reboot to the new xen kernel to be able to do some virtualization. So, let's do that.
# reboot;

To get [xen] working, I always edit a file, to use only bridge network as it seems easier. At this moment, I still didn't try any other kind of network for [xen]. I advice it to you, as it make things easy.
Let's first stop the xen daemon process :

# xend stop

Then, edit the config file :


and you have to change probably two line. This first one :

(network-script network-dummy)

have to be disabled, so let's add a #1 in front of it, like that :

# (network-script network-dummy)

And the second one :

# (network-script network-bridge)

have to be enabled, so let's remove the # in front of it, like that :

(network-script network-bridge)

Then simply start the xen daemon again, like that he will be aware of the new settings :

# xend start

You can now start a vm.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License