Linux/CentOS设置全局代理(http)

转载自https://www.cnblogs.com/EasonJim/p/9826681.html

1、在/etc/profile文件

2、在~/.bashrc

3、在~/.zshrc

4、在/etc/profile.d/文件夹下新建一个文件xxx.sh

删除代理

export -n http_proxy
 
export -n https_proxy
 
export -n no_proxy

posted @ 2021-12-01 10:47  simp00  阅读(839)  评论(0编辑  收藏  举报