首页 > 技术文章 > Linux设置代理上网

HeCG95 2020-01-16 19:23 原文

[root@localhost ~]# vi ~/.bashrc
# Network Config
export http_proxy=http://username:password@proxyserver:port
export https_proxy=http://username:password@proxyserver:port
export ftp_proxy=http://username:password@proxyserver:port

## 刷新一下
[root@localhost ~]# source ~/.bashrc

推荐阅读