Configuring Proxies and Repositories

Configure the proxies and repositories.

Configure the HTTP proxy in the /etc/yum.conf file and also export the same to environment by doing the following
  1. In the /etc/yum.conf file, add the following line:
    proxy=<Your_Proxy> where, you need to add the proxy server details in place of <your_proxy>.
  2. Run the following commands to export the proxy server details to the environment:
    export http_proxy=<Your_Proxy>
    export https_proxy=<Your_Proxy>