How to Mounting the NFS Share on a Client

First you need to install nfs-common

sudo apt install nfs-common

Next you need to create mount directory

sudo mkdir -p /mnt/nfs_var
sudo mount 192.168.1.100:/var/nfs /mnt/nfs_var

Finally, to mount when on reboot you need to add the following

192.168.1.100:/var/nfs /mnt/nfs_var nfs defaults 0 0

CATEGORIES:

Tips and tricks

Tags:

Comments are closed