|
|
发表于 2005-9-1 13:05:30
|
显示全部楼层
24. 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
If you are using ~/.netrc, libcurl automatically picks up your preferences.
See the netrc(5) manpage for more information. |
|