Shell script to setup NFS server on raspberry pi with a USB Hard Disk.
Find a file
2020-08-22 17:17:40 +05:30
LICENSE.md add: usage docs 2020-08-22 17:17:40 +05:30
README.md add: usage docs 2020-08-22 17:17:40 +05:30
setup.sh add: rpi nfs server setup script 2020-08-22 17:08:37 +05:30

rpi-nfs-server

Shell script to setup NFS server on raspberry pi with a USB Hard Disk.

Usage

Setting up the NFS server on a Raspberry Pi (Raspbian only)

Run the setup.sh script as below:

sudo bash setup.sh

The script will guide you through the steps.

To mount the NFS in the client use the commands below:

Create a directory to mount an nfs share:

sudo mkdir /private/nfs

Mount an NFS file system

sudo mount -o rw -t nfs -o resvport,rw <rpi-ip-on-lan-here>:/srv/nfs/ /private/nfs

License

MIT