How to enable Proxy Settings for Yum

To be able to access to Ithe internet to update the system trogth proxy use:

Option 1. Add to /etc/yum.conf these lines:

 

Option 2: Export the variables in the shell:

 

Example