Network File System (NFS) shares are available from the command line. NFS sharing isn’t exposed in the Server app, but is simple to configure. NFS sharing works through the /sbin/nfsd
daemon.
Enable file sharing if it isn’t already enabled.
If the file /etc/exports doesn’t exist, create it from the command line.
Populate the /etc/exports file according to the guidelines in the exports(5)
man page.
Once /etc/exports has been created, /sbin/nfsd
will share the folders via NFS according to your settings.
For more information, see the exports(5)
and nfsd(8)
man pages.