编辑profile文件:
vim /ect/profile
在文件中添加代理:
#无用户名密码
export http_proxy=http://proxy_ip:prot
export https_proxy=https://proxy_ip:prot
#有用户名密码
export http_proxy=http://username:password@proxy_ip:prot
export https_proxy=https://username:password@proxy_ip:port
1228

被折叠的 条评论
为什么被折叠?



