Build a virtual machine environment based on KVM-QEMU under Ubuntu12.10

Source: Internet
Author: User
After several years of development, the virtualization technology based on KVM-QEMU has become more and more mature, RedHat has initially formed a virtualization product based on this. At the same time, other Linux platforms (such as Ubuntu) also have comprehensive support solutions, coupled with the open source features of various supporting software, it is no longer difficult to build an available virtual machine environment based on this technology. This series will use Ubuntu12.10 as the host environment, and experiment how to build the entire environment from the bare system. Since there are already many introductions to KVM-QEMU on the Internet, this technology is no longer

After several years of development, the virtualization technology based on KVM-QEMU has become more and more mature, RedHat has initially formed a virtualization product based on this. At the same time, other Linux platforms (such as Ubuntu) also have comprehensive support solutions, coupled with the open source features of various supporting software, it is no longer difficult to build an available virtual machine environment based on this technology. This series will use Ubuntu 12.10 As the host environment, and experiment how to build the entire environment from a bare system. Since there are already many introductions to KVM-QEMU on the Internet, this technology is no longer introduced.

The following figure shows the general architecture of the entire environment:

The final experiment result is as follows:

1. Create and start a windows virtual machine on the host;

2. The client can connect to the virtual machine through spice-gtk or RDP;

3. USB peripherals can be redirected to the Virtual Machine for use.

Before the official start, there are several notes:

1. the host operating system I selected is Ubuntu 12.10. You can download it from http://www.linuxidc.com/linux/2012-10/72581.htm. if you want to select 64-bit, the 32-bit host will not be available;

2. The host used for the experiment must support virtualization. You can run the following command to test the function:

Cat/proc/cpuinfo | grep vmx or cat/proc/cpuinfo | grep svm

Command to find the flags section. If VMX or SVM is output, it indicates that virtualization technology is supported.

3. You need to enable Virtualization support in the BIOS of the host. Generally, under the "Advanced" menu, choose> "Enabled" or not.

Generally, the environment requirements are met. Of course, it is best to have a CPU above i5, 4 GB memory or above, and several hundred GB hard disks.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.