NFS Network File Share

Posted on

Set Up NFS

Sudo apt-get install nfs-kernel-server

Create or select a folder to share on nfs server

ex:
sudo mkdir /mnt/[folder name]
Set Permissions on folder
sudo chmod -R 777 /mnt/[folder name]
open the nfs exports file to configure paths to be shared and the acces

Open configuration file located in /etc/default/nfs-kernel-server

/add to file as New Line

/mnt/[folder name] *(rw,sync)

Save file
Read new exports file
sudo exportfs

^o ctrl+o output
^x ctrl+x exit