Add proxy in YUM and APT-GET

Login as root

nano /etc/yum.conf

Add the proxy add the bottom of the text like:

proxy = http://proxy.domain.com:port

—————————————————————-

nano /etc/apt/apt.conf

Acquire::http::Proxy “http://MYDOMAINMYNAME:MYPASS@MY.PROXY.COM:MYPORT”