补充防火墙配置.

Signed-off-by: lion.chan <cy187lion@sina.com>
This commit is contained in:
lion.chan 2020-05-30 09:36:22 +08:00
parent 647efd7d4c
commit 81744310a9
1 changed files with 9 additions and 0 deletions

View File

@ -59,6 +59,15 @@ sudo systemctl stop nfs-server
sudo systemctl disable nfs-server
```
## 防火墙配置
```sh
firewall-cmd --permanent --zone public --add-service mountd
firewall-cmd --permanent --zone public --add-service rpc-bind
firewall-cmd --permanent --zone public --add-service nfs
firewall-cmd --reload
```
## 挂载 NFS 文件系统
```bash