View Single Post
Old 15th October 2012, 14:12
nenad nenad is offline
Senior Member
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 416
Thanks: 13
Thanked 5 Times in 5 Posts

Just in case that website on the link someday goes offline, I'll post here a solution:

Set http_proxy shell variable

Type the following command to set proxy server:

$ export http_proxy=http://server-iport/
$ export http_proxy=
$ export http_proxy=
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=
Save and close the file.
So here is what I added in /etc/profile

export http_proxy=
export https_proxy=
export ftp_proxy=
Nenad Bulatovic
Debian Lenny & ISPConfig 3
Reply With Quote