Build a KVM Environment--07 install KVM graphical Interface management tool on Linux with GUI

Source: Internet
Author: User

Empty the Yum source cache and view the Yun source

[Email protected] ~]#YumClean allloaded plugins:fastestmirror, langpackscleaning repos:vcdcleaning up everythingcleaning up list of fastest Mirrors[[email protected]~]#Yumrepolist Loaded Plugins:fastestmirror, LANGPACKSVCD |3.6Kbxx:xx:xx     (1/2): Vcd/group_gz |155Kbxx:xx:xx     (2/2): vcd/primary_db |2.8MBxx:xx:xxDetermining fastest MirrorsrepoIDRepo name STATUSVCD Local-vcd3,723repolist:3,723[[Email protected]~]#

The tool is not found on the virtual machine until the KVM GUI management tool is installed

Installing the Software

Yum Install QEMU-KVM qemu-kvm-tools virt-manager libvirt virt-Install openssh-askpass-y

Copy the WinXP ISO to the machine

SCP 192.168. 80.114:/opt/[email protected]192.168. 80.114 '  Win-xp.iso  

Because the disk format is QCOW2, it does not immediately allocate 40G that big

Installation Step reference: Build a KVM environment--06 create a virtual machine

This kind of installation is not afraid of restarting, after restarting without modifying the configuration file.

Using the graphical interface installation method, the virtual machine disk files are located:

[Email protected] ~]# cd/var/lib/libvirt/images/lswinxp.qcow2

Test the CentOS virtual machine disk on the 113 virtual machine to 114

SCP centos-7.2192.168. 80.114:/var/lib/libvirt/images/[email protected]192.168. 80.114 '  centos-7.2-x86_64.raw   

114 on the virtual machine disk file

LSlsCentOS-7.2-x86_64.raw  Winxp.qcow2

Convert the format of a newly entered disk file

[Email protected] images]# qemu-img convert-f Raw centos-7.2-x86_64.raw-o Qcow2 centos-7.2-X86_64.qcow2[[email protected] images]# ll-htotal 14G-rw-r--r--1Root root1.1G May at  the: thecentos-7.2-X86_64.qcow2-rw-r--r--1Root root 10G May at  the: $centos-7.2-X86_64.raw-RW-------1Root root 41G May at  on: -Winxp.qcow2

Create a virtual machine with the newly-entered disk below

2 virtual machines are visible in the KVM graphical management tool

Build a KVM Environment--07 install KVM graphical interface management tools on Linux with GUI

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.