Introduction #
DietPi is lightweight debian base operating system, that OS are focus in Single Board Computer with limited resource, my Orange Pi Zero 3 just about 80MB idle RAM usage when done fresh installation. Here features Dietpi offers!
Truly Optimize
DietPi is an extremely lightweight Debian OS, highly optimised for minimal CPU and RAM resource usage, ensuring your SBC always runs at its maximum potential.Simple Interface
DietPi programs use lightweight Whiptail menus. Spend less time staring at the command line, more time enjoying your Pi.Dietpi-Software
Quickly and easily install popular software “ready to run” and optimised for your system. Only the software you need is installed.Dietpi-Config
Quickly and effortlessly customise your device’s hardware and software settings for your needs, including network connection and localisation setup.Dietpi-Backup
Quickly and easily backup or restore your DietPi system. (Most useful feature when i do something wrong)Logging System Choices
You decide how much logging you need. Get a performance boost with DietPi-RAMlog, or, rsyslog and logrotate for log critical servers.Dietpi-Services Control
Control which installed software has higher or lower priority levels: nice, affinity, policy scheduler and more.Dietpi-Update System
DietPi automatically checks for updates and informs you when they are available. Update instantly, without having to write a new image.Dietpi-Automation
Allows you to completely automate a DietPi installation with no user input. Simply by configuring dietpi.txt before powering on.
Also, there is still ton of features im not list up there, so? what we waiting for? its cooking time!
Installation #
Note: This step will reproduce in linux.
First thing you need download Orange Pi Zero 3 image here. After done, you need Microsd + Cardreader to burn the image, to burn the image use whatever tools you want here im using pv, before you burn please extract first.
sudo pv DietPi_OrangePiZero3-ARMv8-Bullseye.img -Yo /dev/sdbAfter you done burn the image, you can eject the microsd and put into device, or if wanna make changes to the configuration before installation, you can open file manager a mounted microsd and modified dietpi.txt file, here im try to change default password or skip this part if you dont.
df -hThis location of mounted mine, and create change with whatever your favor editor.
/dev/sdb2 988K 26K 962K 3% /run/media/user/DIETPISETUPIm using micro here cuz VIM are scarry.
micro /run/media/user/DIETPISETUP/dietpi.txt# AUTO_SETUP_GLOBAL_PASSWORD=dietpi
AUTO_SETUP_GLOBAL_PASSWORD=twentysevnsThe default one is dietpi, and make change to twentysevns, then save! eject the card.
After done put the microsd into device and u ready to go, now you need to plug into monitor or if dont monitor you need connecting into ssh within ip address of device, here the command the ip in my case 192.168.1.111.
ssh root@192.168.1.111After type the command you will ask for the password, if you dont make any changes use default one dietpi, then follow the installation question,
then yaa you’re done, good job!
Conclusion #
The way to optimize limited resource like SBC (Single Board Computer), DietPi are the best choices.