If you are using Apache, it is easier to define the http_proxy global variable. On RedHat, for example, edit / etc / sysconfig / httpd and configure these two lines in your environment:
export http_proxy="http://proxy:8080/" export https_proxy="http://proxy:8080/"
Roberto alcantara
source share