71
submitted 1 year ago by winety@lemmy.zip to c/linux@lemmy.ml

Hiya!

I have a Raspberry Pi 4B set up as a print server, so it has to run 24/7. But it irks me that it's mostly idling.

I'd move my website to it, but I don't want to deal with it being open to the internet. The same goes for an e-mail server.

I was also thinking of running a Minecraft server on it. (Being able to play on the same world from different devices is kinda cool.) Alas, my RPi only has 4 GiBs of RAM. I worry that such a load would interfere with the print server.

Any ideas what I could run on it?

top 50 comments
sorted by: hot top new old
[-] slacktoid@lemmy.ml 32 points 1 year ago

Pihole, homeassistant, a music server using moodeaudio

[-] b72@lemmy.ml 20 points 1 year ago

Another vote for Pi-hole here. I don’t know how I lived without it before!

[-] winety@lemmy.zip 6 points 1 year ago

I use an adblocker on both my PC and my phone. Does a Pi-hole have many advantages over that?

[-] thejml@sh.itjust.works 21 points 1 year ago

PiHole is DNS based ad blocking and local DNS for everything on your network. So, even things that can’t run their own adblocker.

[-] winety@lemmy.zip 5 points 1 year ago

So it can block ads in Google Chrome on my moms phone? Then I'll have to figure out how to set it up!

Do you often run into issues when blocking traffic like this? I can imagine some software (i.e. Samsung's or Google's bloatware) kicking up a fuss.

[-] bdonvr@thelemmy.club 8 points 1 year ago

Sometimes it can. Google and Samsung never had an issue though. The more ad lists you setup the more false-positives you get.

But 99% of the time it's fine. The other 1% you open the dashboard and look at the last few blocks and whitelist whatever it causing issues.

[-] thejml@sh.itjust.works 5 points 1 year ago

Sometimes I’ve found a site that gets partially blocked and causes a fuss. There’s an option to allowlist domain(s).

Also, some sites try to use ad domains to serve legit traffic, and some use legit domains to serve ads, so it’s not perfect, but it works pretty darn well overall.

[-] slacktoid@lemmy.ml 5 points 1 year ago

Depends on the level of block lists you add. The defaults are pretty sane and it doesn't need any configuration, you configure your router to use it

[-] oktoberpaard@feddit.nl 4 points 1 year ago* (last edited 1 year ago)

Ive been using the OISD list for myself and family members for the past couple of years without issues. It’s specifically made to to be unnoticeable, by whitelisting hosts that would cause issues.

One thing to note is that it’s not a full replacement for adblockers, as DNS blockers can only block full hosts and not all ads and tracking are served from dedicated hostnames. Things like YouTube ads will be unaffected by DNS based blocking. It does really make a difference, though, including for apps with banners.

load more comments (1 replies)
[-] b72@lemmy.ml 10 points 1 year ago

One major advantage is that on the domestic TV channels here in the UK which have ad breaks (essentially all of them except the BBC) it removes the ads altogether and the programmes run seamlessly from the part before the ad break into the part after. I still smile every time it happens!

[-] winety@lemmy.zip 4 points 1 year ago

That sounds cool as heck! But I am very confused about how television broadcasting works in the UK. This only works with some sort of over-the-internet TV, right?

[-] b72@lemmy.ml 5 points 1 year ago

Yes, that’s right. It would only work with TV over the internet and not with a digital signal transmitted direct to the TV via aerial.

load more comments (1 replies)
load more comments (5 replies)
[-] Quazatron@lemmy.world 15 points 1 year ago

Another vote for PiHole. It keeps your home network cleaner by ignoring the ads.

[-] tkw8@lemm.ee 14 points 1 year ago

On my Rpi4B I run syncthing 24/7. It acts as my sync hub. All other machines are connected to it.

[-] Cobrachicken@lemmy.world 9 points 1 year ago

SANE scan server? Paperless ngx also comes to my mind, find it pretty useful.

[-] winety@lemmy.zip 6 points 1 year ago

I was trying to set up a scan server last week. No luck yet. 😅

Paperless ngx looks looks amazing. I was actually thinking of finding a solution for this type of thing as pdfgrep was getting kinda slow.

[-] sic_semper_tyrannis@lemmy.today 8 points 1 year ago

Paperless ngx

[-] grantorinowhiskey@lemmy.ml 7 points 1 year ago

Some great light lightweight apps for a 4GB Pi:

  • Homeassistant
  • Fresh RSS
  • Paperless NGX
  • Syncthing
  • PiHole or Adguard home
  • Syncthing
[-] randombullet@programming.dev 6 points 1 year ago
[-] MangoCats@feddit.it 6 points 1 year ago

PiHole is a pretty light load, as are Home Assistant and Music Assistant. Frigate starts to make some heat, so don't expect to get a full blown video classification / recording system.

[-] troglodytis@lemmy.world 6 points 1 year ago

Get yourself and adsb antenna and feed flightaware, flightradar24, and adsbexchange. Help track the skies!

[-] Kidplayer_666@lemm.ee 6 points 1 year ago

Maybe Nextcloud? Jellyfin?

[-] winety@lemmy.zip 2 points 1 year ago

I'll add Jellyfin to the list! Do you need a specific client to receive a stream or can say VLC or mpv do it?

[-] owenfromcanada@lemmy.ca 4 points 1 year ago

Typically a web browser or dedicated app, but it's open source so there are options. You might be able to stream directly with VLC, not sure.

[-] MentalEdge@sopuli.xyz 4 points 1 year ago

You can use VLC if you get the stream url via a web browser, first. MPV can do the same.

The problem is VLC/MPV don't have a built-in way to browse and pick what you want to play.

load more comments (1 replies)
load more comments (1 replies)
[-] dan69@lemmy.world 5 points 1 year ago

You could pihole

[-] boydster@sh.itjust.works 5 points 1 year ago

PiHole, PiVPN, maybe a reverse proxy like nginx proxy manager to make connecting to your various web management portals you have an easy way to map it to a human readable url

[-] pitiable_sandwich540@feddit.org 5 points 1 year ago

You could also setup a git repo for your config files. That way you could revert changes, if you break something.

If you don't want do open your pi up to the internet you could take a look at tailscale. I use this script on my laptop and home pc to share files with sshfs while having any other traffic go through mullvad. Set this up on your pi with it as an exit node and you basically have access from anywhere.

[-] ravermeister@lemmy.rimkus.it 4 points 1 year ago

Nextcloud is very useful, or a lemmy Fediverse Instance

[-] winety@lemmy.zip 3 points 1 year ago

Nextcloud seems a be an alternative to the G-Suite, did I get that right? That move to the cloud kinda missed me. I'm happy with LibreOffice and having everything stored locally.

Do you have experience with running a single-user Lemmy instance? I remember trying out some smaller instances, and they weren't as federated (i.e. I could see less content) than on the bigger ones.

[-] haych@feddit.uk 4 points 1 year ago

AdGuard Home (I prefer it to PiHole)

OtterWiki

Wireguard

Forgejo

Tandoor

load more comments (4 replies)
[-] thespcicifcocean@lemmy.world 4 points 1 year ago

let it run dwarf fortress from within the terminal, then ssh into it from wherever you are so you can play df from anywhere in the world. i did this at work.

[-] wildbus8979@sh.itjust.works 4 points 1 year ago* (last edited 1 year ago)

Another vote for a music server. Gonic/Navidrome is pretty low power and super useful!

Home assistant is another option, but I'll say that if you're serious about home automation you'll quickly outgrow a Pi. It'll run if you only have a handful of devices though.

[-] winety@lemmy.zip 4 points 1 year ago

I like the music server idea! Where do you get your music? Many artists don't even sell CDs nowadays.

Home assistant is probably not for me. The house I live in is still very analogue. I enjoy not having to debug software when investigating why there's no hot water.

[-] wildbus8979@sh.itjust.works 5 points 1 year ago* (last edited 1 year ago)

Plenty of artists still do sell CDs though. I often buy them at the merch stand at shows. Many also sell DRM free digital files on sites like Bandcamp. I also buy a lot of music at the thrift stores and rip them. If all else fails, there's always the high seas.

[-] winety@lemmy.zip 2 points 1 year ago

Almost every time I look on Bandcamp, the artist I am looking for isn't there. :( Also, last time I tried buying something there they only accepted PayPal which I stopped using a while ago. But it seems they accept normal card payments now. Neat.

I buy CDs – I even bought a CD drive to rip them – but international shipping really kills me. I guess brick-and-mortar music shops are still a thing...

load more comments (4 replies)

For CDs, Amazon, ebay, or discogs. Digital music I usually get from the artist's webstore if possible, otherwise I'll buy it from Amazon or BandCamp.

One heads up, Buying and downloading digital music from Amazon is a pain in the butt if you have an Amazon Music subscription. Easy and straightforward though without.

Apple music is also possible but you have to burn the tracks to CD using itunes to move it out of Apple's ecosystem.

I also hear good things about Tidal but I've never used them.

[-] winety@lemmy.zip 2 points 1 year ago

I did not know that Amazon sold digital music. But it kills me that Amazon and Apple are the two big choices. Out of the frying pan into the fire...

I thought that Tidal was a streaming service, and that you can rip music from there like you can from Youtube or Spotify.

[-] wildbus8979@sh.itjust.works 2 points 1 year ago

There's also a lot of smaller solutions, like smaller record label websites, and legacy music stores in whatever country you are.

load more comments (1 replies)
load more comments (1 replies)
load more comments (3 replies)
[-] melroy@kbin.melroy.org 4 points 1 year ago

qbittorrent (docker) 😁😎

[-] eugenia@lemmy.ml 3 points 1 year ago

Jellyfin music server. It needs about 1.2 GB of RAM for itself, plus the system.

load more comments (3 replies)
[-] boydster@sh.itjust.works 3 points 1 year ago

Another idea: dokuwiki, to document your process setting up various service for future reference

load more comments (1 replies)
[-] Brewchin@lemmy.world 3 points 1 year ago

I run AdGuard Home, WireGuard and a couple of other things on my 4B, all in Docker.

I used to run HomeAssistant on our for a while, but they stopped supporting that architecture (armhf?). Also used to run Unbound on it.

[-] Schlemmy@lemmy.ml 3 points 1 year ago

HomeAssistant is still supported on Pi4b

It's support for the rpi3 that is getting fased out.

load more comments (2 replies)
[-] fratermus@lemmy.sdf.org 2 points 1 year ago

I use my Pi 4B as a DVR for movies and OTA television (MythTV).

There are other tools that handle playback better (OSMC/Kodi, etc) but Myth's configuration and handling of recording schedules is incredibly powerful. Conflict management works well and it can record multiple streams off the same tuner so conflicts are reduced in the first place.

[-] Cris16228@lemmy.today 2 points 1 year ago* (last edited 1 year ago)

I was also thinking of running a Minecraft server on it. (Being able to play on the same world from different devices is kinda cool.)

The latest versions won't work. It has problems loading the chunks.

Source: Tried it myself

load more comments (1 replies)
[-] gonzo-rand19@moist.catsweat.com 2 points 1 year ago

Kavita, Komga, or calibre-web? I love having a book and comics server.

[-] owenfromcanada@lemmy.ca 2 points 1 year ago

I've got Jellyfin running on an odroid, and it's pretty solid.

Not sure if you're the type to need access to your home network while away, but I also use a pi zero as my "login gateway"--I forward just port 22 to it from the WAN, and I have ssh set up to only allow logins with a key. I can set up dynamic port forwarding and tunnel through to my home network, and that pi zero has no other function (so even if I screw something else up on another server, I can still access my network).

load more comments
view more: next ›
this post was submitted on 19 Jun 2025
71 points (97.3% liked)

Linux

68201 readers
928 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS