0
点赞
收藏
分享

微信扫一扫

linux设置全局代理

曾宝月 2022-04-06 阅读 112
java后端
  • vim /etc/profile

    http_proxy=http://127.0.0.1:9666 #代理程序地址
    https_proxy=http://127.0.0.1:9666
    ftp_proxy=http://127.0.0.1:9666
    export http_proxy
    export ftp_proxy
    export https_proxy

在这里插入图片描述

  • source /etc/profile
  • 这样http,https,ftp都走代理了
举报

相关推荐

0 条评论