this post was submitted on 02 Feb 2024
128 points (93.8% liked)

Selfhosted

40347 readers
342 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 1 year ago
MODERATORS
 

Edit: wow, this is a never ending comment section!

top 50 comments
sorted by: hot top controversial new old
[–] themachine@lemmy.world 103 points 9 months ago (1 children)
[–] bruhduh@lemmy.world 19 points 9 months ago (1 children)
load more comments (1 replies)
[–] JoeKrogan@lemmy.world 50 points 9 months ago
[–] tko@tkohhh.social 47 points 9 months ago (1 children)
load more comments (1 replies)
[–] chris@lem.cochrun.xyz 34 points 9 months ago (3 children)
[–] Voroxpete@sh.itjust.works 11 points 9 months ago (2 children)

I just heard of NixOS for the first time because of this thread. Looked up some videos on it, and my jaw hit the fucking floor.

load more comments (2 replies)
[–] bzLem0n@lemmy.ca 8 points 9 months ago

Same here. I came for the integrated ZFS support and stayed for the declarative config.

[–] umbrella@lemmy.ml 6 points 9 months ago (3 children)

how is nix better than debian for servers?

[–] 2xsaiko@discuss.tchncs.de 21 points 9 months ago

Declarative configuration of services and the rest of the entire system, and everything that brings with it.

  • Want to test some new service, or make changes to an existing one, but don't know if you want to keep it? Sure, just temporarily switch to the new configuration, you can always switch back to the old one and everything will be back as it was.
  • Have multiple servers and want to share configuration between them? Absolutely, just import the same file from both. I have a git repo storing configurations for 10 machines and a huge part of it is shared configuration.
  • Want to use one service's endpoint (such as a socket path) in another? Sure, just use the socket path configuration option for the first service in the configuration for the second, such as here. This works since everything is a single tree of options which all the service configuration files are then generated from, so interpolate stuff as you wish.
  • Checks for configuration correctness during build of the system (NixOS options are type checked during evaluation, and then during the actual system build there's more checks, like nginx config has to succeed nginx -t, otherwise the system build fails and you can't switch to it)
  • Want to spin up a VM to test changes before putting it on the actual target? There's a builtin command (nixos-rebuild build-vm) that makes a script that starts a QEMU VM with your configuration running in it. It's as fast as building the real system, so a couple seconds if you're making small changes.
  • Setting up services is also often as easy as putting services.foo.enable = true; in your configuration. And, if you remove that line, the service is gone, so you're never left with "the random package or file you installed once to test something and has been forgotten about". That's the biggest thing it has over any kind of imperative solution IMO.

I feel like even if I want to distro hop again and end up putting something else on my desktop, NixOS is going to stay on my servers indefinitely. It's pretty much a perfect fit for servers.

load more comments (2 replies)
[–] MangoPenguin@lemmy.blahaj.zone 30 points 9 months ago* (last edited 9 months ago) (6 children)

Proxmox (debian) on the hosts, and Debian for all the VMs and Containers.

Just nice and easy to use, supported by basically everything, and a minimal install uses like 30MB of RAM.

I also have an OSX VM because that's literally the only way you can test a website in Safari (fu Apple).

[–] billygoat@catata.fish 7 points 9 months ago

Love proxmox. Been using it for nearly a decade and while it has its pain points it has been rock solid for me for the past 4 years.

load more comments (5 replies)
[–] qaz@lemmy.world 26 points 9 months ago* (last edited 9 months ago) (2 children)
load more comments (2 replies)
[–] KitchenNo2246@lemmy.world 23 points 9 months ago
[–] rmuk@feddit.uk 21 points 9 months ago (1 children)

Three HP ProLiant servers running ProxMox cluster. Each box has a VM for Portaiber, as well as mismatch of VMs running Home Assistant OS, OpenWRT, Ubuntu, Windows and Debian, along with a Windows file server that connectes to four cheap NAS running Ubuntu LTS with a combined 20 mismatched hard drives by iSCSI and borgs them together with Storage Spaces.

It's a fucking mess, if I'm honest.

[–] lefaucet@slrpnk.net 7 points 9 months ago

I love this so much

[–] dipshit@lemmy.world 19 points 9 months ago (1 children)
[–] hamFoilHat@lemmy.world 13 points 9 months ago (1 children)
load more comments (1 replies)
[–] daniskarma@lemmy.world 19 points 9 months ago

Debian.

Stable, well documented, easy to install. I do not need anything else right now.

[–] HumanPerson@sh.itjust.works 19 points 9 months ago

Debian. It is rock solid. If software doesn't support Debian, chances are it supports something Debian based. You never have to worry about an update breaking your computer. It is the perfect "it just works" distro for a server.

[–] M500@lemmy.ml 18 points 9 months ago
[–] Showroom7561@lemmy.ca 17 points 9 months ago

Synology DiskStation Manager.

[–] shalva97@lemmy.world 16 points 9 months ago (1 children)

Arch Linux. I am so used to it I just can't live with any other OS

[–] PHLAK@lemmy.world 8 points 9 months ago (1 children)

I am super impressed with Arch on my home servers. People seem to think "rolling" means "unstable" but the only issues I've had were due to some weird hardware incompatibility with my motherboard. Once I replaced the mobo my system has been rock solid AND reasonably up-to-date (I do use LTS kernel).

[–] Molecular0079@lemmy.world 9 points 9 months ago

I felt the exact same way. So many comments online told me that running Arch as a home NAS was insane, but after the Jupiter Broadcasting guys did it without much issue, I decided to give it a go and was pleasantly surprised. I think if most of your stuff is running in Docker and you have BTRFS snapshots for your root filesystem, the system's pretty much bullet proof. The rolling updates also mean you'll never have huge upgrade cycles that are a pain in the ass to migrate to. You're always just dealing with small manageable fires instead of large complicated ones and that's a plus.

[–] harsh3466@lemmy.world 16 points 9 months ago* (last edited 9 months ago) (6 children)

Ubuntu LTS, with all my services in Docker containers.

I know Ubuntu gets a lot of (deserved) hate for some of the shit Canonical pulls, but for now, I like Ubuntu and it works for me.

When I rebuilt my server at the beginning of the month, I was gonna jump to Debian, but my god the Debian website is obtuse. After looking at the site and trying to determine what to download to get Debian with non-free (I’m unfortunately working with an NVIDIA card), I decided to go with Ubuntu. I needed a smooth rebuild process and with Ubuntu I know exactly what I’ll get when I download the LTS server.

Edit: grammar

load more comments (6 replies)
[–] HappyRedditRefugee@lemm.ee 15 points 9 months ago

Proxmox for the the hosts, Debian cloud imagen for the VMs and docker inside

[–] capital@lemmy.world 14 points 9 months ago (1 children)

Ubuntu Server with docker/docker-compose on top.

So many guides for Ubuntu specifically makes reading up on something a lot easier and it works just fine.

load more comments (1 replies)
[–] spacemanspiffy@lemmy.world 13 points 9 months ago (1 children)
load more comments (1 replies)
[–] IndustryStandard@lemmy.world 12 points 9 months ago (1 children)

Truenas

Thought it would be more popular. I'm outnumbered hard

load more comments (1 replies)
[–] enshu@lemmy.world 11 points 9 months ago
[–] BrianTheeBiscuiteer@lemmy.world 11 points 9 months ago (1 children)

OpenMediaVault

Good OOTB customizations, works on Pi, and easy to extend with plugins (Docker/Portainer is pretty much all I needed).

load more comments (1 replies)
[–] owen@lemmy.ca 11 points 9 months ago (1 children)

NixOS, I find the config very easy and quick

load more comments (1 replies)
[–] kinther@lemmy.world 9 points 9 months ago (4 children)

Ubuntu 22.04 server. It works well enough for my purposes and until it doesn't I don't see a reason to switch distros.

load more comments (4 replies)
[–] lgo@feddit.nl 8 points 9 months ago (1 children)

Currently I am using Arch Linux. I am in the process of switching to NixOS.

load more comments (1 replies)
[–] kindenough@kbin.social 8 points 9 months ago

TrueNAS formerly known as FreeNAS

[–] BearOfaTime@lemm.ee 8 points 9 months ago (1 children)
load more comments (1 replies)
[–] Molecular0079@lemmy.world 8 points 9 months ago (2 children)

My DIY NAS runs Arch

  • LTS kernel
  • BTRFS snapshots on root fs
  • 4 drive NVMe array using ZFS raidz1
  • podman for my docker containers

It's been working fantastically so far.

load more comments (2 replies)
[–] Swarfega@lemm.ee 8 points 9 months ago

Pi OS. It's a Pi4 after all.

[–] shadowbert@kbin.social 8 points 9 months ago* (last edited 9 months ago) (1 children)

Unraid, mostly due to the flexible arrays.

load more comments (1 replies)
[–] ndupont@lemmy.world 8 points 9 months ago (1 children)

Proxmox with Debian LXC containers. The most natural transition from Raspberry Pi OS which is a Debian flavor

load more comments (1 replies)
[–] wgs@lemmy.sdf.org 8 points 9 months ago (5 children)
load more comments (5 replies)
[–] april@lemmy.world 8 points 9 months ago (1 children)

I'm running FreeBSD I actually like it a lot.

I picked it for zfs. A lot of the ways things work seem cleaner and simpler than on Linux and zfs is awesome with the copy on write snapshots and filesystem compression and all that. I like rc.conf and pf is way nicer than iptables and even when you upgrade it automatically makes a snapshot so you can rollback.

Sometimes I do need to patch and compile things because people seem to not know freebsd exists but that's really the only downside.

load more comments (1 replies)
[–] alansuspect@aussie.zone 7 points 9 months ago (4 children)

Just to be controversial, macos. It's nothing fancy, just the arrs and Jellyfin running on an old MacBook air.

load more comments (4 replies)
[–] AtariDump@lemmy.world 7 points 9 months ago

Hyper-V / ESXi for host. Mostly windows with some Ubuntu server.

[–] Evil_Shrubbery@lemm.ee 7 points 9 months ago

I too proxy my moxies, but run various OSes within them (via VMs or containers).

[–] Elkenders@feddit.uk 7 points 9 months ago

Debian Bookworm

[–] poVoq@slrpnk.net 7 points 9 months ago (3 children)

Depends on what you want to do with it. But for most things Debian or Fedora (Server edition) work fine.

load more comments (3 replies)
[–] RegalPotoo@lemmy.world 7 points 9 months ago (2 children)

Ubuntu LTS, but in the process of replacing it with Debian

load more comments (2 replies)
[–] Cringe2793@lemmy.world 6 points 9 months ago (6 children)

Windows Server 2016.

Nah just joking, Ubuntu Server 23.10

load more comments (6 replies)
load more comments
view more: next ›