编译安装xen hypervisor

钮出野
2023-12-01
下载xen源码 
wget http://bits.xensource.com/oss-xen/release/4.1.2/xen-4.1.2.tar.gz
 
安装必备软件包

yum groupinstall "Development Libraries"
yum groupinstall "Development Tools"
yum install transfig wget texi2html libaio-devel dev86 glibc-devel e2fsprogs-devel gitk mkinitrd iasl xz-devel bzip2-devel pciutils-libs pciutils-devel SDL-devel libX11-devel gtk2-devel bridge-utils PyXML qemu-common qemu-img mercurial libidn-devel
yum -y install glibc-devel.i686texinfo libuuid-devel iasl python-lxml
yum -y install openssl openssl-devel
yum -y install ncurses ncurses-*
yum install python-devel -y
 
编译安装xen hypervisor

tar zxvf xen-4.1.2.tar.gz
 
make world
make install
 
/boot下多了xen-4.1.2.gz和xen-syms-4.1.2文件
 
将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
 
编译安装Linux3.1.2内核

 类似资料: