编辑文件profile
vi /etc/profile
在最后加入
http_proxy=http://192.168.1.100:1080 # 代理主机ip:端口
https_proxy=http://192.168.1.100:1080
export http_proxy
export https_proxy
编辑文件profile
vi /etc/profile
在最后加入
http_proxy=http://192.168.1.100:1080 # 代理主机ip:端口
https_proxy=http://192.168.1.100:1080
export http_proxy
export https_proxy