1. Install required packages

sudo apt update
sudo apt install nfs-common

2. Test if you can mount (optional)

sudo mount -t nfs4 <nfs server's IP>:<remote path> <local path to be mounted>

So in our example, we need to mount /media/nas from nfs server to local folder /mnt/nas

sudo mount -t nfs4 /mnt/nas

3. Add mount entry to /etc/fstab for permenant solution

Lets start editing the file /etc/fstab and add the following line

... /mnt/nas nfs4 defaults,user,exec 0 0

4. Mount using the client

sudo mount -a

Setup a debian instance with a NFS server