wget 设置代理:
修改 /etc/wgetrc 中的相关设置
yum设置代理
在 /etc/yum.conf 中添加一行:proxy=socks5://192.168.110.150:1080
git 设置代理和取消:git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
git config --global --unset http.proxy
git config --global --unset https.proxy
近期评论