If you encounter the following error “RPC Error: Program not registered” when you try to mount a NFS remote directory or the permissions are OK but root can’t write on the mounted folder, add the the following to /etc/export:

From:

To:

Example

Server1 – where its “mounted”

Server2 – where its “shared”

Ran the following on Server2