1
|
vi /etc/profile
|
1 2 3 |
export http_proxy="http://用户名:密码@代理IP地址:代理端口" export https_proxy=$http_proxy export no_proxy=127.0.0.1,.huawei.com,localhost,local,.local |
1
|
source /etc/profile |