this post was submitted on 15 Jun 2024
1 points (100.0% liked)

Linux

5191 readers
50 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 1 year 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] 0 points 4 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] 0 points 4 months ago

Debian as host and Incus + Alpine for containers

[–] [email protected] 0 points 4 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.

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

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

[–] [email protected] 0 points 4 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

[–] [email protected] 0 points 4 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] 0 points 4 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] 0 points 4 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.

[–] [email protected] 0 points 4 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] 0 points 4 months ago

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.

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

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?!

[–] [email protected] 0 points 4 months ago (1 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...

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

I am enjoying IoT. I got it for headless machines after trying Bazzite. IoT is definitely an easier install on bare metal, they do an ISO for you. I don't have a setup where CoreOS/ucore make sense just yet, so I cannot speak much to any differences there.

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

Also a Feature comparison between IoT and coreOS would be very much needed, I have no idea what the difference is, apart from the installation

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

Yeah I dont get coreOS too, tried to install it in a VM.

I mean this ignition might be super cool, but why not have a fallback preconfigured wheel account?

Just changing the password would be so easy and lock out everyone else on that session.

Or just change the password, restart sshd and thats it.

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

MicroOS and Debian

[–] [email protected] 0 points 4 months ago* (last edited 4 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] 0 points 4 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.

[–] [email protected] 0 points 4 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] 0 points 4 months ago

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

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

Debian.

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

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

I use FreeBSD 😅

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

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.

[–] [email protected] 0 points 4 months ago* (last edited 4 months ago)

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.

[–] [email protected] 0 points 4 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] 0 points 4 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] 0 points 4 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] 0 points 4 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] 0 points 4 months ago* (last edited 4 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.

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

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.

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

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

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

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

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

What will you be doing with your server?

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

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

[–] [email protected] 0 points 4 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] 0 points 4 months ago* (last edited 4 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] 0 points 4 months ago (1 children)

Why debian 12 over 11 and vice versa?

[–] [email protected] 0 points 4 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] 0 points 4 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] 0 points 4 months ago

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

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

Rocky is a solid choice.

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

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

[–] [email protected] 0 points 4 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

[–] [email protected] 0 points 4 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.

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

lots of debian. its debian all the way down.

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