赞
踩
设置代理:
export http_proxy="http://proxy-XXXXX"
export https_proxy="https://proxy-XXXXX:"
查看相关代理情况:
env | grep -i proxy
取消代理:
unset http_proxy
unset https_proxy
如果想要使代理服务器永久生效,可以修改 /etc/profile文件 ,在profile 中添加或者删除。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。