Installing KVM on CentOS 5.5
From Notes_Wiki
Home > CentOS > CentOS 6.x > Virtualization tools > KVM > Installing KVM on CentOS 5.5
KVM can be installed on CentOS 5.5 using following steps:
- Check for CPU flags 'vmx' or 'svm' based on whether processor is intel or amd.
- Use 'yum remove kvm-qemu-img'
- Use 'yum install kvm qemu virt-manager virt-viewer'
- Reboot and boot into non-xen kernel. Even if you are already booted into non-xen kernel, still reboot is required.
- Use 'modprobe kvm-intel' or 'modprobe kvm-amd' again based on processor.
- Use 'service libvirtd on ' and 'chkconfig libvirtd on'
- Add your user to kvm group using syntax 'usermod -G kvm -a <username>'
- Start virt-manager
- Add connection to localhost using qemu.
Note:
- You might have to create networks using virsh like default and setup bridges before you can create VMs.
Detailed steps have been taken from http://www.banym.de/projects/centos-fedora/install-kvm-on-centos
This way both KVM and Xen can be used based on which kernel is used to boot the system.
Home > CentOS > CentOS 6.x > Virtualization tools > KVM > Installing KVM on CentOS 5.5