Installing KVM under CentOS 6.5-x86-64

Source: Internet
Author: User
Tags kvm hypervisor

1. Installing a KVM virtual machine

# yum install-y KVM virt-* libvirts bridge-utils qemu-img

Package Name Description:

KVM: The package contains a KVM kernel module that provides the KVM hypervisor in the default Linux kernel

Libvirts: Installing virtual machine management tools, using commands such as Virsh to manage and control virtual machines
Bridge-utils: Setting up network card bridging
virt-*: Create, clone virtual machine commands, use the QEMU command to create disks, and so on.
QEMU-IMG: Installs the QEMU component, uses the QEMU command to create the disk, and so on.

2 . Modify the VNC server configuration file

# vim/etc/libvirt/qemu.conf
Remove the # comment in front of vnc_listen = "0.0.0.0"

Problems:

Error when starting KVM Service: Version Base not defined in file libdevmapper.so.1.02 with link time reference

The phenomenon is as follows:

#/ETC/INIT.D/LIBVIRTD Start
Starting LIBVIRTD daemon:libvirtd:relocation Error:libvirtd:symbol Dm_task_get_info_with_deferred_remove, version Base not defined on file libdevmapper.so.1.02 with link time reference [FAILED]

Workaround:

# Yum Upgrade Device-mapper-libs





Installing KVM under CentOS 6.5-x86-64

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.