vi ~/.bashrc编辑此文件在此文件,在该文件下加入
export http_proxy="http://ip:端口"
如果需要访问https类网站需要额外加入
export https_proxy="http://ip:端口":wq保存退出后再更新一下配置文件source ~/.bashrc
vi ~/.bashrc编辑此文件在此文件,在该文件下加入export http_proxy="http://ip:端口"
如果需要访问https类网站需要额外加入
export https_proxy="http://ip:端口"
:wq保存退出后再更新一下配置文件source ~/.bashrc
1516
4834

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