Setup Diet Pi on Raspberry Pi 3 – Lightweight Server OS

Looking for a lightweight home server OS for Raspberry Pi? Take a look at Diet Pi. This post shows how to setup Diet Pi on Raspberry Pi 3. Diet Pi is a truly optimized and lightweight operating system for Raspberry Pi. It is based on Debian, so even our famous AtoMiC ToolKit should work on it. In my opinion, it is a top choice to setup home server, media servers, file servers, download stations, etc. on Raspberry Pi. What's more, Diet Pi even comes with pre-configured packages for popular home server apps that can automate media management. Let's go ahead and see how to install Diet Pi on Raspberry Pi 3.

Setup Diet Pi on Raspberry Pi 3

Diet Pi is made specifically for low powered devices like the Raspberry Pi and Odroid. It is compatible with a wide range of devices and it offers a stable base for the services you want to install. Besides that, the DietPi OS has optimized software installers compiled specifically for the Raspberry Pi 3 that automate the install process, making the setup a simple process. [Read: 7 Raspberry Pi accessories to build a Kodi media center]

1. Download DietPiΒ Image for RPi3

First, download the DietPi image for RaspberryPiΒ by going on the DietPi Website. Click on the DOWNLOAD button, then select the Raspberry Pi and finally click on the download button.

Download Diet Pi For Raspberry Pi 3
Dietpi Download For Raspberry Pi

2. Download Etcher - For writing DietPiΒ image to SD card

While the DietPiΒ image is downloading, we need to download an app for writing the image to the SD Card. I am using Etcher because it also performs validation after writing the .img file and it has a really easy to use interface. In order to download it, just go on etcher.io site then click on the arrow next to the Download for Windows button, then select the portable version for Windows.

Download Etcher To Setup Dietpi On Rpi3
Download Etcher Portable For Windows

3. Install Diet PiΒ on Raspberry Pi 3

After downloading both archives make sure you extract them so you have the DietPiΒ .img file and the folder for Etcher like in the screenshot below and proceed with theΒ Raspberry Pi Diet Pi installation.

Install Diet Pi On Raspberry Pi With Etcher
Etcher And Dietpi Img For Raspberry Pi 3

Next, plug in the SD Card in the computer,Β go to the extracted Etcher folder, and double click on Etcher.exe to openΒ it. When Etcher is open, first, select the DietPiΒ image, next select the SD Card you previously inserted, and click Finish to start writing the image, as shown in the picture below.

Raspberry Pi Diet Pi Installation With Etcher
Write Dietpi Image To Card Using Etcher

After clicking on the Flash! button, Etcher will start writing the .img file to the SD card.

Setup Diet Pi On Raspberry Pi 3
Etcher Write Img Process

Wait until you get the "Flash Complete!" confirmation that the image has been flashed successfully thenΒ take your SD card out and plug it into your Raspberry Pi3.

Setup Diet Pi Os On Raspberry Pi3
Etcher Confirmation That The .Img File Has Been Flashed Successfully

Next, connect the power cable to the Raspberrry Pi and the DietPiΒ boot process will beginΒ which takes about 2 minutes. Now all you need to do is wait for DietPi to display the IP where you can connect viaΒ SSH. You are now ready to setup yourΒ Raspberry PiΒ home server.

Atomic-Toolkit-LogoLooking for an automated solution? Try our AtoMiC ToolKit, which makes installation and management of Home Server software such as SickBeard, CouchPotato, Torrent clients, etc. easy.

Connect to your Raspberry Pi 3 via SSH

Connecting to your Raspberry Pi 3 via SSH is really easy. You just need to use a SSH Client and enter the IP of the SSH device you want to connect to.

First, make sure you download PuttyΒ on your computer and open it. [Read: 10 best SSH Clients for Windows: free alternatives to PuTTY]

Next, type the IP for your device, the port (22 is the default port for SSH), and select SSH, then click on the Open button to start the connection.

Ssh Connection To Diet Pi On Rpi3
Putty Connection Via Ssh

AΒ link to the Raspberry Pi will be made and the Login prompt will appear. For DietPi the default username is root and the password is dietpi.

Diet Pi Ssh Login
Ssh Login

If the credentials used are correct, DietPi will start it's automatic update process, to make sure you are using the latest version. This process usually takes about 5 minutes, so wait patiently until you get the confirmation that the update has been completed then press enter to reboot the device.

Update Diet Pi Server On Raspberry Pi
Dietpi Update Process Finished

Once Raspberry Pi 3 with Diet Pi reboots, you can now connect through SSH and use DietPi-Software app to install several home server apps.

Diet Pi Installation on Raspberry Pi 3 is now complete. What do do next?

Congratulations! You managed to setup Diet Pi on Raspberry Pi 3 and you now have a dedicated Raspberry Pi Home Server for installing apps such as SickRage, Plex, Emby, etc. This home server setup will be one of the most lightweight lower-power setup you can build. It will cost you less than $10 to keep it running 24/7 for a year. It is hard to beat that. Sounds exciting? Go ahead setup Diet Pi on Raspberry Pi 3 and follow the upcoming guides to setup the server.

Be the 1 in 200,000. Help us sustain what we do.
34 / 150 by Dec 31, 2024
Join Us (starting from just $1.67/month)

Anand

Anand is a self-learned computer enthusiast, hopeless tinkerer (if it ain't broke, fix it), a part-time blogger, and a Scientist during the day. He has been blogging since 2010 on Linux, Ubuntu, Home/Media/File Servers, Smart Home Automation, and related HOW-TOs.