设置代理:
export http_proxy=ip:port
export https_proxy=ip:port
取消代理:
unset http_proxy
unset https_proxy
配置文件设置:
vim /etc/profile
export http_proxy=ip:port
exprot https_proxy=ip:port
soruce /etc/profile
参考:
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END