|
|
第 1 帖 | |
|
|
标题: 如何设置pacman通过proxy上网? 试过wget --proxy-user="string" --proxy-passwd="string"和XferCommand = /usr/bin/wget --proxy-user "domain\user" --proxy-passwd="password" --passive-ftp -c -O %o %u都不行,请教一下哪位知道?
|
|
|
|
|
|
|
|
第 2 帖 | |
|
|
如果你有socks proxy, 就用tsocks 吧
__________________
kernel 2.6.27-gentoo-r6 XFCE 4.6 beta2 Funtoo/Gentoo http://brucewang.net http://twitter.com/number5 |
|
|
|
|
|
|
|
第 3 帖 | |
|
|
|
|
|
|
|
|
|
|
第 4 帖 | |
|
|
谢谢回复,难到就没有像ubuntu那种专设**的?
|
|
|
|
|
|
|
|
第 5 帖 | |
|
|
直接设置/etc/wgetrc就行了。
|
|
|
|
|
|
|
|
第 6 帖 | |
|
|
楼上正解!
wgetrc: # You can set the default proxies for Wget to use for http and ftp. # They will override the value in the environment. #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 |
|
|
|
|
|
|
|
第 7 帖 | |
|
|
pacman.conf修改:
XferCommand = /usr/bin/wget --proxy-user=用户名 --proxy-password=密码 -c %o %u 以上用户名、密码是**服务器上的用户名和密码。 wgetrc 修改: http_proxy = http://proxy.yoyodyne.com:18023/ ftp_proxy = http://proxy.yoyodyne.com:18023/ 将以上#去掉,后改为**服务器的地址。 |
|
|
|
|
|
|
|
第 8 帖 | |
|
|
export http_proxy=...
|
|
|
|
|
|