なみひらブログ

学んだことを日々記録する。~ since 2012/06/24 ~

wgetのプロキシ設定

wgetコマンドでのプロキシ設定は以下で行います。

[namihira@xx.xx.xx.xx]~% sudo vi /etc/wgetrc
中略)
# You can set the default proxies for Wget to use for http, https, and ftp.
# They will override the value in the environment.
https_proxy = http://(ユーザ名):(パスワード)@(プロキシサーバ):(ポート)/
http_proxy = http://(ユーザ名):(パスワード)@(プロキシサーバ):(ポート)/
#ftp_proxy = http://proxy.yoyodyne.com:18023/
(以下、略)