|
发表于 2004-5-22 00:00:49
|
显示全部楼层
但是如何在代理里设置用户名和密码?
faq里有这么一段
26. How do I specify proxy settings?
slapt-get takes advantage of the normal http_proxy and ftp_proxy shell
variables. Here are some examples:
# setting the env variables for the entire session
$ export http_proxy=http://host:port
$ export ftp_proxy=ftp://host:port
# just setting them for the current command invocation
$ http_proxy=http://host:port slapt-get --update
要设置用户密码的话是不是这样子?我没法尝试
$http_proxy=http://user:passwd@host:port slapt-get --update? |
|