0% found this document useful (0 votes)
126 views2 pages

KVM Installation Steps

The document outlines 10 steps to install KVM on a Linux system: 1) check for hardware virtualization support, 2) check system architecture, 3) install KVM packages, 4) check kernel changes, 5) verify new users are created, 6) verify KVM installation, 7) install a virtual machine manager, 8) open the virtual machine manager, 9) install QEMU if errors occur, and 10) open the virtual machine manager again to complete the installation. Uninstallation is done with the "apt -get autoremove" command.

Uploaded by

Ahmed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
126 views2 pages

KVM Installation Steps

The document outlines 10 steps to install KVM on a Linux system: 1) check for hardware virtualization support, 2) check system architecture, 3) install KVM packages, 4) check kernel changes, 5) verify new users are created, 6) verify KVM installation, 7) install a virtual machine manager, 8) open the virtual machine manager, 9) install QEMU if errors occur, and 10) open the virtual machine manager again to complete the installation. Uninstallation is done with the "apt -get autoremove" command.

Uploaded by

Ahmed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Installation steps for KVM(Kernel based Virtual Machine):

Step 1: First criteria for a system for creating a kernel based virtual machine , Check whether the
system supports hardware virtualization or not. By implementing the following command:

egrep -c '(vmx|svm)' /proc/cpuinfo

if the output is 0 , then the system doesnot support hardware virtualisation

if the output is 1 or more than 1, then the system supports hardware virtualisation

Step 2: To check the system architecture, give the following command

arch

or

uname -m

if the output is x86_64 then the system has 64 bit kernel

if the output is i386,i486,i586 and i686 represents 32bit kernel

Step 3: install the KVM and its supportive packages, by giving the following command

sudo apt-get install qemu-kvm libvirt-bin bridge-utils

Step 4: check the changes that have been done inside the kernel, user name will occur defaultly after
the execution of the given command

sudo cat /etc/group

Step 5: Execute the following command to see whether the two users have been created

sudo cat /etc/passwd

1. libvirt-qemu
2. libvirt-dnsmasq

Step 6: Verify the installation of KVM by the following command

virsh -c qemu:///system list

Step 7: Install Virtual manager by the following command

sudo apt-get install virt-manager

Step 8: After installation just open the virtual manager by giving the following command

virt-manager

Step 9: If any error thrown , then install the qemu system by the following command
sudo apt-get install qemu-system

Step 10: After installation again open the virtual manager by running the following command

virt-manager

To uninstall the KVM use the following command:

apt -get autoremove

You might also like