ubuntu下配置Xen虚拟机

1.安装需要的软件包

sudo apt-get install build-essential binutils python-dev libncurses5-dev  
libcurl4-openssl-dev xorg-dev uuid-dev bridge-utils bison flex udev 
gettext bin86  bcc  iasl libgcrypt11-dev   libssl-dev pciutils libglib2.0-dev 
 gcc-multilib texinfo zlib1g-dev

sudo apt-get install gcc g++ make patch libssl-dev bzip2 gettext 
zlib1g-dev python libncurses5-dev libjpeg62-dev libx11-dev 
libgcrypt11-dev pkg-config bridge-utils bcc bin86 libpci-dev 
libsdl-dev python-dev texinfo libc6-dev uuid-dev bison flex fakeroot 
build-essential crash kexec-tools makedumpfile libncurses5 
libncurses5-dev iasl gawk

 

2.安装xen vmm

sudo apt-get install linux-image-server

sudo apt-get install xen-hypervisor-4.4-amd64 xen-utils-4.4 xenwatch xen-tools xen-utils-common xenstore-utils

 

3.安装libvirt和Virtual Manager

sudo apt-get install virtinst python-libvirt virt-viewer virt-manager

 

4.重新启动,

在终端输入 sudo xl list。若能显示出Domain-0,说明安装成功

在终端输入 sudo virsh version 。若能显示出版本号,说明安装成功

 

5.在终端输入sudo virt-manager进入GUI管理界面

剩下的就和VMWare之类的虚拟机一样了~

 

 

Reference:http://alexrenguoly.blog.163.com/blog/static/120505597201291822157650/

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。