免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 10781 | 回复: 4
打印 上一主题 下一主题

[系统安装] CentOS安装KVM报找不到安装包,求助 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-05-31 13:45 |只看该作者 |倒序浏览
新学Linux,在VMware 8安装了CentOS6.2,然后在其上安装KVM,结果报找不到安装包。具体错误如下:
1. # yum -y install kvm
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: ftp.daum.net
* extras: ftp.daum.net
* updates: ftp.daum.net
Setting up Install Process
No package kvm available.
Error: Nothing to do

2. yum -y install qemu-kvm
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
……
……
No package qemu-kvm available.
Error: Nothing to do

但是,从浏览器访问安装包所在的URL是可以的!
另外,我在另一个CentOS上安装KVM是正常的。
估计是我的CentOS安装时,组件选择不对。因为我选的是桌面版加一些东西,而不是服务器版。
现在怎么办?

论坛徽章:
4
CU大牛徽章
日期:2013-03-13 15:29:07CU大牛徽章
日期:2013-03-13 15:29:49CU大牛徽章
日期:2013-03-13 15:30:192015年迎新春徽章
日期:2015-03-04 09:57:09
2 [报告]
发表于 2012-05-31 15:31 |只看该作者
你先yum search kvm试试,看下能找到包不

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
3 [报告]
发表于 2012-05-31 15:43 |只看该作者
本帖最后由 ulovko 于 2012-05-31 15:43 编辑

Installing the KVM hypervisor with yum
To use virtualization on Red Hat Enterprise Linux you require the kvm package. The kvm package
contains the KVM kernel module providing the KVM hypervisor on the default Red Hat Enterprise
Linux kernel.
To install the kvm package, run:

  1. # yum install *kvm*

复制代码
Now, install additional virtualization management packages.
Recommended virtualization packages:

python-virtinst  Provides the virt-install command for creating virtual machines.
libvirt          libvirt is an API library for interacting with hypervisors. libvirt uses the xm virtualization
                 framework and the virsh command line tool to manage and control virtual machines.
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-manager, also known as Virtual Machine Manager, provides a graphical tool for
                 administering virtual machines. It uses libvirt library as the management API.
Install the other recommended virtualization packages:
  1. # yum install virt-manager libvirt libvirt-python python-virtinst
复制代码

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
4 [报告]
发表于 2012-05-31 18:45 |只看该作者
Couldn't resolve host 'mirrorlist.centos.org

貌似楼主的机器dns解析有问题

论坛徽章:
4
CU大牛徽章
日期:2013-03-13 15:29:07CU大牛徽章
日期:2013-03-13 15:29:49CU大牛徽章
日期:2013-03-13 15:30:192015年迎新春徽章
日期:2015-03-04 09:57:09
5 [报告]
发表于 2012-05-31 23:36 |只看该作者
dominobaby 发表于 2012-05-31 13:45
新学Linux,在VMware 8安装了CentOS6.2,然后在其上安装KVM,结果报找不到安装包。具体错误如下:
1. # yu ...


楼主把/etc/resolv.conf贴出来看看。
加上nameserver 8.8.4.4
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP