架设代理为:
socks://127.0.0.1:10810
http://127.0.0.1:10811
# http代理
git config --global http.proxy http://127.0.0.1:10811
# sock代理
git config --global http.proxy socks5://127.0.0.1:1080
# 清空代理
git config --global http.proxy ""
sudo apt-get -o Acquire::http::proxy="http://proxy.example.com:port" install package-name
wget -e use_proxy=yes -e http_proxy=http://proxy.example.com:port http://example.com
export http_proxy=http://proxy.example.com:port
export https_proxy=http://proxy.example.com:port