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).
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
gateway 192.168.0.1 Note:
IP addresses given above should be replaced with actual IPs of your network and eth0
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.