this post was submitted on 12 May 2024
1010 points (98.0% liked)

Open Source

31654 readers
148 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] merthyr1831 15 points 7 months ago (2 children)

DietPi, for setting up an SBC (ie raspberry pi) with common server software. very good for a first-time self hoster like myself.

[–] jadedwench 3 points 7 months ago (2 children)

I use this on all on my Pis. It just works. I like the text config file for headless installation and how you can even add scripts to run on install too.

[–] merthyr1831 1 points 7 months ago

Yeah it's nice to have a "IaC-lite" setup for stuff. Could definitely do an involved install but for my use case its not too involved :)

[–] Aux 1 points 7 months ago (1 children)

These config files are a standard feature of Raspberry OS. That's how all my Pies are set up initially (but once they are up and running I'm using Ansible for management).

[–] jadedwench 1 points 7 months ago

We are talking about the dietpi config file. It does a little more setup and the OS has some nice built in utilities they make.

[–] wild 1 points 7 months ago (1 children)

Can you share what most folks use DietPi for? I searched but found mostly only installation videos.

[–] merthyr1831 4 points 7 months ago

TLDR it's a Debian/Linux image that comes preconfigured for raspberry pis and other small single board computers.


Firstly, it's quite minimal for a "full featured" Linux distro, reducing RAM and CPU usage which are usually in high demand on SBCs. But it also doesn't remove stuff that a typical linux user needs, so no weird configuration to get your regular suite of apps running.

Secondly, it has a library of utilities for managing your computer from the command line. Such as common raspberry pi configuration, setting up and managing cron jobs, services, DDNS, VPNs, disks, etc.

Thirdly, it has its own "repository" of applications, which are really just regular Debian packages but with extra scripts to configure said software for the typical user. Stuff like, installing and configuring a database, webserver, python, php are all done alongside your software setup, and it "just works".


It's usually used for hosting services like Plex, Jellyfin, Nextcloud, and other utilities with minimal effort but it's really just like any other Linux and you can do whatever you like to it.

dietpi.com if you wanna read about it from the devs