this post was submitted on 11 Jul 2025
140 points (98.6% liked)

Selfhosted

61021 readers
353 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 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.

all 25 comments
sorted by: hot top controversial new old
[–] AMillionMonkeys@lemmy.world 18 points 1 year 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 year 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 11 points 1 year ago* (last edited 1 year ago) (1 children)
  1. Flash DietPi
  2. Boot
  3. Run dietpi-software
  4. Search for pi-hole
  5. Select and install
[–] BroBot9000@lemmy.world 1 points 1 year 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 year ago (1 children)

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

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

Currently reading them while you posted 😊

[–] Onomatopoeia@lemmy.cafe 4 points 1 year ago* (last edited 1 year 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.

[–] AMillionMonkeys@lemmy.world 1 points 1 year ago

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 year 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 1 year ago (1 children)

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

[–] chellomere@lemmy.world 4 points 1 year 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 year 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 year 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

[–] Teppichbrand@feddit.org 1 points 1 year ago* (last edited 1 year 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!

[–] mal3oon@lemmy.world 1 points 1 year 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.

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

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

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

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

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

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

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.

[–] MITM0@lemmy.world 1 points 1 year ago

But does it work on other SBCs like OrangePi ?

[–] Alphane_Moon@lemmy.world 1 points 1 year ago* (last edited 1 year 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 1 year 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 1 year 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.