How to set Ubuntu proxy in Terminal


for HTTP Proxy

export http_proxy='http://USERNAME:PASSWORD@PROXY_IP:PROXY_PORT'

example

export http_proxy='http://localhost:3128'
export http_proxy='http://admin:passw0rd@localhost:3128'

for HTTPS Proxy

export http_proxy='https://USERNAME:PASSWORD@PROXY_IP:PROXY_PORT'

example

export http_proxy='https://localhost:3128'
export http_proxy='https://admin:passw0rd@localhost:3128'

reset proxy

unset http_proxy
unset https_proxy


me on google plus+Jirawong Wongdokpuang

Advertisements
How to set Ubuntu proxy in Terminal

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s