linux设置代理到局域网中的主机

来源:互联网 发布:新会人民法院 淘宝拍卖 编辑:程序博客网 时间:2024/05/16 07:40

编辑文件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

0 0