Linux设置代理上网

[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
posted @ 2020-01-16 19:23  snower1995  阅读(1300)  评论(0编辑  收藏  举报