0% found this document useful (0 votes)
41 views

15.2 Using Virtualized Systems

The document discusses Linux virtualization using solutions like KVM, QEMU, VirtualBox and VMware. It defines key virtualization concepts like the guest OS, host OS, hypervisor and virtual machines. It provides details on KVM as a full virtualization solution for Linux, allowing multiple virtual machines to run unmodified Linux or Windows images. It also discusses libvirt for managing virtualization technologies and virsh as a command line tool for managing guests and the hypervisor. Finally, it outlines how to install and use the graphical virtualization management tool Virt Manager.

Uploaded by

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

15.2 Using Virtualized Systems

The document discusses Linux virtualization using solutions like KVM, QEMU, VirtualBox and VMware. It defines key virtualization concepts like the guest OS, host OS, hypervisor and virtual machines. It provides details on KVM as a full virtualization solution for Linux, allowing multiple virtual machines to run unmodified Linux or Windows images. It also discusses libvirt for managing virtualization technologies and virsh as a command line tool for managing guests and the hypervisor. Finally, it outlines how to install and use the graphical virtualization management tool Virt Manager.

Uploaded by

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

Using Virtualized Systems:

Linux Virtualization refers to running one or more virtual machines on a physical computer
that's operated by the Linux operating system. Popular Linux virtualization solutions include
KVM, QEMU, VirtualBox and VMware.

Virtualization:
Virtualization is a concept to simulate software and hardware virtually so that we can use
system resources effectively. The main reason people are moving to virtualization is effective
utilization of resources. To use these resources effectively the concept of Virtualization came in
to existence. With the help of Virtualization, we can simulate entire HW and pretend to OS that
all the hardware it sees exists. With virtualization, we can simulate each and every hardware.

KVM (Kernel-Based Virtual Machine):


KVM (Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware
containing virtualization extensions Intel VT or AMD-V. Using KVM, one can run multiple Virtual
Machines running unmodified Linux or Windows images. Each virtual machine has private
virtualized hardware: A Network Card, Disk, Graphics Adapter, etc. KVM (Kernel Virtual
Machine) is an inbuilt virtualization software available in Linux.
Virtualization Terminologies:
Guest OS:
The Guest OS, also referred to as the child, is where the VM is accessed. Guest OS is the OS you
are going to install on a Virtual Machine which guest to the Host OS. You can install number of
guest Operating systems on a Host Machine.
Host OS:
The Host OS, also referred to as the parent, is where the physical hardware and software is
installed. This is the OS where you are going to install your hypervisor software like KVM and
Virtual Manager etc.
Hypervisor:
The Hypervisor is essentially a small operating system that enables virtualization. KVM, VMware
ESX and Xen are some examples of Hypervisors.
Virtual Machine:
Virtual Machine is a virtual hardware allocated by Hypervisor for installing Guest OS on it so
that it can run as separate machine.
Libvirt:
libvirt is an open-source daemon and management tool for managing platform virtualization. It
can be used to manage KVM, QEMU and other virtualization technologies. This is a building
block to KVM.
Virsh (Virtualization Shell):
Virsh is a command line interface tool for managing guests and the hypervisor directly from
Host OS terminal.

1 | P a g e Created by Ahmad Ali E-Mail: [email protected] , Mobile# +966-564303717


Commands Description
# cat /proc/cpuinfo CPU supports Hardware Virtualization
Result either vmx for intel or svm for AMD
# yum install qemu-kvm Install KVM and its associate packages
# yum qemu-img virt-manager libvirt
# yum libvirt-python libvirt-client
# yum virt-install virt-viewer bridge-utils
# systemctl start libvirtd Start the libvirtd services
# systemctl enable libvirtd Enable the libvirtd services
# systemctl status libvirtd Check libvirtd status
# lsmod | grep kvm Check if the KVM module is available
# virt-manager Start the graphical tool Virt Manager OR
Applications> System Tools> Virtual Machine Start graphically from Application menu
Manager
# virsh list List all running virtual machines
# virsh list --all List all virtual machines
# virsh destroy VM-Name stop the machine named VM-Name
# virsh start VM-Name start the machine named VM-Name

Virt Manager:
Virt Manager is a Graphical tool through which we can install and manage virtual machines. To
start the Virt Manager type the “virt-manager “command from the terminal. OR
Go to Applications> System Tools> Virtual Machine Manager

2 | P a g e Created by Ahmad Ali E-Mail: [email protected] , Mobile# +966-564303717


Start the Virtual Machine Manager

Click on first menu icon to “Create new virtual machine”

In the next step Specify the path of ISO file. Click on Forward. Specify the Compute Resources:
RAM and CPU as per your setup. Click on Forward to proceed further. Specify the storage Size
of Virtual Machine. In the Next Step Specify the Name of Virtual Machine and select network as
‘Bridge bro’. Click on Finish to start the installation. Follow the screen instructions and complete
the installation.

3 | P a g e Created by Ahmad Ali E-Mail: [email protected] , Mobile# +966-564303717

You might also like