Friday, 30 March 2012

ERROR 407: Proxy Authentication Required ?




  If your Linux machine is behind a proxy server then to access the internet, proxy configuration will be required. The 'http_proxy' and 'ftp_proxy' environment variables hold the information about proxy server. Just hit the these commands-
#export http_proxy=http://proxy-server-ip:port
#export ftp_proxy=http://proxy-server-ip:port

If proxy server needs authentication then include username and password as follows-
#export http_proxy=http://user:password@proxy-server-ip:port
#export ftp_proxy=http://user:password@proxy-server-ip:port
  
These settings are remains vails for single session once you reboot the system they will get erased tomake them permenant  add them in ~/.bashrc file.

No comments:

Post a Comment