Mount NFS on Debian 10 Linux in 4 Steps

How to mount a NFS location in Debian 10 Linux in 4 steps

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 192.168.0.100 to local folder /mnt/nas sudo mount -t nfs4 192.168.0.100:/media/nas /mnt/nas 3. Add mount entry to /etc/fstab for permenant solution Lets start editing the file /etc/fstab and add the following line [Read More]

Setup NFS Server in Debian 10 Linux in 3 Steps

How to setup an NFS server in Debian 10 Linux in 3 steps

1. Install required packages sudo apt update sudo apt install nfs-kernel-server 2. Add shared locations in /etc/exports Lets start editing the file /etc/exports and add the following line <location to share> <host which consumes>(<sharing options>) For example in my case, I want to share /media/nas to any host 0.0.0.0/0 with read write access rw. You can find further information about options at the end of this post. ... # /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) # /media/nas 0. [Read More]