DietPi
log2ram
Our great sponsors
DietPi | log2ram | |
---|---|---|
306 | 50 | |
4,535 | 2,502 | |
- | - | |
9.8 | 4.5 | |
4 days ago | 5 months ago | |
Shell | Shell | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
DietPi
- Home Lab Guide
- DietPi – Highly optimised minimal Debian OS
-
DietPi released a new version 9.1
DietPi is a lightweight Debian based Linux distribution for SBCs and server systems, with the option to install desktop environments, too. It ships as minimal image but allows to install complete and ready-to-use software stacks with a set of console based shell dialogs and scripts.
The source code is hosted on GitHub: https://github.com/MichaIng/DietPi
-
Considerations for a long-running Raspberry Pi
That's a good point, but the array of devices supported by the DietPi team is extensive: https://dietpi.com/
-
The Orange Pi 5
Before someone starts the usual yadda yadda about the RPi biger community, the OS not having long time support etc. I would repeat one more time: do not rely on board vendor supplied images; this is valid for pretty much all boards. Just go to Armbian or DietPi pages and you'll almost certainly find one or more images that work on your board and forums to discuss about them with very knowledgeable people.
https://www.armbian.com/download/
https://dietpi.com/#download
Those projects are well worth a contribution, as they don't have a giant like Broadcom behind them.
-
OpenWrt One/AP-24.XY: new open source router board by OpenWrt and Banana Pi
> bananapi do a lot of boards but their software story has been a bit poor
This is quite common with other board manufacturers too. I'd rather suggest to ignore completely their cobbled together distros, often also tainted by proprietary modifications, that become unmaintained in a few years, and see if they're among the many supported by Armbian or DietPi.
https://www.armbian.com/download/
https://dietpi.com/#download
- DietPi: Lightweight Debian OS, optimised for minimal CPU, RAM usage
-
DietPi released a new version 8.25
The full release notes can be found at: https://dietpi.com/docs/releases/v8_25/
-
Looking for a way to remote in to K's of raspberry pi's...
RPi OS = diet pi https://dietpi.com/ - initial config via text file - SDcard burning out partially mitigated as writes log files to ram then flushes to SDcard reducing write cycles
-
Laptop so slow that even XFCE is laggy. What distro could run better?
You could also try very minimalistic distros like TwisterUI or DietPi which are most known for their use in the RasprebbyPi / SBC computers but which also have editions for desktop / laptop.
log2ram
-
Raspberry Pi 5
Reducing logging, logging to ram and writing to the sdcard once a day helps longevity a lot, especially with quality sd cards.
99% of the time it's the verbose logging of application servers that is the culprit of sdcard failures.
https://github.com/azlux/log2ram
- Pihole Regular Maintenance and Performance
- Using old MicroSD on RPi for PiHole, any issues?
-
Interesting M.2 devices for the HomeLabs
I always use this: https://github.com/azlux/log2ram
-
My remote Pi for my ADSB is going bad
If you've got other issues then it's quite likely that lots of small writes from logging and similar has worn out the SD card, mounting the SD card as read only or installing log2ram could prevent it happening to another SD card.
-
EsPiFF: An ESP32 in the Raspberry Pi form factor
> writing permanent its log files and swap partition
If this is the problem, the solutions are no swap and log2ram https://github.com/azlux/log2ram
I also noticed that Armbian logs to a ramdisk. I didn't investigate the implementation and if its contents survive a reboot.
The only real problems for me are that the SD card will eventually fail no matter what (I mean, much sooner than a SDD or HDD) and that there are basically no Pis at sale at a reasonable price. As a platform it is nearly dead.
-
Can My I5 2300(12GB RAM) Server Handle This Workload
For Pi-hole, I have an Rpi Zero with $10 Usb-to-Ethernet adapter, SD-card barely written (with Log2Ram) to avoid wear. Running about 3 years now almost unattended (besides security updates).
-
I finally found an use case for my Raspberry Pi Model B+
In addition to the other helpful suggestions you’ve received, look into using Log2Ram. It does what it sounds like, puts log writes in ram and then writes them to disk on a slower cadence that doesn’t work your SD card that much.
https://github.com/azlux/log2ram
-
Reduce disk writes for Ubuntu, save your USB stick
Log files are a bit trickier. I want these to stick around between reboots, so just storing them on a ramdisk wouldn't really work. Thankfully, log2ram solves this problem. Written primarily for Raspberry Pi machines, it works fine on x86-64 laptops. This stores /var/log in RAM but will sync the contents to disk from time to time, ideal for our needs.
- Dumb question….
What are some alternatives?
OpenMediaVault - openmediavault is the next generation network attached storage (NAS) solution based on Debian Linux. Thanks to the modular design of the framework it can be enhanced via plugins. openmediavault is primarily designed to be used in home environments or small home offices.
zram-init - A wrapper script for the zram linux kernel module with zsh and openrc support
NextCloudPi - 📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, Docker, curl installer...
docker-pi-hole - Pi-hole in a docker container
Open and cheap DIY IP-KVM based on Raspberry Pi - Open and inexpensive DIY IP-KVM based on Raspberry Pi
yunohost - YunoHost is an operating system aiming to simplify as much as possible the administration of a server. This repository corresponds to the core code, written mostly in Python and Bash.
DockSTARTer - DockSTARTer helps you get started with running apps in Docker.
folder2ram - mount those folders to ram without losing access to their counterpart on disk!
FreeNAS - TrueNAS CORE/Enterprise/SCALE Middleware Git Repository [Moved to: https://github.com/truenas/middleware]
rpi-clone - A shell script to clone a booted disk.
Ansible-NAS - Build a full-featured home server or NAS replacement with an Ubuntu box and this playbook.
Technitium DNS Server - Technitium DNS Server