Creating Linux virtual machines with KVM

by | Apr 1, 2015

ETIQUETAS: KVM-en | Linux-en | Tips

In our post today we explain how to deploy and create KVM virtual machines under Red Hat based distros, such as RHEL, CentOS7 and Fedora 21.

First of all, you should make sure that the system has the necessary hardware virtualization extensions or that such extensions are enabled in the BIOS and that the KVM modules are loaded in the kernel.

Then, you should install packages qemu-kvm and qemu-img. These packages provide the disk image manager and the KVM user level.

Next, you must install the tools to administer the platform:

virt-manager provides a GUI tool to administer virtual machines.

libvirt-client provides a CL tool called virsh to administer virtual environment.

virt-install provides the command “virt-install” to create virtual machines from CLI.

libvirt provides the server and host side libraries for interacting with hypervisors and host systems.

The next step is to restart libvirtd virtualization daemon, which manages the entire platform and check its status.

To create the virtual machines, we recommend the use of virt-manager. Check the whole process with screenshots in the original article by



Submit a Comment

Your email address will not be published. Required fields are marked *

Recent posts

VDI: The most secure environment for hybrid working

Today is Data Privacy Day. The purpose of this date is to raise awareness and promote privacy and data protection best practices. It was initiated by the European Commission, the Council of Europe, and the Data Protection authorities of the European Union’s member states. Their main goal was to drive attention to the importance of privacy, user data protection, and compliance of the General Data Protection Regulation (RGPD). It is a regulation characterized by significant fines for non-compliance since its implementation in 2018.

How to avoid issues with virtual machines

Virtualization comes with a wide range of benefits for organizations. It helps cut IT costs and reduces downtime while increasing efficiency and productivity. It also increases the resiliency of networks, primarily when disasters occur, and promotes more green-friendly operations.

However, using virtual machines also comes with a set of downsides. Information security may get compromised, workloads mixed up, separation duties lost, among other issues. It is vital to know how you can get over these problems, and that’s what this article will discuss.

Let’s get started.


Stay up to date with all the news from UDS ENTERPRISE through our social networks. Follow us!

Skip to content