LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1066|回复: 4

用wget下载网页,如何设置代理服务器?

[复制链接]
发表于 2003-6-6 21:01:19 | 显示全部楼层 |阅读模式
我看了一下help,只有一个代理服务器的开关,和代理服务器的用户名、帐号可以设置,那代理服务器的ip和port要怎么加呢?
发表于 2003-6-6 22:53:03 | 显示全部楼层

about wgetrc

#~. rpm -ql wget|grep etc
/etc/wgetrc
#~. cat /etc/wgetrc|grep proxy
#http_proxy = http://proxy.yoyodyne.com:18023/
#ftp_proxy = http://proxy.yoyodyne.com:18023/
# If you do not want to use proxy at all, set this to off.
#use_proxy = on
#~.
so, we know, we could change the file "/etc/wgetrc" to turn on the proxy.

修改这个文件不是重要的,重要的是知道要修改哪个文件 so easy it is, u can do it urself too, good luck lah.
 楼主| 发表于 2003-6-7 00:10:46 | 显示全部楼层
...我用的是win32的版本。
我再去查查文档,应该也可以用wgetrc之类的设置文件的。
发表于 2003-8-28 14:28:26 | 显示全部楼层
谢谢!我也被这个问题困扰好久!
发表于 2003-8-28 14:39:08 | 显示全部楼层
不过,好像还要设置一个环境变量:
export http_proxy="http://proxyserver:port/"
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表