![如何在 CentOS 6 上安装 KVM](https://linux22.com/image/17349/%E5%A6%82%E4%BD%95%E5%9C%A8%20CentOS%206%20%E4%B8%8A%E5%AE%89%E8%A3%85%20KVM.png)
我无法在 CentOS 上安装 kvm。
我收到这些错误:
[root@localhost etc]# yum groupinstall kvm -y
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: ftp.tlk-l.net
* epel: ftp.tlk-l.net
* extras: ftp.tlk-l.net
* rpmforge: ftp-stud.fht-esslingen.de
* updates: ftp.tlk-l.net
Setting up Group Process
Checking for new repos for mirrors
epel/group_gz | 201 kB 00:00
Warning: Group kvm does not exist.
任何请求的组中都没有可供安装或更新的软件包
我也尝试过
[root@localhost etc]# yum install kvm
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: ftp.tlk-l.net
* epel: ftp.tlk-l.net
* extras: ftp.tlk-l.net
* rpmforge: ftp-stud.fht-esslingen.de
* updates: ftp.tlk-l.net
Setting up Install Process
No package kvm available.
Error: Nothing to do
CentOS 有 kvm 软件包吗?
答案1
安装Virtualization
组:
yum groupinstall Virtualization "Virtualization Client" \
"Virtualization Platform" "Virtualization Tools"
这将为您提供qemu-kvm
、qemu-kvm-tools
、libvirt
、python-virtinst
和virt-manager
软件包,以及许多其他内容。几乎拥有在 KVM 下启动和运行 VM 所需的一切。