logoalt Hacker News

neuropacabra • today at 3:44 PM • 6 replies • view on HN

What would you recommend to use on servers? Would you host you apps off Arch? Or better to take Fedora or similar? I am genuinely interested in answers not distrowars


Replies

freedomben • today at 4:15 PM

After painful Ubuntu upgrades in the past, I moved to Alma Linux and have been very happy. It takes a small adjustment to dnf instead of apt, but realistically I was over that hump in 30 to 60 minutes and this was before AI. With AI to translate and test install scripts and the like, it might be a 5 minute task depending on how much automation you already have in place. Though even an entirely un-automated setup that is just a README.md, claude wrote me an Alma Linux version of a very ubuntu specific project that gave instructions for Alma instead of Ubuntu, and it worked almost perfectly first time and AI was able to (with prompting) see the issue and quickly found a workaround. We're a small org, but at some point when we hit scale and have compliance requirements, a migration to RHEL is also largely trivial if/when the time comes.

sersi • today at 4:02 PM

Good question... I run ubuntu on servers because the LTS has clear 5 years of security fix.

I use arch linux for my NAS because it's fun and I don't care if it occasionally goes down but I wouldn't use it for production (on my NAS it's mostly stable but has gone down a few times)

So what's next? Centos is a rolling upgrade, nixos?

rochacon • today at 4:03 PM

As always, it depends on how and what you're managing on it.

VPS/VM? Debian is a great choice. Use it as base and run your software via systemd+podman if you want the most up to date stuff, Debian tends do lag a bit. It is very low maintenance.

Bare metal? Fedora Atomic is awesome. It does require an update every other week since it keeps packages closer to upstreams, but this is where the immutable base shines, any issue is an easy reboot to revert. Also systemd+podman for your own software.

I wouldn't recommend Arch on servers.

Edit: clarified Fedora immutable spins are called Fedora Atomic.

dullcrisp • today at 5:43 PM

I like Alpine but I’m not a serious person.

LastTrain • today at 4:04 PM

Debian stable of course.

wltr • today at 6:07 PM

I use Arch for servers too, for almost a decade, and to my memory only once I had an issue. That was booting off an encrypted RAID and some change which needed some investigation and then reconfiguring. I am planning to run them servers on Arch for as long as I can. It’s a bliss to never upgrade my system (only update it).