设置代理:
export http_proxy="http://proxy-XXXXX"
export https_proxy="https://proxy-XXXXX:"
取消代理:
unset http_proxy
unset https_proxy
如果想要使代理服务器永久生效,可以修改 /etc/profile文件 ,在profile 中添加或者删除。
设置代理:
export http_proxy="http://proxy-XXXXX"
export https_proxy="https://proxy-XXXXX:"
取消代理:
unset http_proxy
unset https_proxy
如果想要使代理服务器永久生效,可以修改 /etc/profile文件 ,在profile 中添加或者删除。
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。