You are reading the second part of the multi part series to Setup NAS on Raspberry Pi.
So, Let's setup on Raspberry PI. I've used Raspberry PI 4 Model B 4 GB. You may use any other variant of the device.
First of all we need to install operating system on your Raspberry PI device. For that attach the SD Card to your Desktop/Laptop using card reader.
Download and install Raspberry Pi Imager to a computer https://www.raspberrypi.com/software/
Put the SD card you'll use with your Raspberry Pi into the reader and run Raspberry Pi Imager.
CHOOSE OS button then select
Raspberry Pi OS (other) option.
Raspberry Pi OS Lite (32-bit). This will be just fine for us as we don't need a GUI.
Now click on
CHOOSE STORAGE and select the SD Card you have attached to the computer.
Warning: make sure you select the correct device as this step will erase any data on the device.
One more thing before we write we have to enable the ssh. For that press
ctrl + shift + x this will open below Advance options window.
As you can see above check
Enable SSH and select
Use password authentication (you may select public-key authentication if need) then insert the password which you will need to ssh into the device later.
WRITE button to install the OS on SD card.
This will take some time. It will download the Image from server if it is not already cached so take a coffee break.
Insert the Memory card in Raspberry Pi. Connect the power cable and attach the Raspberry Pi to network using ethernet cable.
Now we are going to access and log into Raspberry Pi via SSH, but to do that we need to know the IP address. How can we find the IP address? the easiest way is to check your home router. Your home router will give out and IP address to your Raspberry Pi via DHCP, just look at the last device that signed in and got and IP address for me.
Most probably the connected
model will be named Raspberry Pi.
Now once we have IP address in my case it is
ssh into the device. Open terminal and run the below command.
This will ask you
Are you want to continue connection? just put
yes. It will ask you to insert password, insert the one you set earlier else default would be
Now you should be in.
That is it for this part you can continue with the reading the rest of parts.