Ubuntu12.04 Installation KVM Profile

Source: Internet
Author: User
Tags svm

1. Introduction

Kernel-based virtual machine is an Open-source system virtualization module that has been integrated into Linux's major distributions since Linux 2.6.20. It uses Linux's own scheduler for management, so its core source is very small relative to Xen. KVM has now become one of the mainstream VMM in academia.
KVM Virtualization requires hardware support (such as Intel VT Technology or AMD V technology). is hardware-based full virtualization. Xen was based on software emulation Para-virtualization, and the new version was full virtualization based on hardware support.


2, check whether the machine supports virtual machines

Terminal input command: grep vmx/proc/cpuinfo (Intel Chip)
grep Svm/proc/cpuinfo (AMD Chip)
Do not know the chip manufacturer then input: Egrep ' (VMX|SVM) '/proc/cpuinfo
If Flags: There are VMX or SVM to support VT, if there is no output, indicating that your CPU does not support, you will not be able to successfully install the KVM virtual machine.


3, installation

The installation commands are as follows:

Apt-get Install Ubuntu-virt-server Python-vm-builder kvm-ipxe


Add the current user to the KVM and LIBVIRTD group

AddUser ' Id-un ' LIBVIRTD
AddUser ' Id-un ' KVM


Run the following command to check that the KVM is installed successfully.

root@kvmhost:~# virsh-c Qemu:///system List
Id Name State
----------------------------------
No error message. Installation is no problem.



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.