small fix

This commit is contained in:
root
2023-09-30 14:18:44 +03:00
parent a598e645c2
commit 6ebf65cdb9
15 changed files with 59 additions and 67 deletions

View File

@ -18,10 +18,10 @@ chmod 777 /nfs
```
### Разрешение сетевого доступа
```shell
/nfs <client-ip>(rw,sync,no_root_squash,no_subtree_check)
В файл `/etc/exports` необходимо добавить следующую строку:
# /etc/exports
```sh
/nfs <client-ip>(rw,sync,no_root_squash,no_subtree_check)
```
## Настройка NFS-клиента
@ -37,8 +37,8 @@ systemctl enable --now rpcbind
```
### Автомонитрование
В файл `/etc/fstab` необходимо добавить следующую строку:
```shell
<server-ip>:/nfs /nfs nfs defaults 0 0
# /etc/fstab
```