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

猜你喜欢

转载自www.cnblogs.com/HeCG95/p/12202853.html
今日推荐