This repository contains the scripts and configuration files that I use to turn my Raspberry pi 4 into a NAS using the Raspberry Pi - Quad NAS Kit, 4x SATA.
The following hardware is required to use these scripts:
- Raspberry pi 4
- microSD card
- Quad SATA kit
- 4x 2.5 inch hdd
Warning DO NOT run the install.sh
script if you do not fully understand what it does. Seriously, DON'T!
You will have to run the install.sh
twice. The first time it will install all the necessary packages after that it will ask to reboot the system. When the system is back online run the install.sh
for the second time, the script should automatically detect if it's running for the second time and will configure the network setting and much more.
$ git clone https://github.com/AntonVanAssche/rpi-nas.git
$ chmod +x rpi-nas/*.sh
$ ./rpi-nas/install.sh
Name | Usage |
---|---|
Grafana | Data visualization platform |
Prometheus | Data scource for Grafana |
Node-exporter | Exporter for machine metrics |
Samba | File sharing software using the SMB-protocol |
Vim | Text editor |
SATA-hat software | Necessary software in order to use the SATA hat |
Pihole | DNS level ad blocking software |
Pivpn | VPN for Raspberry Pi |
The following will be configured after running these scripts:
These scripts aren't perfect therefore suggestions/improvements are always welcome!
The files and scripts in this repository are licensed under the MIT License, which is a very permissive license allowing you to use, modify, copy, distribute, sell, give away, etc. the software. In other words, do what you want with it. The only requirement with the MIT License is that the license and copyright notice must be provided with the software.