通过网络安装yum源,报错信息好像是说没有找到yum源。
RHEL的版本是RHEL 6.
[attach]39884[/attach]
以下是yum源的配置文件:
[root@nfs-client ~]# cat /etc/yum.repos.d/rhel-debuginfo.repo
[rhel-debuginfo]
#yum wang'luo'an'zhuang
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[base]
name=Red Hat Enterprise Linux $releasever -Base
baseurl=http://ftp.twaren.net/Linux/CentOS/5/os/$basearch/
gpgcheck=0
[update]
name=Red Hat Enterprise Linux $releasever -Updates
baseurl=http://ftp.twaren.net/Linux/CentOS/5/updates/$basearch/
gpgcheck=0
[extras]
name=Red Hat Enterprise Linux $releasever -Extras
baseurl=http://ftp.twaren.net/Linux/CentOS/5/extras/$basearch/
gpgcheck=0
[addons]
name=Red Hat Enterprise Linux $releasever -Addons
baseurl=http://ftp.twaren.net/Linux/CentOS/5/addons/$basearch/
gpgcheck=0
目前从虚拟机向外ping百度没有问题,很正常。
可能是这个配置文件有问题,可我应该怎么办呢?
yaohua_ab 于 2013-07-02 11:46:59发表:
好的,学习了
robin.l 于 2013-07-02 04:24:30发表:
要学习服务器就用rehl,别用别的源了,如果只是随便玩玩,还是用fc、ubuntu。不要乱加源
hzh0122 于 2013-06-28 07:37:56发表:
学习学习
yanyongkg 于 2013-06-27 16:47:07发表:
[i=s] 本帖最后由 yanyongkg 于 2013-6-27 16:49 编辑 [/i]
可以用,但不提倡用,到时你系统一部分是rhel的一部分是centos出了问题都不知道是谁出的问题。
你rhel是6,centos源也得用6的,看你写的是5。centos是rhel的再编译版本,版本号是一致的。
buonaparte 于 2013-06-27 11:15:14发表:
三个
YuriGagarin 于 2013-06-26 23:04:08发表:
向各位求助
pacfaket 于 2013-06-24 08:41:31发表:
不清楚