remove shell

This commit is contained in:
root
2023-09-24 18:46:20 +03:00
parent 78f49dc907
commit 65914f8895
26 changed files with 132 additions and 132 deletions

View File

@ -7,18 +7,18 @@ tags: [linux, nfs]
## Настройка NFS-сервера
### Установка пакета
```shell
```
apt -y install nfs-kernel-server
```
### Создание каталога, который будет расшарен
```shell
```
mkdir /nfs
chmod 777 /nfs
```
### Разрешение сетевого доступа
```shell
```
/nfs <client-ip>(rw,sync,no_root_squash,no_subtree_check)
# /etc/exports
@ -27,17 +27,17 @@ chmod 777 /nfs
## Настройка NFS-клиента
### Установка пакета
```shell
```
apt -y install nfs-common
```
### Запуск службы
``` shell
```
systemctl enable --now rpcbind
```
### Автомонитрование
```shell
```
<server-ip>:/nfs /nfs nfs defaults 0 0
# /etc/fstab