How To Configure yum To Get Through Proxy?

Yesterday, I was installing Linux Cent OS in Virtual Machine for an for an experimental project.

When using yum update to get all the latest packages, I realised that yum couldn’t successful updated. This is because office network is behid the squid proxy.

The steps to get yum operations to use a proxy server is really simple.

# The proxy server or IP address:port number
proxy=http://proxy.server.com:8080
# The proxy account for yum connections
proxy_username=userid
proxy_password=password

For more details, read Using yum with a Proxy Server

Posted in Linux Tagged with: ,

Leave a Reply