To be able to access to Ithe internet to update the system trogth proxy use:

Option 1. Add to /etc/yum.conf these lines:



Option 2: Export the variables in the shell:

export http_proxy=http://{Proxy-User-Name}:{Proxy-Password}@<Proxy-Server-IP-Address>:<Proxy-Port>
export https_proxy= http://{Proxy-User-Name}:{Proxy-Password}@<Proxy-Server-IP-Address>:<Proxy-Port>
export ftp_proxy= http://{Proxy-User-Name}:{Proxy-Password}@<Proxy-Server-IP-Address>:<Proxy-Port>
export no_proxy=,localhost




[[email protected] ~]#
[[email protected] ~]# export http_proxy=
[[email protected] ~]# export https_proxy=
[[email protected] ~]# export ftp_proxy=
[[email protected] ~]# export no_proxy=,localhost
[[email protected] ~]#
[[email protected] ~]# yum update
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * AL-Server:
 * base:
 * epel:
 * extras:
 * updates:
Resolving Dependencies
--> Running transaction check
---> Package NetworkManager.x86_64 1:1.0.0-14.git20150121.b4ea599c.el7 will be obsoleted
---> Package NetworkManager.x86_64 1:1.12.0-8.el7_6 will be obsoleting
---> Package NetworkManager-libnm.x86_64 1:1.0.0-14.git20150121.b4ea599c.el7 will be updated
---> Package NetworkManager-libnm.x86_64 1:1.12.0-8.el7_6 will be an update