Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎样在chroot下使用代理? #7

Open
evi1c0re opened this issue Jun 6, 2016 · 2 comments
Open

怎样在chroot下使用代理? #7

evi1c0re opened this issue Jun 6, 2016 · 2 comments

Comments

@evi1c0re
Copy link

evi1c0re commented Jun 6, 2016

我在运行脚本的时候由于网速问题时常卡死,希望在运行的时候可以使用代理。
export http_proxy

export https_proxy
都不起作用,
在系统中设置代理也不起作用。
希望能够在脚本中增加代理选项

@lxj616
Copy link
Collaborator

lxj616 commented Jun 6, 2016

Woobuntu 自带 proxychains,可以结合shadows0cks或者普通http proxy使用

man proxychains

简单说,就是编辑/etc/proxychains.conf

[ProxyList]
# add proxy here ...
# meanwile
# defaults set to "tor"
socks4  127.0.0.1 9050

然后用proxychains加载安装脚本即可

proxychains ./abcdefg

Woobuntu安装工具时大量使用了第三方自带的模块管理机制,这些工具很多都不遵守系统全局proxy设置,因此不可使用全局proxy设置,目前来看还是您手动使用proxychains比较稳定

@arisnotargon
Copy link

我遇到过类似的问题,发现好多都是s3的资源访问不了,如果楼主也是因为里面s3的资源访问过慢造成卡死的话,可以尝试在/etc/host里面加入:219.76.4.4 github-cloud.s3.amazonaws.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants