Update server package on Debian

This commit is contained in:
exu 2024-01-26 11:21:06 +01:00
parent dfbd4acd30
commit 5174c07f20

View File

@ -5,12 +5,14 @@ visible: true
[toc]
Last modified: 2024-01-26
## Linux Server
`# apt install nfs-kernel-server`
`# apt install nfs-server`
Shares can be configured in `/etc/exports`
`(mountpoint) (allowed_ip)(options) (allowed_ip2)(options)`
`<mountpoint> <allowed_ip>(<option1>,<option2>) <allowed_ip2>(<option1>,...)`
### Options
@ -31,7 +33,7 @@ _Example whole subnet:_
`/mnt/nfs 192.168.1.0/24(rw,sync,no_subtree_check)`
Apply new config by restarting the service.
`# systemctl restart nfs-kernel-server`
`# systemctl restart nfs-server`
Show configured shares
`$ cat /var/lib/nfs/etab`