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