Configuring Yum To Work With Proxy Server
Most of the production servers has limited connectivity to the Internet. If they have any connectivity then probably it will be through a forward proxy server.
If your server is behind the proxy server, then you need to provide proxy server details in /etc/yum.conf.. The proxy setting must specify the proxy server as a complete URL, including the TCP port number. If your proxy server requires a username and password, specify these by adding proxy_username and proxy_password settings.
The settings below enable yum to use the proxy server 192.168.5.100, connecting to port 3128, with the username yum-user and the password qwerty.
# The proxy server - proxy server:port number proxy=http:/192.168.5.100:3128 # The account details for yum connections proxy_username=yum-user proxy_password=qwerty
Related posts:
- Configuring an additional Yum repository.
- Changing SSH port of server. Simple yet effective security measure.
- Ubuntu Repository Server Appliance using vmbuilder
- Which ports do I need to open up for mailserver ?
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
