How to enable Proxy Settings for Yum Command on RHEL / CentOS Servers Rumi, March 24, 2021 This can be easily achieved with yum config file “/etc/yum.conf“. Under main section define the proxy settings like below: ……………… proxy=http://<Proxy-Server-IP-Address>:<Proxy_Port> proxy_username=<Proxy-User-Name> proxy_password=<Proxy-Password> ……………… Save and exit the file and start using the yum command. Sample yum Config file with proxy settings is shown below : Administrations Configurations (Linux) proxy