Service - NFS | Ubuntu
https://ubuntu.com/server/docs/service-nfsAt a terminal prompt enter the following command to install the NFS Server: sudo apt install nfs-kernel-server To start the NFS server, you can run the following command at a terminal prompt: sudo systemctl start nfs-kernel-server.service Configuration. You can configure the directories to be exported by adding them to the /etc/exports file.
Service - NFS | Ubuntu
ubuntu.com › server › docsAn alternate way to mount an NFS share from another machine is to add a line to the /etc/fstab file. The line must state the hostname of the NFS server, the directory on the server being exported, and the directory on the local machine where the NFS share is to be mounted. The general syntax for the line in /etc/fstab file is as follows: