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