1.从官网下载xen4.1.3源码包
2.编译安装xen hypervisor
tar zxf xen-4.1.3.tar.gz
cd xen-4.1.3/
make xen tools stubdom
此处可能会遇到以下问题:
yum install zlib-devel -y
yum -y install libuuid-devel
yum -y intall openssl openssl-devel libX11-devel
yum -y intall ncurses ncurses-devel
yum -y intall dev86
yum -y intall iasl
yum -y intall wget
yum -y intall texinfo
make install-xen install-tools install-stubdom
3.将Xen加入到启动脚本:
/sbin/chkconfig --add xend
/sbin/chkconfig --add xencommons /sbin/chkconfig --add xendomains /sbin/chkconfig xend on /sbin/chkconfig xendomains on /sbin/chkconfig xencommons on参考资料:
http://www.vpsee.com/2010/04/install-xen-on-centos-from-source/
http://www.centoscn.com/image-text/install/2014/0804/3410.html
http://www.server110.com/xen/201403/8382.html