Locked[FAQ]KVM Hypervisor Installation and Configuration

HC Staff
HC Staff
2015/03/06 06:02:27 (permalink)

KVM Hypervisor Installation and Configuration

KVM (Kernel-based Virtual Machine) is a full virtualization solution for Linux. It acts as a hypervisor allowing the creation of both Windows and Linux Virtual Machines (V.M).

Recommended OS:

Debian 6,7 x64


Prior to installing, the entries in the attached file sources.txt should be copied at /etc/apt/sources.list
Once done the following commands should be executed:
  • apt-get update
  • apt-get install bridge-utils
  • apt-get install kvm
  • apt-get install libvirt-bin
  • apt-get install kpartx
  • apt-get install virt-manager
Replace the following entries in vi /etc/network/interfaces

auto lo br0
iface lo inet loopback
iface br0 inet static
bridge_ports eth0
Note:  Sample IP addresses given above should be replaced with actual IPs of your network and eth0 with the machine network card name holding those IPs.

Then reboot the machine. 

The command to check the Virtual Machine in KVM is virsh list, and if you are using Linux Desktop GUI then you can see virtual machine management interface using command virt-manager
That’s it. KVM is now ready to provision Virtual Machines via HC.

0 Replies Related Threads

    Jump to: