个人工具
登录
查看“UbuntuHelp:KVM/VirtManager”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:KVM/VirtManager”的源代码
来自Ubuntu中文
←
UbuntuHelp:KVM/VirtManager
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/KVM/VirtManager}} {{Languages|UbuntuHelp:KVM/VirtManager}} You can create, delete, run, stop, and manage your virtual machines graphically. The tool '''virt-manager''' allows you to use a graphical interface to interact with KVM. ==== Installation ==== Install virt-manager on your desktop: <ol><li>From a Command Line</li></ol> <pre><nowiki> sudo apt-get install virt-manager </nowiki></pre> <ol><li>Or from the Ubuntu Software Center:</li></ol> * '''Applications''' -> '''Ubuntu Software Center''' -> Search for "virt-manager" * Install "Virtual Machine Manager" ==== Launching ==== To launch KVM/VirtManager: * '''Applications''' -> '''System Tools''' -> '''Virtual Machine Manager''' To manage virtual machines on the local system: * Double-click on "localhost (System)" Or to connect to any other virtual machine host (running libvirt-bin and openssh-server): * '''File''' -> '''Add Connection''' * '''Hypervisor''': QEMU/KVM * '''Connection''': Remote tunnel over SSH * '''Hostname''': hostname or IP address of the remote host {{http://waste.mandragor.org/virt-manager-screenshot.png}} ==== Creating a Virtual Machine ==== * First, download an ISO cd image of some OS you want to run. For Ubuntu, you can find these at: * [http://www.ubuntu.com/getubuntu/download] * Double click on the name of the host. The Status column should read '''Active''' * Right click on the name of the host, and select '''New''' * This will start a wizard to guide you through the rest of your VM creation <ol><li>Enter your virtual machine details</li></ol> * '''Name''': foo * Choose '''Local install media (ISO image or CDROM)''', or you can use another method if you know what you're doing * '''Forward''' <ol><li>Locate your install media</li></ol> * '''Use ISO image''' * '''Browse''' to find the ISO you downloaded earlier * Optional: Select the matching '''OS Type''' * Optional: Select the matching '''Version''' * '''Forward''' <ol><li>Choose Memory and CPU settings</li></ol> * '''Memory (RAM)''': 512MB (your choice) * '''CPUs''': 1 (your choice) * '''Forward''' <ol><li>Select '''Enable storage for this virtual machine'''</li></ol> * Select '''Create a disk image on the computer's hard drive''' * '''8 GB''' is the default * To speed up VM creation, you can unselect '''Allocate entire disk now''' * '''Forward''' <ol><li>Ready to begin installation</li></ol> * Confirm the details * '''Finish''' <ol><li>You should now see the OS installation proceed within a virt-manager window. Complete the installation and reboot.</li></ol> ==== Working with a Running Virtual Machine ==== If you double-click on any machine in Virtual Machine Manager, a new window will open, with functions unique to that virtual machine. From this window, you apply several actions to this VM: * Run * Pause * Shutdown (cleanly shuts down the VM OS) * Reboot (cleanly reboots the VM OS) * Force off (equivalent to yanking the power, could yield data loss in the VM) * Fullscreen ===== Console ===== The Console tab in the main window provides access to the VM's desktop and tty consoles. * The desktop is accessed over a VNC connection to the guest. When you are "inside" the guest, the keyboard and mouse are "locked" to the guest. To release the keyboard and mouse, press the buttons Ctrl-Alt at the same time. * The tty console can been accessed by: * '''Send Key''' -> '''Ctrl-Alt-F1''' ===== Details ===== The Details tab provides a view of the resources assigned to this virtual machine. Here, you can see: * the number of processors allocated * the amount of memory assigned * the default boot device (CDROM or Hard Disk) * a listing of the storage devices attached to the VM and their type (CDROM, IDE, SCSI, Virtio) * the network adapter and its model * the emulated mouse, display, serial, and sound hardware ==== Deleting a Virtual Machine ==== To delete a virtual machine: <ol><li>Shutdown or force off the VM. </li><li>In Virtual Machine Manager, highlight the VM you want to delete </li><li>Click '''Delete''' at the bottom of the panel </li><li>You can optionally delete the associated disk file for the VM. If you don't want or need the data within the VM itself, you should delete the storage file, as these are usually very large.</li></ol> [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Http://waste.mandragor.org/virt-manager-screenshot.png
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:KVM/VirtManager
。