Difference between revisions of "Installing KVM on CentOS 5.5"
From Notes_Wiki
(Created page with "=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 ...") |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Main Page|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: | KVM can be installed on CentOS 5.5 using following steps: | ||
Line 19: | Line 19: | ||
This way both KVM and Xen can be used based on which kernel is used to boot the system. | This way both KVM and Xen can be used based on which kernel is used to boot the system. | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Virtualization tools]] > [[KVM]] > [[Installing KVM on CentOS 5.5]] |
Latest revision as of 13:18, 24 August 2022
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