Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

How to enable http Proxy Settings for Yum Command on RHEL / CentOS Servers?

  1. No username and password required: To configure proxy without username and password:
    export http_proxy=http://SERVER:PORT/
  2. Username and password authentication: To configure the proxy server with username and password authentication:
    export http_proxy=http://USERNAME:PASSWORD@SERVER:PORT/
Rajesh Kumar
Follow me