ESET Online Help

Search English
Select the category
Select the topic

Enable YUM command under HTTP Proxy server

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

To configure yum to work with the proxy:

1.Log in to the 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 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

The /etc/yum.conf file is readable for all users and allows them to work with the yum command. As a result, other users can read your proxy password. Do not use the same password anywhere else.

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