sudo apt-get install nfs-kernel-server #oops there are no exports so it won't startsudo /etc/init.d/nfs-kernel-server start
* Not starting NFS kernel daemon: no exports.
#we will use the /tmp/nfstestshare directory for our NFS share
mkdir /tmp/nfstestshare
#add it to /etc/exports (basically what NFS checks to determine what to make an NFS share)
/tmp/nfstestshare 192.168.1.5(rw,sync,no_root_squash)
As you can see the brackets take 3 variables as follows:
sudo /etc/init.d/nfs-kernel-server start
install, nfs, debian, linux, ubuntu, mint, howto, sudo, apt, kernel, server, exports, startsudo, etc, init, daemon, tmp, nfstestshare, directory, mkdir, determine, rw, sync, no_root_squash, brackets, variables, follows, ro, readonly, readwrite, allows,