this post was submitted on 12 May 2024
1046 points (98.2% liked)

Open Source

31358 readers
286 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@lemmy.world 15 points 6 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@lemmy.world 3 points 6 months ago (1 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@lemmy.world 1 points 6 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 :)

[–] wild@lemmy.world 1 points 6 months ago (1 children)

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

[–] merthyr1831@lemmy.world 4 points 6 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