 <p>If you're using Apache the simpler way is to define a global variable http_proxy. On RedHat like edit /etc/sysconfig/httpd and adjust these two lines to your environment:</p> <pre><code>export http_proxy="http://proxy:8080/" export https_proxy="http://proxy:8080/" </code></pre>