CentOS可以用的RPM方式安装Xen
步骤:
1、yum install dev86 SDL SDL-devel
2、cd /etc/yum.repos.d/
3、wget http://www.gitco.de/repo/GITCO-XEN4.1.1_x86_64.repo
4、yum install xen-libs kernel-xen xen kernel-xen-devel virt-manager bridge-utils libvirt libvirt-Python python-virtinst
5、vi /boot/grub/menu.lst 把 default=1 改为 default=0
6、reboot
网址:http://www.gitco.de/repo/
这里有外国的人专门制作的在CentOS下运行的xen rpm包!
__ __ _____ _ _
\ \/ /___ _ __ |___ / / | || |
\ // _ \ '_ \ |_ \ / | || |_
/ \ __/ | | | ___) | / |__ _|
/_/\_\___|_| |_| |____| / |_|
- These XEN-RPMS are for CentOS-5/RHEL-5 (x86_64)
- They have been built from the sources of http://www.xen.org
- It's only the hypervisor, no changes on the kernel !!!
IMPORTANT: I cannot ensure the stability of these packages,
so feel free, if you deploy them on a production environment !
xen3.4.3 (x86_64) => stable
xen4.1.0 (x86_64) => stable (in some cases, you need the kernel parameter pci=nomsi)
xen4.1.1 (x86_64) => stable (in some cases, you need the kernel parameter pci=nomsi)
Note: Before you upgrade to CentOS 5.6
--------------------------------------
#> rpm -e --nodeps libvirt-client
#> yum update
--------------------------------------