Configurate HTTP Proxy Server for Ubuntu

Edit ~/.bashrc

http_proxy=http://yourproxyaddress:prosyport
export http_proxy

It the proxy server requires login, using the following configuration

http_proxy=http://username:password@yourproxyaddress:proxyprot
export http_proxy
Written on October 14, 2017