From 5174c07f203c94ca528d87719dc8e1a50a152c8f Mon Sep 17 00:00:00 2001 From: exu Date: Fri, 26 Jan 2024 11:21:06 +0100 Subject: [PATCH] Update server package on Debian --- pages/04.other/nfs/default.en.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/04.other/nfs/default.en.md b/pages/04.other/nfs/default.en.md index 060f85e..5f8ff89 100644 --- a/pages/04.other/nfs/default.en.md +++ b/pages/04.other/nfs/default.en.md @@ -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)` +` (,) (,...)` ### 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`