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

使用 curl 代替 wget 下载软件,支持 socks5 代理 #154

Closed
matyhtf opened this issue May 22, 2023 · 1 comment
Closed

使用 curl 代替 wget 下载软件,支持 socks5 代理 #154

matyhtf opened this issue May 22, 2023 · 1 comment
Labels

Comments

@matyhtf
Copy link
Member

matyhtf commented May 22, 2023

由于 wget 仅支持 http 代理,不支持 socks5 代理,导致无法使用代理。需要替换为 curl,curl 同时支持两种代理方式。

export http_proxy=socks5h://127.0.0.1:1080
export https_proxy=socks5h://127.0.0.1:1080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants