Install KVM on centos6

Source: Internet
Author: User
Tags svm

Install KVM on centos6

Confirm your machine supports Virtualization

# Egrep 'vmx | svm '/proc/cpuinfoflags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat limit 36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm limit pebs bts rep_good limit pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid

You can find vmx or svm from the cpu instruction set to support virtualization. Then you need to enter the BIOS to open an account for CPU virtualization support, and then you can install kvm.

Yum-y install qemu-kvm libvirt python-stronginst bridge-utils

/Etc/init. d/lib1_d start

Install graphical management tools

Virt-manager

Then you can use VNC or other graphic management tools to manage kvm through graphics.

Configure VNCserver

Vnc also requires support from the desktop environment. First, ensure that the desktop environment, such as GNOME or KDE, is installed. If not, run the following command to install

Yum groupinstall Desktop-yyum install fontforge-y

Install vncserver

Yum install tigervnc-server tigervnc

Run the vncserver command

Vncserver

Enter the password.

Connect to vnc through client tools

Select Virtual Machine Management

Then you can install the Virtual Machine graphically. The installation is very simple.

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.