the following error occurred when the virtual machine configured the epel source:
Environment: redhat7 + vmw 12 player
Please help your teachers. Thank you.
[root@localhost yum.repos.d]-sharp ping www.baidu.com
PING www.a.shifen.com (61.135.169.121) 56 (84) bytes of data.
^ C
-www.a.shifen.com ping statistics-
310 packets transmitted, 0 received, 100% packet loss, time 309233ms
[root@localhost yum.repos.d]-sharp rpm-vih http://dl.fedoraproject.org/p.
get http://dl.fedoraproject.org/p.
curl: (5) Could not resolve proxy: http; Unknown name or service
error: skip http://dl.fedoraproject.org/p.-transfer failed
[root@localhost yum.repos.d]-sharp rpm-Uvh http://mirrors.kernel.org/fed.
gets http://mirrors.kernel.org/fed.
curl: (5) Could not resolve proxy: http;) Unknown name or service
error: skip http://mirrors.kernel.org/fed.-transfer failed
[root@localhost yum.repos.d]-sharp name-a
bash: name: could not find the command.
[root@localhost yum.repos.d ]-sharp uname-a
Linux localhost.localdomain 3.10.0-327.el7.x86_64-sharp1 SMP Thu Oct 29 17:29:29 EDT 2015 x 86 "64 GNU/Linux
[root@localhost yum.repos.d]-sharp cat / etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
[root@localhost yum.repos.d]-sharp rpm-ivh http://dl.fedoraproject.org/p.
gets http://dl.fedoraproject.org/p.
curl: (5) Could not resolve proxy: http;) Unknown name or service
error: skip http://dl.fedoraproject.org/p.-transfer failed
[root@localhost yum.repos.d]-sharp wget http://dl.fedoraproject.org/p.
--2018-06-20 13 http://dl.fedoraproject.org/p.
41 http://dl.fedoraproject.org/p.
51 http://dl.fedoraproject.org/p.
--2018-06-20- http://dl.fedoraproject.org/p.
is parsing the host http (http). Failure: unknown name or service.
wget: cannot resolve host address "http"
I practice https://www.cnblogs.com/dadon. based on this article.