Install NFS Server:
# apt install nfs-kernel-server
Setup the NFS Directory:
# vim /etc/exports
Edit:
/home/nfs_dir client_ip(rw,sync,no_subtree_check)
Example, all entire subnet to have access:
/media/ISOs 192.168.21.0(rw,sync,no_subtree_check)
Allow firewall access:
# ufw allow from client_ip port nfs
Restart NFS Server:
# systemctl restart nfs-kernel-server
On the client side:
# apt install nfs-common
Mount the NFS:
# mount nfs-server-ip:/home/nfs_dir /mount_dir