How to Create a NFS Share Server on Slackware

  1. Create the NFS Share directory. You can change the name “/nfs” to wherever and whatever you want. Just be sure to remember the path and name
    mkdir /nfs
  2. Add the NFS Share to the /etc/exports file. Change the ip address to your NFS Servers ip address.
    echo "/nfs,sync,no_subtree_check)" >> /etc/exports
  3. Next we chmod /etc/rc.d/rc.nfsd and rc.rpc so that they can be executed to start the service
    chmod 755 /etc/rc.d/rc.nfsd
    chmod 755 /etc/rc.d/rc.rpc
  4. Start rpc and nfsd
    /etc/rc.d/rc.nfsd start
    /etc/rc.d/rc.rpc start
  5. Export the Share
    exports -a
  6. Connect a Client and have fun