Kategorie
Home DIY NAS on Raspberry Pi 4 - installation
Home DIY NAS on Raspberry Pi 4 - installation
What do we need?
Hardware
Raspberry Pi 4B 2GB or more
minimum 16GB microSD card (high speed, i.e. SanDisk High Endurance, etc.)
USB 3.1 hub with external power (we can recommend i-TEC POWERED USB HUBS)
2,5" discs (HDD or SSD) - 2, 4, 8 or more (internal + USB3.0/SATA adapter or external)
Accessories - USB - USB-C adapter, LAN cable, screws
Case
Hint: If we want the home NAS to look compact, the best solution is to get the smallest computer case as possible. There are no limits to the choice of design or colour. Components can be folded/mounted in such a case and the NAS will look compactly.
Software
We use the open source Open Media Vault solution for this application referred to as OMV.
Edit 10/2022
For imaging process, instead of Etcher, we will use Raspberry Pi Imager available for Linux, Mac and Windows. Because of security, new images does not contains default password for pi user and this should be done somehow. The mosr easy way is his utility. To download click on link below.
https://www.raspberrypi.com/software/
After installation, choose Raspberry Pi OS Lite (64-bit) under Operating System option.
Choose your SD card (be aware you choose right device!) under Settings, Enable SSH and set default username and password! Click Save and launch Write.
SSH support already exists for Windows 10 users built into the shell. For other Windows users, I recommend Putty. I don't have to write any more for Linux users. So, we connect via SSH in terminal. Replace the IP address with your address of raspberrypi rom router. User name and password use from the step of the Raspberry Pi Imager. In our case it can be:
ssh opentux@192.168.1.56
After login, perform the OS update with two consecutive commands:
sudo apt-get update
sudo apt-get upgrade
It'll take a few minutes, then finally install the OMV with command bellow:
wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
After a while, your own non-commercial DIY NAS is ready to use. For original instructions in English, see here. Once installed, open a web browser and type your RPi address. You're done.
Add comment