Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Enable proxy in linux

You can set a proxy either from the GUI or from the command line. We will see how we can set a proxy from the command line. Open the /etc/environment file with your favorite text editor and add the following lines:

http_proxy="http://ip:port"

https_proxy="http://ip:port"

ftp_proxy="ip:port"

no_proxy="localhost"
Source by www.vultr.com #
 
PREVIOUS NEXT
Tagged: #Enable #proxy #linux
ADD COMMENT
Topic
Name
4+8 =