首页 > 代码库 > Ubuntu14.04 x86_64 install Xen

Ubuntu14.04 x86_64 install Xen

Recommended reference:

https://help.ubuntu.com/community/Xen

 

Step One: Install Ubuntu14.04 on your computer

Step Two: Install Xen using “sudo apt-get install xen-hypervisor” which will automatically choose suitable version of Xen. If you do this on a 32-bits Ubuntu OS, it can only get amd64-version too. So it is recommended to install a 64-bits Ubuntu. Also you need to install some tool:”sudo apt-get install virtinst virt-viewer virt-manager ”

Step Three: Since version 3 or so, Linux kernel supports Xen, and it can configure boot menu when installing Xen. So what we do next is to reboot our operating system. After that, you can verify Xen is actually installed using “sudo xl list”. If you can see “Domain-0”, it means everything goes well.

Step Four: Network Configuration. It is easily neglected.

sudo stop network-manager

sudo gedit /etc/network/interfaces

Edit /etc/network/interfaces, and make it look like this:

wpsD9D0.tmp

sudo start network-manager

sudo ifdown eth0 && sudo ifup xenbr0 && sudo ifup eth0

 

Step Five: To skip the installation of guest, I get an image of Ubuntu 10.04 OS from http://jailtime.org/, unzip it and modify the file path in the configuration file.

wpsDA12.tmp

Then we can create a guest virtual machine

wpsDA23.tmp

wpsDA33.tmp

and we can log in

 

wpsDA75.tmp

check it over in Domain-0

wpsDA86.tmp

ask the guest to shutdown

wpsDA96.tmp

Ubuntu14.04 x86_64 install Xen