wget windows下设置http_proxy
有两种选择
- 设置环境变量"WGETRC" 它的全路径指向 ".wgetrc" (include the file name in the path)
- 设置环境变量"HOME"指向一个文件夹(一个已存在的). 然后将 '.wgetrc'复制到这个文件夹里面或者在里面创建一个".wgetrc"的文件
然后在.wgetrc文件里面加上http_proxy="abcd"就ok了
需要说明下在windows里面用鼠标右键创建以"."开头的文件是不行的,我是用vi在dos下创建的