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
16GB microSD card (high speed, i.e. SanDisk Extreme PRO/PLUS)
USB 3.1 hub with external power (5, 8, 10 ports depends on number of discs in NAS)
2,5" discs (HDD or SSD) - 2, 4, 8 or more
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. Download the original image of the Raspbian Buster Lite operating system from the official Raspberry Pi website. Insert the SD card for Rasberry Pi 4 B into your computer and download the Etcher software. For Linux on Debian there is .deb. For Windows, we recommend a Portable version (no installation). Simply run Etcher, select the image (.iso or .zip), select the SD card and press Flash!
After finish, eject and reinsert the SD card back to your computer. You should see two partitions. The boot and rootfs. Open the boot partition and create a new empty file named ssh without any extension.
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.
ssh pi@192.168.1.56
Default password is raspberry. After login run configuration tool and change your default password for user pi.
sudo raspi-config
Choose Change User Password and you will be prompted to change your password for pi user. End this utility by pressing the Finish option, you don't have to restart. 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.
In the next article, we look at the basic configuration.
Add comment