Install KVM_KVM in Ubuntu Kylin virtual machine

Source: Internet
Author: User
Tags gtk svm

1. Determine if the physical machine CPU supports virtualization

See Method 1: Computer-> Properties-> Processor (Inter (R) Core (TM) i5-2450m), and then go online to see if your computer's CPU supports virtualization,

Address http://ark.intel.com/zh-cn/find information about your CPU, whether virtualization technology is displayed as Yes, or no to use virtualization technology.

After determining CPU support virtualization, to turn on virtualization in the BIOS, my CPU is Intel, and the BIOS is this: select Security, and then enter the virtualization item,

Set the items to enable, save exit.

2. If the VMware virtual machine, you need to open the virtualization engine, preferred mode inter vt-x/ept or Adm-v/rvi, the following three are selected

3. Then check in Ubuntu for support

To view with commands:

Egrep-o ' (VMX|SVM) '/proc/cpuinfo

If there is a result output, OK. Wherein, VMX corresponds to the INTEL,SVM corresponding to AMD

4. Install the related software package

$ sudo apt-get install QEMU-KVM qemu-system libvirt-bin bridge-utils
(1) libvirt-bin provides LIBVIRTD which you need t o Administer QEMU and KVM instances using Libvirt
(2) QEMU-KVM is the virtual machine (QEMU is the backend)
(3) Bridge-utils for network bridging (p Rovides a bridge from your network to the virtual machines)
sudo apt-get install Virt-manager PYTHON-SPICE-CLIENT-GTK

Where: Virt-manager for virtual Machine hypervisor (run in X window, need to use PYTHON-SPICE-CLIENT-GTK)

5. Verify that the KVM is installed successfully, the following output is successful.

To see if the KVM kernel module has been loaded

6. Use

(1) First use, not too familiar with, or to install an X window, using a graphical interface is easier to operate (it is recommended that beginners do)

sudo apt-get install xserver-xorg 
sudo apt-get install x-window-system-core 
sudo dpkg-reconfigure xserver-xorg 
sudo apt-get install gnome-core 
sudo apt-get install GDM xscreensaver

(2) in Xwin, open a command line window, and enter the following command to start the Virtual machine management program

sudovirt-manager

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.