I set up Perfect Server Debian Lenny with ISPConfig, and it worked fine, then I had to move it on another network which is behind PROXY, so I wonder if there is some way to set up proxy sistem-wide in some config file?
2 - Configure the proxy settings in the .bashrc
If you want set the proxy for all the users you can do it in the system wide .bashrc file.
nano /etc/bash.bashrc
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-iport/
$ 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.
Recent comments
21 hours 33 min ago
1 day 7 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 15 hours ago
1 day 16 hours ago
1 day 18 hours ago
2 days 4 hours ago
2 days 9 hours ago
2 days 10 hours ago