Network File System (NFS) is used to share directories and files over a network with other Linux clients.
Install NFS Kernel Server
apt install nfs-kernel-server
Add the location you'd like to share to /etc/exports
vim /etc/exports
Reference the directory/file you want to share on the server
/mnt/nfs-mount1 192.168.1.0/24(rw,sync,no_subtree_check)
Export the NFS share directory and restart the NFS kernel server
exportfs -a
systemctl restart nfs-kernel-server
Make sure port 2049/tcp is open and accessible for nfs clients to connect to.
Install NFS Common
apt install nfs-common
Create a new mount point
mkdir /mnt/nfs-mount
Add the NFS Share to /etc/fstab
# <file system> <dir> <type> <options> <dump> <pass>
192.168.1.55:/mnt/nfs-mount /mnt/nfs-mount nfs defaults 0 0