ESET Online Help

Search English
Select the category
Select the topic

How to enable YUM command under HTTP Proxy server

If you have a local network that uses a proxy server as intermediary for internet access, yum command may not be configured properly and might not work.

To configure yum to work with proxy:

1.Enter management mode by typing your password and pressing Enter twice. Select Exit to terminal using the arrow keys and then press Enter.

2.Type:
nano /etc/yum.conf

3.Add a line with with information about your proxy. For example:
proxy=http://proxysvr.yourdom.com:3128

4.If the proxy requires username and password, add these settings. For example:
proxy=http://proxysvr.yourdom.com:3128
proxy_username=YourProxyUsername
proxy_password=YourProxyPassword

5.Press Ctrl+X and y to save the changes.


important

Keep in mind, /etc/yum.conf must be readable for all to work with yum command. Therefore your proxy password can be read by other users. Do not use the same password anywhere else.

For more information, read the official vendor's documentation.