xen虚拟化环境安装
1. 操作系统安装
OEL下载地址大全: http://koumm.blog.51cto.com/703525/1283801
# uname -a
Linux localhost 2.6.39-400.215.10.el5uek #1 SMP Tue Sep 9 22:51:46 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
2. 配置yum源
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-el5.repo
# vi public-yum-el5.repo
将enable改为1
3. yum安装xen
# yum install kernel-xen xen-libs xen virt-viewer
4. 修改启动列表,使用运行xen的内核启动系统
# vi /boot/grub/grub.conf
将default改为0
5. reboot 进入xen组件的内核
# uname -a
Linux localhost 2.6.18-406.0.0.0.1.el5xen #1 SMP Tue Jun 2 10:37:34 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
查看xen情况
# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0