Posts

Showing posts from November, 2020

How to install KVM on Ubuntu Server 20.04 LTS ?

Image
KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, kvm-intel.ko or kvm-amd.ko. Run the below command to check whether the system supports virtualization:     # egrep -c  '(vmx|svm)' /proc/cpuinfo       16 If the above count is non zero, that indicates that system supports virtualization. Install 'cpu-checker' to make sure that your system is supported for KVM based virtualization.     # apt-get install cpu-checker -y Install all required package to configure KVM:     # apt-get install -y qemu qemu-kvm libvirt-daemon libvirt-clients bridge-utils virt-manager qemu-kvm: A software that provides hardware emulation for the kvm hypervisor. libvirt-daemon: A virtualization daemon that manages the lifecycle of the vm. bridge-utils: This is u