linux设置代理

在~/.bashrc或者/etc/profile下,添加下面

http_proxy=http://192.168.105.171:80
https_proxy=$http_proxy
export http_proxy
export https_proxy

然后source ** 完成!

原文地址:https://www.cnblogs.com/chenglee/p/10154103.html