This article is from the ground up.
I plan to learn the KVM graphic interface manager virt-manager, but virt-manager is only available in Linux and not in windows. Therefore, I can only use the Linux desktop system. Here I select the Ubuntu system.
I will not introduce how to install ubuntu. The following describes how to install and configure virt-manager.
The machine where virt-manager is installed does not have to support virtualization.
Note that virt-manager has both a graphical interface and a command line.
Start Ubuntu and install virt-manager and related software. For example:
First, use apt-Get update to update software-related information. As follows:
650) This. width = 650; "Title =" clip_image001 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image001 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_1406879820AHZV.png "width =" 670 "Height =" 179 "/>
After the update, install virt-Manager using the following command:
Apt-get-y install virt-manager qemu-System
650) This. width = 650; "Title =" clip_image002 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image002 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_1406879820oXQy.png "width =" 709 "Height =" 159 "/>
After the installation is complete, we can find the "virtual system manager" in the application, such:
650) This. width = 650; "Title =" clip_image003 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image003 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_140687982186nV.png "width =" 559 "Height =" 462 "/>
Open "Virtual System Manager" and an error will be reported, for example:
650) This. width = 650; "Title =" clip_image004 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image004 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_1406879822hoxi.png "width =" 699 "Height =" 592 "/>
This prompt is because by default, virt-manager will connect to the local KVM. I have not installed KVM on the local machine, so an error is reported. If this error is reported, ignore it first. Close temporarily and continue the next step.
Right-click localhost (qemu) and click "delete", for example:
650) This. width = 650; "Title =" clip_image005 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image005 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_1406879823d2zw.png "width =" 318 "Height =" 336 "/>
650) This. width = 650; "Title =" clip_image006 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image006 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_1406879823UYqI.png "width =" 496 "Height =" 465 "/>
After deletion, click at the top of the window. In the pop-up "file" option, click "add connection" in the drop-down list, for example:
650) This. width = 650; "Title =" clip_image007 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image007 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_1406879824nFkG.png "width =" 406 "Height =" 224 "/>
In the pop-up window, select connect to the remote host, select SSH as the method, and enter the relevant information, such:
650) This. width = 650; "Title =" clip_image008 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image008 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_1406879825yTCg.png "width =" 383 "Height =" 360 "/>
Fill in "yes" in the window that opens, for example:
650) This. width = 650; "Title =" clip_image009 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image009 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_1406879826y3Ae.png "width =" 519 "Height =" 288 "/>
Enter the root password for the remote KVM connection:
650) This. width = 650; "Title =" clip_image010 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image010 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_1406879826NRVC.png "width =" 753 "Height =" 463 "/>
Currently, 192.168.1.240 is running on three VMS.
650) This. width = 650; "Title =" clip_image011 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image011 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_1406879827PoeN.png "width =" 344 "Height =" 288 "/>
Click the KVM and select "details", such:
650) This. width = 650; "Title =" clip_image012 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image012 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_1406879827nZhv.png "width =" 466 "Height =" 305 "/>
The following is information about the KVM:
650) This. width = 650; "Title =" clip_image013 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image013 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_1406879828EAOs.png "width =" 751 "Height =" 531 "/>
650) This. width = 650; "Title =" clip_image014 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image014 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_1406879829kP1Y.png "width =" 748 "Height =" 397 "/>
650) This. width = 650; "Title =" clip_image015 [4] "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image015 [4] "src =" http://img1.51cto.com/attachment/201408/1/526870_1406879830GPwp.png "width =" 489 "Height =" 492 "/>
This article from the "muddy world" blog, please be sure to keep this source http://ilanni.blog.51cto.com/526870/1533824