|
@@ -62,11 +62,10 @@ sudo docker run -d \
|
|
|
### 6.查找工控机
|
|
|
|
|
|
```
|
|
|
-sudo apt install nmap
|
|
|
-nmap -n -v -sT -p 22 192.168.3.0/24 | grep 'open'
|
|
|
+sudo apt -y install nmap && nmap -n -v -sT -p 22 192.168.3.0/24 | grep 'open'
|
|
|
+
|
|
|
+sudo echo 'Acquire::http::Proxy "http://192.168.3.251:6667/";' > /etc/apt/apt.conf
|
|
|
|
|
|
-sudo vi /etc/apt/apt.conf
|
|
|
|
|
|
-Acquire::http::Proxy "http://192.168.3.251:6667/";
|
|
|
|
|
|
```
|