If I am behind a proxy server, how do I set my proxy environment variable to let my text-based HTTP application (i.e. web-browser, wget, curl, etc) pass through the proxy server?

Updated -

To setup your proxy environment variable, run the following command:

  export  http_proxy=http://proxy_server:port/

Note: You will need to know your http://proxy_server and port values for your proxy environment.

To setup the proxy environment variable as a global variable, add the following information in your

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content