I am trying to search / install rpm
through yum utility, when I am searching for it am getting the below exception.
[root@dhcp-blr-kkm-itpark-10fl-10-184-29-195
/]# yum search libaio-devel-0.3.109-12.el7-i686
Loaded plugins: langpacks
http://public-yum.oracle.com/repo/OracleLinux/OL7/UEKR3/x86_64/repodata/repomd.xml:
[Errno 14] curl#7 - "Failed connect to public-yum.oracle.com:80; No route
to host"
Trying other mirror.
To over come this situation, follow the below steps.
1. Export your Proxy as follows.
[root@dhcp-blr-kkm-itpark-10fl-10-184-29-195
/]# export http_proxy="http://www-XXXXXXXXXX.com:80"
[root@dhcp-blr-kkm-itpark-10fl-10-184-29-195
/]# yum search libaio-devel-0.3.109-12.el7-i686
Loaded plugins: langpacks
ol7_UEKR3
| 1.2 kB 00:00:00
2. go to /etc/yum.repos.d/ -> vi public-yum-ol7.repo and edit the below two entries from 0 to 1.
to resolve this issue as he said set your own proxy in yum.conf file. then it will work
ReplyDeleteproxy=
Delete