this post was submitted on 15 Jun 2024
66 points (97.1% liked)

Linux

5455 readers
193 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
 

I've seen a lot of different enterprise and personal use distros for servers, but what do you guys use?

I'm planning on using Debian but was wondering if there are any other good free options to consider.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 29 points 6 months ago

during winter i use gentoo, so the cpu keeps the room cozy

[–] zelifcam 27 points 6 months ago* (last edited 6 months ago)

Debian :)

Give Alpine Linux a shot.

[–] RegalPotoo 25 points 6 months ago (1 children)

Debian. When I have time to mess about with server stuff, I want to be doing the thing I want to do rather than fixing whatever broke in the most recent set of updates

[–] [email protected] 13 points 6 months ago

I switched from ubuntu to debian on 2 machines recently and the difference is drastic. No bloat (snap), no asking for pro membership, just works.

[–] [email protected] 16 points 6 months ago* (last edited 6 months ago) (1 children)

What we use in my office, depends on the type of servers:

  • For virtual server (we made a golden template of it) we use Debian 12
  • For virtualization host/ganeti cluster we use Debian 11
  • For NAS, we use OpenMediaVault (based on Debian)
[–] [email protected] 2 points 5 months ago (1 children)

Why debian 12 over 11 and vice versa?

[–] [email protected] 3 points 5 months ago

I would like to default to debian 12 if I have to start fresh.

The Ganeti Cluster was installed on Debian 10 then when 11 launched, I upgraded it. It's a 10 nodes cluster and I just don't have time to upgrade it yet. The last update to 11 took me a week to troubleshoot.

[–] [email protected] 14 points 6 months ago

lots of debian. its debian all the way down.

[–] [email protected] 14 points 6 months ago (1 children)

Proxmox. VMs and containers are great, especially when you're learning

[–] wreckedcarzz 6 points 6 months ago

I did this, for flexibility and to tinker without screwing myself.

But then my first install was Debian to run my docker containers sooooo

[–] [email protected] 13 points 6 months ago
[–] themachine 13 points 6 months ago
[–] [email protected] 10 points 6 months ago
[–] [email protected] 8 points 6 months ago (1 children)

NixOS. Ubuntu when I just want to test something quickly.

[–] jimmy90 6 points 5 months ago (1 children)

NixOS is perfect for server OS. hope in future a little more orchestration tools make it even easier to manage clusters of NixOS instances

[–] barsquid 4 points 5 months ago

Have you seen NixOps? Curious if that's getting close to what you want or not.

I think I also saw another similar idea a while back but cannot recall the name, might just be a wrong memory.

[–] c10l 8 points 5 months ago (1 children)

Debian.

Proxmox (which is heavily Debian) if the use case is to host VMs and/or LXC containers. Debian on those.

load more comments (1 replies)
[–] [email protected] 7 points 5 months ago

We use ubuntu at work on about 30 servers. It was a mistake made years ago, I’m hoping to switch them to Debian next year. Ubuntu being a Debian based distro means at least 90% of ansible code will work without changes.

Nice overview of enterprise linuxes (or is that Linii in plural?): https://tuxcare.com/resources/learning/enterprise-linux/

[–] [email protected] 5 points 5 months ago (1 children)

I literally once rented a VPS, installed Debian 12, configured automatic updates, installed tor, set the max limit to the VPS limit, enabled the tor relay server.

And now I am unable to login and that thing is just running lol. For the good of the Tor network?!

load more comments (1 replies)
[–] [email protected] 5 points 6 months ago

I have a (personal use) server with debian for some minecraft servers.

[–] [email protected] 5 points 6 months ago

What will you be doing with your server?

[–] barsquid 5 points 5 months ago (1 children)

Debian is a great choice. I'm on Debian and it is solid.

I do have one I like better: I'm transitioning to Fedora IoT from Debian for my homelab stuff. I like using their atomic desktop distros, I want to understand them better, and it seems like a great combination of recent kernel and system stability.

[–] [email protected] 2 points 5 months ago (2 children)

Interesting I hadn't heard of these "atomic" distros. There isn't really much description of what exactly is atomic about them though - all you get is "The whole system is updated in one go". Can you explain it?

[–] [email protected] 3 points 5 months ago

It works similarly to Android and iOS. The system partition is read-only, and each new system update is applied as a new system partition image. All user apps are kept separate from the system and are sandboxed.

[–] barsquid 2 points 5 months ago

I believe the "atomic" action is updating the kernel and all the base packages together such that either the whole thing succeeds or the existing system is unchanged. If the system update is atomic, you cannot be stuck in a partially updated state with new versions of some packages and previous versions of others. Naturally something like that lends itself to making rollbacks easier if it does break, much easier than trying to undo an update on a more traditional distro where they do the update in place.

[–] [email protected] 5 points 6 months ago (2 children)

I run Rocky Linux 9 on an HPC environment for the package stability and 10 years of support. I also prefer the Red Hat-esque management ecosystem (ie, Foreman) to the others I’ve tried (but it still leaves a lot to be desired).

I am no fan of Red Hat’s corporate shenanigans though, and if it weren’t for the associated tech debt, I might consider switching to Debian or Ubuntu. I’ve run both at previous jobs, but the support lifecycle has come back to haunt us every time.

[–] [email protected] 3 points 5 months ago

If you dont like rh’s shenanigans you wont like canonicals either.

[–] zelifcam 2 points 6 months ago

Rocky is a solid choice.

[–] [email protected] 4 points 5 months ago (1 children)

debian and rhel.

if you can do it on debian you can do it on one of the derivatives and same for rhel.

its amazing how many people still don't know that you can run a handful of rhel machines for free.

load more comments (1 replies)
[–] [email protected] 4 points 5 months ago

Gentoo for most of my personal machines. I currently have about 12 that I use actively (bare metal + virtual).

(Among other things,) I currently use Ceph across 3 servers for storage; Buildah/Podman/Skopeo, LXD, and Libvirt for virtualization; Git for versioning/a simple way to keep certain things in sync; and Saltstack to automate updates.

I have a dedicated virtual machine for building software packages which shares those built packages (currently via Virtiofs) with a LXD instance that exposes them over HTTP for my other machines to download so software only needs to be built/packaged once.

[–] [email protected] 4 points 5 months ago

MicroOS and Debian

[–] [email protected] 4 points 5 months ago (3 children)

I am thinking about Fedora IOT or uBlue Core. A lot of stuff needs Docker, even though I think SELinux and secure packages make more sense.

Also keeping an eye on CentOS bootc, which is way more stable but continuously integrated fixes, atomic updates, reversible...

load more comments (3 replies)
[–] [email protected] 3 points 5 months ago* (last edited 5 months ago) (1 children)

Ubuntu LTS.

It has the option for PPAs when the distro doesn't offer packages or recent package updates but the upstream project does.

It's a well-established and stable distro.

load more comments (1 replies)
[–] [email protected] 3 points 5 months ago

Debian, with containers for each app based on Alpine linux.

[–] Fuzzypyro 3 points 6 months ago (1 children)

Debian is a pretty safe choice overall but and I’m sure I’m going to get downvoted like crazy but arch has been a fantastic server OS for me for a while. Debian is pretty hands off but I have some pretty unorthodox requirements/hardware setups and the combination of the wiki and such a wide range of packages supported has enabled me to use the hardware to its fullest potential. Also rolling release lts kernel is pretty dope.

[–] [email protected] 3 points 5 months ago* (last edited 5 months ago) (1 children)

Arch as a server distro is not unheard of, I guess it just requires folks to know what they're doing.

[–] webhead 3 points 5 months ago (1 children)

Depends on the type of server too. My media server is arch (aur is godsend with all the weird little tools I'm running) but you'd have to be out of your fucking mind to use it for a web server.

Web server is usually Ubuntu server/Debian with virtualmin.

load more comments (1 replies)
[–] [email protected] 3 points 5 months ago

Debian as host and Incus + Alpine for containers

[–] [email protected] 3 points 5 months ago

I use Debian on my home server and CentOS on my VPS.

[–] [email protected] 3 points 5 months ago

I use FreeBSD 😅

[–] [email protected] 3 points 5 months ago

Surprised there's not more people saying Nixos.

Its a bit annoying to learn, but once you get the hang of it its impossible to break, and amazing if you have multiple server's doing similar things

[–] the16bitgamer 2 points 5 months ago

For an alternative, when I was looking into server os's, from what I can tell RHEL (Red Hat Enterprise Linux) is the go to since it's stable. That said RHEL is not free, so what people use to do is get a free OS which is down stream to RHEL, that's your Alma and Rocky Linux.

However back in 2023 IBM made some changes, and now Alma and Rocky had to rebase off of CentOS Stream which is what RHEL is based off of.

For all intent and purpose I'd recommend using Debain, but Alma and Rocky are alternatives you may want to look into. Personally using Alma and outside of the learning curve of using a RHEL based OS, it has been quite stable.

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago) (1 children)

In 2001 we examined the packaging format of debian and found it lacked a validation feature available in RPM. This killed debian and all derivatives as an option by the build group of the unix vendor I worked with -- please tell me you understand why validation is a pivotal feature for build. The fact the validation carries hard sigs all the way down made the security group happier too. This hasn't changed.

So I'm running CentOS now, Rocky later, and PCLinuxOS once they get a good packer template.

[–] [email protected] 2 points 5 months ago

Zypper on suse has a series of nice patch commands, to check what patches are out with cve numberd and if they are needed or applied to the system already.

[–] model_tar_gz 2 points 5 months ago (1 children)

When I’m prototyping some model deployment/application/backend, I choose Ubuntu. I’ve also chosen Debian Stable before.

When te decision has been made to actually write the fucking thing for real enterprise deployment, it’s always Alpine Linux so that we have fine control over literally every aspect of the image.

I’d never recommend Alpine for any other use case, tbh.

load more comments (1 replies)
[–] [email protected] 2 points 5 months ago

My favorite Server OS is Alpine Linux. Because its small, easy to use.

Ofcourse its not using the standard GLIBC system, but these days you can run almost anything in docker so thats less of a problem.

load more comments
view more: next ›