wget via a proxy

If your server cannot contact the Internet except via a proxy server, you can still use the wget command. You simply tell wget how to use the proxy server. Here’s how:

1) Open /etc/wgetrc
2) Scroll down to the section for HTTP and FTP proxy servers (approximately line #76 )
3) Add the URL and port of your proxy server for both FTP and HTTP transfers:
ftp_proxy = http://your. proxy.server:8080
http_proxy = http://your. proxy.server:8080

The next time you invoke wget, it will inherit these settings.