Installing the virtualization packages with yum To use virtualization on Red Hat Enterprise Linux you require at least the qemu-kvm and qemu-img,packages. These packages provide the user-level KVM emulator and disk image manager on the host Red Hat Enterprise Linux system.
To install the qemu-kvm and qem u-im g packages, run the following command:
#yum install qemu-kvm qemu-img
Several additional virtualization management packages are also available:
##其他的几个包也是很有用的!
Red Hat Enterprise Linux 6 Virtualization Host Configuration and Guest Installation Guide 21
python-virtinst
Provides the virt-install command for creating virtual machines.
libvirt
The libvirt package provides the server and host side libraries for interacting with hypervisors and host systems. The libvirt package provides the libvirtd daemon that handles the library
calls, manages virtualized guests and controls the hypervisor.
libvirt-python
The libvirt-python package contains a module that permits applications written in the Python
programming language to use the interface supplied by the libvirt API.
virt-manager
virt-m anager, also known as Virtual Machine Manager, provides a graphical tool for
administering virtual machines. It uses libvirt-client library as the management API.
libvirt-client
The libvirt-client package provides the client-side APIs and libraries for accessing libvirt servers. The libvirt-client package includes the virsh command line tool to manage and control
virtualized guests and hypervisors from the command line or a special virtualization shell.
Install all of these recommended virtualization packages with the following command:
# yum -y install virt-manager libvirt libvirt-python python-virtinst libvirt-client
或另外一种安装方式:
centos6下安装:
[root@h5 4e7bd052-3787-3f40-9b70-ec3a929ca077]# yum grouplist | grep -i virtual
Virtualization
Virtualization Client
Virtualization Platform
Virtualization Tools
[root@h5 4e7bd052-3787-3f40-9b70-ec3a929ca077]# cat /etc/issue
CentOS release 6.2 (Final)
Kernel \r on an \m
#yum -y groupinstall 'Virtualization' 'Virtualization Client' 'Virtualization Platform'
各个组里面含有的包情况:
阅读(1287) | 评论(0) | 转发(0) |