ubuntu14.04 Installing KVM

Source: Internet
Author: User
Tags svm egrep

Installation Environment ubuntu14.04

First, install the KVM
1. Detect if the server supports VT
Egrep-o "(VMX|SVM)"/proc/cpuinfo
If supported, the output is as follows:
[Email protected]:~$ egrep-o "(VMX|SVM)"/proc/cpuinfo
Vmx
Vmx
Vmx
Vmx

2. Start Installing KVM
[Email protected]:~$ sudo apt-get install QEMU-KVM ubuntu-vm-builder bridge-utils

3. Enable the KVM kernel module (normally, these 3 commands execute successfully and do not have any output)
[Email protected]:~$ sudo modprobe KVM
[Email protected]:~$ sudo modprobe kvm_intel
[Email protected]:~$ sudo modprobe kvm_amd
K ' VM
4. Detect if KVM is installed successfully
[Email protected]:~$ Kvm-ok
INFO:/DEV/KVM exists
KVM acceleration can used

5. Add user root to KVM Group
[Email protected]:~$ sudo adduser root KVM

Second, installation Libvirt
1. Apt-get-y Install Libvirt-bin qemu virt-manager

2. Start Libvirt Service
Service LIBVIRTD Restart

3. View the list of existing KVM virtual machines
Virsh List--all

4. Open Virt-manager Management interface
Virt-manager

This article is from the "Fa&it-Q Group: 223843163" blog, please be sure to keep this source http://freshair.blog.51cto.com/8272891/1877681

ubuntu14.04 Installing KVM

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.