linux设置代理

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

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

然后source ** 完成!

posted @ 2018-12-21 10:12  夏天12  阅读(2834)  评论(0)    收藏  举报