clairedandan

设置代理:

 export http_proxy="http://proxy-XXXXX"
 export https_proxy="https://proxy-XXXXX:"

取消代理:

unset http_proxy

unset https_proxy

 

 如果想要使代理服务器永久生效,可以修改 /etc/profile文件 ,在profile 中添加或者删除。

分类:

技术点:

相关文章: