Configure wget under proxy

 

If you’re working on a environment under proxy and you need to download something directly into your server, just alter the values of http_{proxy, user, passwd} and be happy.

cat <<EOF>> ~/wgetrc
http_proxy = http://proxy.example.com:8080/
proxy_user = username
proxy_passwd = password
use_proxy = on
EOF

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.