Just in case that website on the link someday goes offline, I'll post here a solution:
Quote:
Set http_proxy shell variable
Type the following command to set proxy server:
$ export http_proxy=http://server-ip ort/
$ export http_proxy=http://127.0.0.1:3128/
$ export http_proxy=http://proxy-server.mycorp.com:3128/
How do I setup proxy variable for all users?
To setup the proxy environment variable as a global variable, open /etc/profile file:
# vi /etc/profile
Add the following information:
export http_proxy=http://proxy-server.mycorp.com:3128/
Save and close the file.
|
So here is what I added in /etc/profile
Code:
export http_proxy=http://147.91.173.31:8080/
export https_proxy=http://147.91.173.31:8080/
export ftp_proxy=http://147.91.173.31:8080/