Here are different ways to configure the proxy to recognize the proxy server and proxy config file.
#export http_proxy='http://<ProxyServer>:8080/' #export ftp_proxy='http://<ProxyServer>:8080/' #export https_proxy='http://<ProxyServer>:8080/'
-If your proxy server needs login/authentication you can use this format
#export http_proxy='http://username:passwowd@<ProxyServer>:8080/'
-to save this configuration permanently ,you should add it to .bashrc or .profile files.
#echo "export http_proxy='http://<ProxyServer>:8080/' " >> ~/.profile