Apply Proxy on Linux

Open /etc/environment

And add proxy

http_proxy="http://user:password@proxyserver:port" 
https_proxy="http://user:password@proxyserver:port" 
ftp_proxy="http://user:password@proxyserver:port"

**Example without authentication ** http_proxy="http://1.2.3.4:1234" Example with authentication http_proxy="http://some-user:[email protected]:1234"

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.