Wednesday, 1 November 2017

How to Set System-Wide Proxy on Ubuntu


Setting the system wide proxy through Environment Variables

Edit the file "/etc/environment" and add the following lines

manivel@manivel-admin:~$ sudo vim /etc/environment

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
http_proxy="http://username:password@manivel.com:80/"
https_proxy="https://username:password@manivel.com:80/"
ftp_proxy="ftp://username:password@manivel.com:80/"
socks_proxy="socks://manivel.com:80/"

No comments:

Post a Comment