码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu14.04 x86_64 install Xen

时间:2014-10-14 23:02:59      阅读:328      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   io   os   ar   strong   sp   2014   

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:

bubuko.com,布布扣

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.

bubuko.com,布布扣

Then we can create a guest virtual machine

bubuko.com,布布扣

bubuko.com,布布扣

and we can log in

 

bubuko.com,布布扣

check it over in Domain-0

bubuko.com,布布扣

ask the guest to shutdown

bubuko.com,布布扣

Ubuntu14.04 x86_64 install Xen

标签:style   blog   http   io   os   ar   strong   sp   2014   

原文地址:http://www.cnblogs.com/manhua/p/4025162.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!