Set up an NFS Server on Devuan
Pretty straightforward.
Install the necessary packages
|
|
Create virtual root
|
|
Create a directory (or more) under virtual root directory
|
|
Mount filesystems to be exported under virtual root directory
|
|
Make the mount points persistent. Append them to /etc/fstab
.
|
|
Put the following in /etc/exports
(assuming access is granted to the clients in the 192.0.2.0/24
IP network. Client access can also be specified as a single host using IP address or fully qualified domain name, or * character to grant access to all clients).
|
|
Configure the daemon. Edit /etc/conf.d/nfs
|
|
Start NFS server (assuming OpenRC. See your init system’s documentation)
|
|
Start NFS server at boot
|
|
See detailed (and more) instructions on Gentoo wiki.
Author Aditya
LastMod 2022-04-29 (67aec77)