更新 Ubuntu配置HTTP代理服务器.md
This commit is contained in:
@@ -22,7 +22,7 @@ export no_proxy="localhost,127.0.0.1,::1,192.168.*,10.*"
|
||||
source ~/.bashrc
|
||||
```
|
||||
|
||||
## 对所有用户生效
|
||||
## 对所有用户生效(需重启系统)
|
||||
|
||||
```bash
|
||||
sudo nano /etc/environment
|
||||
@@ -41,6 +41,4 @@ no_proxy="localhost,127.0.0.1,::1"
|
||||
|
||||
```bash
|
||||
sudo reboot
|
||||
```
|
||||
|
||||
重启系统才能生效
|
||||
```
|
||||
Reference in New Issue
Block a user