this post was submitted on 19 Jun 2023
11 points (100.0% liked)

Selfhosted

46319 readers
405 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hey! I'm trying to get into self hosting and was wondering what would be possible with a single Pi, at least until I can get more capable hardware.

The servies I'm interested in would be things like a pihole, music server, photos server, a few personal fediverse instances (mainly owncast), a small Matrix homeserver for my friends, etc, etc. Media server but that's obviously way into the future I think.

While I don't intend or think I can run all of this on one Pi, I just want to know how much is possible. I'm really thankful for any feedback I may get. My apologies for the noobness if I'm completely wrong about all of this.

One last thing, any recommendations on any other services I should try out as a beginner?

Edit: In hindsight, I really do I wish I asked about the ability of sharing these services with people and how that would affect the load and performance. One of my biggest goals is to have this used by family and close friends.

top 24 comments
sorted by: hot top controversial new old
[–] coldhotman@nrsk.no 3 points 2 years ago* (last edited 2 years ago) (2 children)
[–] shinnoodles@lemmy.world 0 points 2 years ago (1 children)

Holy hell, thanks a ton! I think I'll give it a shot then, but also look around a bit and see what else is available. This gets around the 100 dollar range when you factor in a case and some cables. Luckily I have quite a few spare ethernet cords laying around.

[–] CannaVet@lemmy.world 1 points 2 years ago

You can find a nice pi 4 bundle on ebay for ~100 USD instead of buying a marked up new one. I got a 4GB pi 4B, decent size SD card, and a case with a fan for $90 IIRC.

Also, Linus Tech Tips recently did a video on pi alternatives. There's a bunch now that pi's have gotten so popular.

[–] ThrowsArrows@sopuli.xyz 0 points 2 years ago* (last edited 2 years ago) (1 children)

No reason to transcode if you have the bandwidth I've found, just allow / force direct play / direct stream on all clients

Also I run RAID 1 USB HDDs and honestly they do fine with up to a few people at a time streaming

[–] coldhotman@nrsk.no 1 points 2 years ago* (last edited 2 years ago)
[–] Elbullazul@lem.elbullazul.com 2 points 2 years ago (1 children)

The pi would be fine for a lightweight music server (ex. gonic), maybe a lightweight photo app and pihole.

Fedi software generally requires a decent machine, so it's probably better to use something else; same for matrix.

[–] coldhotman@nrsk.no 2 points 2 years ago* (last edited 2 years ago)
[–] slacktoid@lemmy.ml 1 points 2 years ago

Fair bit (on a nanopi m4, pi has better ram and ends up being faster than the m4). I ran a matrix server (and a bunch of bridges) and syncthing on it with 4 drives. It wasn't fast. But it worked. You could consider horizontal scaling for these services by adding more Pis. You can simplify (resource wise) the Pihole by setting up dnsmasq and have the servers it look up be ones that follow the adblock lists you want.

The Matrix server and multimedia stuff seems fine (I'd recommend finding one software that can manage as much of that as possible, like PLEX or Jellyfin), but with a Fediverse instance, IDK, if it gets enough traffic that could drag down your device.

[–] ThrowsArrows@sopuli.xyz 1 points 2 years ago* (last edited 2 years ago)

On my most active Pi 4B I run docker with: Bazarr Doplarr Foundry VTT Jacket Overseer Plex Portainer Radarr Sonarr Syncthing Transmission through VPN

You can do a lot with these little things

Edit: missed an r

[–] brenno@lemmy.brennoflavio.com.br 1 points 2 years ago (1 children)

I started with a pi 4 and it worked really well!

[–] shinnoodles@lemmy.world 0 points 2 years ago

Thanks, but I decided to go for a 1 liter PC with a 9th gen i7 instead. I can't believe this post is 4 months old lol.

[–] agoodopinion@lemmy.ml 1 points 2 years ago* (last edited 2 years ago)

As long as you learn, I would encourage you to start right now and see where it takes you. Maybe you discover that is enough and you save yourself the money for other hardware. Or maybe you realize you need a Low power NAS for Photos, a silent Intel NUC for media, a PI for pihole and a dedicated server with VMs for each instance of software you want run / toy.

I find that hosting photos server never worked for me. Is frustrating to wait for a gallery web page to load, browser has to download lots of thumbnails and many requests and latency + is hard to search recursively in nested folders. Is cheap to have a memory card on the phone and load them instantly and just put them on the NAS from time to time.

For Media I did use a Raspberry PI3, but I don't like PIs as servers. They are slow and hot and I experienced some micro sdcard issues during power loss. One advantage is that they have HDMI CEC so you don't need a separate remote if you plug it to your TV.

[–] clavismil@lemmy.world 1 points 2 years ago

I started my selfhosted journey with my RPi4 4G and a 4TB external HDD, currently I'am running: jellyfin, *arr stack and syncthing for obsidian. It works great for direct playing media. Also got to learn a lot creating a NFS/samba server, python, docker/podman.

it will get you started if it does not run very well try another thing, have fun!

[–] markstos@lemmy.world 0 points 2 years ago (1 children)

Each project may publish minimum specs. Find what you and add them up. Fediverse instances can require several services and are the most complex thing on your list.

[–] shinnoodles@lemmy.world 1 points 2 years ago (2 children)

Thank you! The only thing I'd want to host is Owncast upon reflection, which I probably won't be doing until I have a better setup than I do now.

[–] markstos@lemmy.world 3 points 2 years ago

If they don’t publish minimum specs, you can try running the services in a virtual machine on your laptop to see how much memory they use.

[–] poVoq@slrpnk.net 1 points 2 years ago* (last edited 2 years ago) (1 children)

Owncast is very bandwidth heavy. If your net connection doesn't have a high upload speed you are going to have problems with it.

[–] coldhotman@nrsk.no 1 points 2 years ago* (last edited 2 years ago)
[–] PopYaCork@lemm.ee -1 points 2 years ago (1 children)

One of these will cost you about $50 - $70. Load it up with 32GB of ram and you're running something more powerful and cheaper than a Pi.

That's my set up and have over 20 containers running.

[–] Sqwrly@lemmy.world 0 points 2 years ago (1 children)

Did you intend for there to be a link to something? I don't see what's you're talking about using.

[–] TRBoom@lemmy.world 1 points 2 years ago

Not him, but I bet he's talking about a dell optiplex. You can get them for cheap right now.

load more comments
view more: next ›