system wide http proxy settings

Anthony M Simonelli a.simonelli at sbcglobal.net
Wed Jun 27 06:11:34 UTC 2007


Here's how to add system wide proxy settings.  Put these line at the end
of your /etc/bash.bashrc file or your .bashrc file in your home
directory:

export http_proxy=http://username:password@proxyserver.net:port/
export ftp_proxy=http://username:password@proxyserver.netport/

Source: http://ubuntuforums.org/showthread.php?t=275412

On Wed, 2007-06-27 at 10:42 +0800, grep at westnet.com.au wrote:
> When installing ubuntu, there is an opportunity to set a system wide
> web proxy. I'm trying to find where this info is stored (or a command
> for changing/setting the proxy details). Access to the big wide web
> from the pc currently works, but I need to change the proxy
> connection details. It's a headless server (no X apps installed:
> minimal server system only) so access is only via ssh.
> 
> I am aware of the http_proxy variable, but this doesn't seem to be
> the mechanism being used. In addition, when I have tried using this
> (on another system on the same network) there are problems with the
> proxy requiring authentication.  Setting http_proxy to
> "user:passwd at address:port" doesn't seem to work.
> 
> Anyone able to point me in the right direction?
> 
> Thanks,
> TB
> 
> 





More information about the ubuntu-users mailing list