Posted in Cloud, Linux

Quick Steps for install KVM hypervisor

This post describe quick steps to install KVM hypervisor on CentOS7. KVM (Kernel based Virtual Machine) is opensource hypervisor, lightweight and works/fits well into cloud.

For your personal lab you can use KVM hypervisor layer and utilize hardware for creation of multiple VMs. KVM support both linux and windows based VMs.

Check whether system CPU supports Hardware Virtualization. #grep -E ‘{vmx|svm}’ /proc/cpuinfo

if you get vmx or svm in output then you are good to go ahead otherwise your CPU doesn’t support virtualization.

Install KVM and depended packages.

#yum install qemu-kvm qemu-img libvirt libvirt-python libvirt-client virt-install virt-viewer -y

11121314

• qemu-kvm = QEMU emulator
• qemu-img = QEMU disk image manager
• virt-install = Command line tool to create virtual machines.
• libvirt = Provides libvirtd daemon that manages virtual machines and controls hypervisor.
• libvirt-client = provides client-side API’s for accessing servers and also provides virsh utility which provides command line tool to manage virtual machines.
• virt-viewer – Graphical console

Your KVM hypervisor is ready for action now.

 

Advertisements

Author:

I have created this blog to share my learning from IT world. Hope you find it useful in your day to day work. Feel free to send me your feedback about my blog.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.