1、安装KVM
yum groupinstall Virtualization 'Virtualization Client'
2、安装api支持
yum install libvirt
service libvirtd start
报错解决:
在使用virt-manager的时候,出现如下报错
ger/virt-manager.py", line 256, in main
from virtManager import cli
File "/usr/share/virt-manager/virtManager/cli.py", line 29, in <module>
import libvirt
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 25, in <module>
raise lib_e
ImportError: /lib64/libgnutls.so.26: symbol asn1_read_node_value, version LIBTASN1_0_3 not defined in file libtasn1.so.3 with link time reference
看报错上,应该是包gnutls有问题,使用yun list | grep gnutls查找,然后使用yun install gnutls-devel进行安装,安装后virt-manager可启动,不过会出现
failed to load module "pk-gtk-module"
的报错,可使用yum install PackageKit进行解决