Use KVM + Qemu to build a virtual machine in Ubuntu

Source: Internet
Author: User
Use KVM + Qemu in Ubuntu to build a virtual machine. 1. Check whether the cpu is supported and output vmx. In the virtual machine to run the words remember to IntelVT technology to the option to check grepvmx/proc/cpuinfo2, install kvm, qemuapt-getinstallkvmqemulibvirt-binvirtinstvirt-managervirt-viewer3, check whether kvm installation is successful

Use KVM + Qemu to build a virtual machine in Ubuntu

1. Check whether the cpu is supported and output vmx. In the virtual machine, remember to check the IntelVT technology to the options

Grep vmx/proc/cpuinfo

2. Install kvm and qemu

Apt-get install kvm qemu libvirt-bin restart inst virt-manager virt-viewer

3. Check whether kvm is successfully installed.

Virsh-c qemu: // system list

4. Run the qemu-img command to create a virtual disk.

Qemu-img create-f qcow2 ubuntu. img 10G

5. Install the system

-Qemu-system-x86_64-hda/opt/kvm/ubuntu1204.img

-Cdrom/opt/kvm/ubuntu-12.04-server-amd64.iso-boot d-m 1024

6. Start the virtual machine. In fact, you can download ubuntu to img, so you don't have to reinstall the device. Ubuntu has made a lot of efforts in cloud computing.

Qemu-system-x86_64 ubuntu. img-m 1024

-------------------------------------- Split line --------------------------------------

Http://www.linuxidc.com/Linux/2013-02/80067.htm of Hard Disk adding method for Linux Virtual Machine in KVM

Linux getting started Course: KVM http://www.linuxidc.com/Linux/2015-03/114462.htm for Virtual Machine experience

RHEL6 KVM virtualization creates bridging NICs-bridge http://www.linuxidc.com/Linux/2013-08/88517.htm

RedHat Linux KVM Virtual Machine bridging http://www.linuxidc.com/Linux/2013-02/79934.htm

KVM installation/bridging settings/virtual machine creation and running http://www.linuxidc.com/Linux/2012-12/76883.htm under CentOS 5.6

The/bin/qemu-KVM problem cannot be found while installing kvm Virtual Machine with libvirt in Ubuntu

Install and configure the KVM Virtual Machine http://www.linuxidc.com/Linux/2014-10/107972.htm in RedHat6.5

-------------------------------------- Split line --------------------------------------

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

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-10/123796.htm

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.