Configuring Proxies and Repos
You are required to configure the proxies and repos.
Configure the http proxy in /etc/yum.conf file and also export the same to environment by doing the following.
In /etc/yum.conf, add the
following line:
proxy=<Your_Proxy>
where, <your_proxy> is the proxy server details.
Run the following command to export to the environment:
export http_proxy=<Your_Proxy>
export https_proxy=<Your_Proxy>