Vous êtes sur la page 1sur 3

KVM virtualization: Install KVM hypervisor in Redhat/CentOS/Fedora Linux? http://www.linuxnix.com/2013/02/kvm-virtualization-install-kvm-hypervi...

The Linux Juggernaut


Rolls on..!

HOME

ADMINISTRATION

FREE E-BOOK SCRIPTING

BASICS INTERVIEWS

CLUSTERS SERVERS

DATABASE

SECURITY

VIRTUALIZATION

MONITORING

Feb 9, 2013

KVM virtualization: Install KVM hypervisor in Redhat/CentOS/Fedora Linux?


In our previous post we seen how to install KVM hypervisor on Ubuntu/Debian machines. In this post we will see how to install KVM hypervisor in Redhat/Fedora/CentOS based Linux OS and use it to the maximum with commands as well as GUI tools. Till this point we seen some basics KVM stuff such as. Unix Server KVM Linux Hyper V

SUBSCRIBE FOR FREE..!

What is Virtualization in Linux way? Types of Virtualization available in Linux/Unix Advantages of Virtualization What is KVM virtualization in Linux? KVM Virtualization: Find Hardware support KVM/VMware ESXi or not? Let us start with KVM hypervisor in Redhat/Fedora/CentOS Linux operating system. Step1: Before installing KVM(Kernel Virtual machine) hypervisor we have check if our hardware support or not. Click here to know if your hardware support KVM or not. Step2: If the hardware supports, install KVM virtualization with following command as a normal user. sudo yum install qemu-kvm virt-install virt-manager libvirt*
FOLLOW ME:

TOP POSTS How to check a service is running or not in Linux? What is SUID and how to set SUID in Linux/Unix? What is a sticky Bit and how to set it in Linux?

What actually the above packages do? virt-manager: Virtual Machine Manager provides a graphical tool for administering virtual machines for KVM, Xen, and QEmu. Start, stop, add or remove virtual devices, connect to a graphical or serial console, and see resource usage statistics for existing VMs on local or remote machines. Uses libvirt as the back-end management API. We can use this virt-manager to connect to remote KVM Hypervisors too. This is similar to VMware vCenter server where we can manage multiple VMware ESXi/ESX servers from single point. We can even clone/migrate from one hypervisor to other without much issues.

How to mount a remote directory in Linux using sshfs 25+ Awesome Linux/Unix command chaining examples Linux TOP command explained Basic linux commands interview questions How To Install Apache Tomcat on Linux(Redhat/Ubuntu)? Equivalent Tool For WINscp in Linux

qemu-kvm: Core KVM package for managing VMs through /dev/kvm file for interacting with direct hardware. This package contains KVM, libvirt-bin etc. libvirt*: This proves us useful command line tool called virsh which is text-based tool to manage virtual machines.
Advertise PAGES About me

Step3: Check if libvirtd service is started or not.

Contribute

Print to PDF without this message by purchasing novaPDF (http://www.novapdf.com/) 1 of 3

6/9/2013 5:36 PM

KVM virtualization: Install KVM hypervisor in Redhat/CentOS/Fedora Linux? http://www.linuxnix.com/2013/02/kvm-virtualization-install-kvm-hypervi...

ps -ef | grep libvirtd Step4(optional step): If libvirtd service is not at started use below command -d option so that it will start as daemon. sudo service libvirtd start sudo chkconfig libvirtd on Step5: Once the service is started we can run virt-manager command to start virtual machine manager as a normal user. It will ask for root password, provide it. virt-manager

Get your free e-book today Testimonials

ABOUT ME..!

My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.

Once if you see virtual machine manager without any error that shows KVM hypervisor installed successfully. Please stay tuned to our next post on how to install VMs on the KVM hypervisor.
Share this:

Related posts:
1. KVM virtualization: Install KVM hypervisor in Ubuntu/Debian Linux? 2. KVM virtualization: Install Redhat/CentOS/Fedora as Guest OS in KVM hypervisor? 3. KVM virtualization: Install Ubuntu Linux as Guest OS in KVM hypervisor? 4. What is KVM virtualization in Linux? 5. KVM: Connect to a virtual machine(SSH, VNC, Console, virt-viewer etc)

Print to PDF without this message by purchasing novaPDF (http://www.novapdf.com/) 2 of 3

6/9/2013 5:36 PM

KVM virtualization: Install KVM hypervisor in Redhat/CentOS/Fedora Linux? http://www.linuxnix.com/2013/02/kvm-virtualization-install-kvm-hypervi...

KVM virtualization: Install KVM hypervisor in Ubuntu/Debian Linux?

KVM virtualization: Install Ubuntu Linux as Guest OS in KVM hypervisor?

One Comment
JAHIRUL ISLAM RHCE,MCITP,HP
FEB 10, 2013 @ 11:39

REPLY

A lot thanks this kind of documents share freely

Leave a Reply

THE LINUX JUGGERNAUT


The Linux Juggernaut 2013 Thanks to My Buddy Surya Telaprolu for customizing this blog

Print to PDF without this message by purchasing novaPDF (http://www.novapdf.com/) 3 of 3

6/9/2013 5:36 PM