设置Linux终端代理(proxy)

设置http或者https

export http_proxy="socks5://127.0.0.1:1080"
export https_proxy="socks5://127.0.0.1:1080"
export http_proxy="http://proxyAddress:port"
export https_proxy="http://proxyAddress:port"

设置全部

export ALL_PROXY=socks5://127.0.0.1:1080
export ALL_PROXY=http://127.0.0.1:1080
文章作者: PercyC
本文链接:
版权声明: 本站所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 percy家园
小技巧 linux
喜欢就支持一下吧