system wide http proxy settings

Lea Gris lea.gris at noiraude.net
Wed Jun 27 07:00:43 UTC 2007


Anthony M Simonelli a écrit :
> 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

How about using /etc/environment ?

sudo echo -e
"http_proxy=http://username:password@proxyserver.net:port/\nftp_proxy=http://username:password@proxyserver.netport/\n"
>> /etc/environment

-- 
     Léa Gris - http://www.noiraude.net/
()   Campagne du ruban texte brut contre les courriels en HTML,
/\   contre les pièces jointes dans un format propriétaire.
     Contre les DRMs appelez le : 09f911029d74e35bd84156c5635688c0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070627/50751ef3/attachment.sig>


More information about the ubuntu-users mailing list