Apply Proxy on Linux

Published by arifur on

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"

Categories: Blog

0 Comments

Leave a Reply

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