Wednesday, June 15, 2016

Configuring HTTP Proxy in the CLI for yum updates

Configuring HTTP Proxy in the CLI

  • Run the subscription-manager command as follows:
    # subscription-manager config --server.proxy_hostname=proxy.example.com --server.proxy_port=8080 --server.proxy_user=admin --server.proxy_password=secret
  • Also edit /etc/yum.conf for http://:8080

No comments:

Post a Comment