this post was submitted on 11 Jul 2025
129 points (99.2% liked)

Selfhosted

49411 readers
878 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Do you guys know about DietPi? I use it on two Raspberry Pi, just installed it on a Wyse mini-PC and I think it's really great:

Truly Optimised
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.

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.

top 26 comments
sorted by: hot top controversial new old
[–] somerandomname@lemmy.ml 9 points 14 hours ago (1 children)

I use it and love it, but still think the logo is a bit weird, reminds me of some evil message you see after a virus crashed your PC 😁.

[–] Teppichbrand@feddit.org 5 points 12 hours ago* (last edited 12 hours ago)

Agreed. The tagline "lightweight justice" always sounded strange to me as well. They could definitely go with a friendlier, more mainstream design.

[–] hobbsc@lemmy.sdf.org 4 points 12 hours ago

big fan. used it on a pi zero w that I had hosting my PiHole for years. when the hardware finally died, I just installed dietpi on a VM in my proxmox server and used it for pihole again.

sure, I could've used another distro but it only seemed fitting for this use case.

[–] AMillionMonkeys@lemmy.world 18 points 1 day ago (2 children)

I run it for my pi-hole. It's been great. It tells you when there are package updates when you log in, which I find helpful.

[–] BroBot9000@lemmy.world 3 points 1 day ago (3 children)

Got a tutorial link to set up the piehole with it? In the process of setting up my piehole with the default instructions from their website.

[–] c24w@lemmy.world 10 points 1 day ago* (last edited 1 day ago) (1 children)
  1. Flash DietPi
  2. Boot
  3. Run dietpi-software
  4. Search for pi-hole
  5. Select and install
[–] BroBot9000@lemmy.world 2 points 1 day ago (1 children)

Thanks but I was hoping for a link with some more breakdown of the installation process and more resources to learn.

[–] c24w@lemmy.world 6 points 1 day ago (1 children)

Ah, I see. Have you tried the official docs?

[–] BroBot9000@lemmy.world 5 points 1 day ago

Currently reading them while you posted 😊

[–] Onomatopoeia@lemmy.cafe 4 points 1 day ago* (last edited 1 day ago)

Dietpi.com

They have images for all sorts of devices, and for virtualization platforms (I run mine in VMware).

I ran a different one once before (built a Linux VM, installed Pi), this one was much easier, and it just works.

Unfortunately I can't remember whether I downloaded pihole from some package manager within DietPi, or whether I used the instructions on pihole's site. It's not hard either way, it's really just one package.

[–] chellomere@lemmy.world 1 points 1 day ago (1 children)

A gui is unnecessary for something like pi-hole. As for updates, you can easily automate installation of security updates via unattended-upgrades.

[–] AMillionMonkeys@lemmy.world 2 points 23 hours ago (1 children)

Given pihole's recent record with updates, I'm not sure I want them firing automatically.

[–] chellomere@lemmy.world 4 points 18 hours ago

Whether you automate pihole upgrades is separate from whether you automate debian package updates. I recommend at least automatically installing security updates for the OS, unless you want to manually keep track and do this for all your devices.

[–] tenebrisnox@feddit.uk 8 points 1 day ago (1 children)

It's great. I've been using it for nearly a year and it just works brilliantly.

[–] meltedcheese@c.im 0 points 1 day ago (2 children)

@tenebrisnox @Teppichbrand Would you recommend #DietPi for a #RPi Zero running a slim #HomeAssistant that will be dedicated to drive a kiosk? (no camera feeds)

#homeAutomation

[–] mal3oon@lemmy.world 1 points 12 hours ago

I have been running Hassio on my rpi2 dietpi (supervisor mode) for 3-4 years now. Surprisingly, it's alive still. I am mot sure hassio still support this method (all docker managed), but if you're comfortable with linux you can make it work.

[–] Teppichbrand@feddit.org 1 points 12 hours ago* (last edited 12 hours ago)

Yeah, if the software is supported and your hardware is sufficient. I don't run home automation so I don't know. But evcc works great!

[–] kindenough@kbin.earth 7 points 1 day ago

Yes I agree it is great. I am using it on a Raspberry Pi 400 for pihole. It's lean and conveniant.

[–] Cyberflunk@lemmy.world 2 points 1 day ago

Alpine all the way for me, but Dietpi was my gateway drug

[–] Alphane_Moon@lemmy.world 1 points 22 hours ago* (last edited 9 hours ago) (1 children)

I've been using DietPi on my SBC home servers (NAS, media service, pi-hope, etc.) since 2017 or so.

It's an excellent distro for headless operation and makes CLI easy to use for somewhat casual users.

[–] rezz@lemmy.world 2 points 10 hours ago (1 children)

For media, I use Jellyfin on an M1 MacMini.

How do you get around RAM requirements on SBC home servers with little devices like this? I am often streaming 4K files and the encoding/decoding can sometimes be mildly intensive depending on the file.

[–] Alphane_Moon@lemmy.world 1 points 9 hours ago

I have a Raspberry Pi 4B. Clients can directly play the media without any need for realtime transcoding. I could 4K transcoding being challenging for older Raspberry Pi SBCs.

[–] negativenull@lemmy.world 2 points 1 day ago

I run DietPi on an OrangePi5+ to run Jellyfin on. It's brilliant

[–] jogai_san@lemmy.world 3 points 1 day ago

How does it handle kernel updates? Can it do live patching?

I've been running DietPi for years. Its so lightweight and stable. I love GUI-less Debian and its chefs kiss on a Raspberry Pi.