|
|
@ -91,8 +91,6 @@ vi /etc/NetworkManager/system-connections/ens192.nmconnection
|
|
|
|
|
|
|
|
|
|
|
|
- **关闭$SeLinux$**
|
|
|
|
- **关闭$SeLinux$**
|
|
|
|
|
|
|
|
|
|
|
|
- 似乎$RockyLinux$默认就是关闭的$SeLinux$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
# 临时关闭
|
|
|
|
# 临时关闭
|
|
|
|
setenforce 0
|
|
|
|
setenforce 0
|
|
|
@ -101,7 +99,7 @@ vi /etc/NetworkManager/system-connections/ens192.nmconnection
|
|
|
|
改:7 SELINUX=enforcing #前面的 7,表示文档中第 7 行。方便你查找
|
|
|
|
改:7 SELINUX=enforcing #前面的 7,表示文档中第 7 行。方便你查找
|
|
|
|
为:7 SELINUX=disabled
|
|
|
|
为:7 SELINUX=disabled
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
- **关闭防火墙**
|
|
|
|
- **关闭防火墙**
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|