运行如下代码
[root@sun aa]# rpm -ivh http://zhidao.baidu.com/question/437617509101594964.html?gossl=http%3A%2F%2Fdownload.fedora.redhat.com%2Fpub%2Fepel%2F5%2Fi386%2Fepel-release-5-4.noarch.rpm&_=8E14AFB52872569FF984757C98E6E8BC%3AFG%3D1
下面是报错
Retrieving http://zhidao.baidu.com/question/437617509101594964.html?gossl=http%3A%2F%2Fdownload.fedora.redhat.com%2Fpub%2Fepel%2F5%2Fi386%2Fepel-release-5-4.noarch.rpm&_=8E14AFB52872569FF984757C98E6E8BC%3AFG%3D1
curl: (6) Couldn't resolve host 'download.fedora.redhat.com'
error: skipping http://zhidao.baidu.com/question/437617509101594964.html?gossl=http%3A%2F%2Fdownload.fedora.redhat.com%2Fpub%2Fepel%2F5%2Fi386%2Fepel-release-5-4.noarch.rpm&_=8E14AFB52872569FF984757C98E6E8BC%3AFG%3D1 - transfer failed
收起
https://zhidao.baidu.com/question/1639296668213811660.html
估计是你忘记开vpn了,所以解析不了域名。
不是的,是解析的网站打不开
http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm 这个网站打不开
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
--2017-07-21 11:55:16-- http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
正在解析主机 packages.sw.be... 失败:未知的名称或服务。
wget: 无法解析主机地址 “packages.sw.be”