Difference between revisions of "Installing KVM on CentOS 5.5"

From Notes_Wiki
m
m
 
Line 1: Line 1:
<yambe:breadcrumb self="Installing KVM on CentOS 5.5">KVM|KVM</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Virtualization tools]] > [[KVM]] > [[Installing KVM on CentOS 5.5]]
=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 20: 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:

  1. Check for CPU flags 'vmx' or 'svm' based on whether processor is intel or amd.
  2. Use 'yum remove kvm-qemu-img'
  3. Use 'yum install kvm qemu virt-manager virt-viewer'
  4. Reboot and boot into non-xen kernel. Even if you are already booted into non-xen kernel, still reboot is required.
  5. Use 'modprobe kvm-intel' or 'modprobe kvm-amd' again based on processor.
  6. Use 'service libvirtd on ' and 'chkconfig libvirtd on'
  7. Add your user to kvm group using syntax 'usermod -G kvm -a <username>'
  8. Start virt-manager
  9. 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