vipul-sharma20 / rpi-nfs-server

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Shell 100.0%