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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.