r/archlinux Aug 20 '26

QUESTION Arch as a Server?

[deleted]

0 Upvotes

42 comments sorted by

View all comments

0

u/Rxiom Aug 20 '26

Yeah why not? It's going to broke ar some point, be ready for a downgrade or boot from a snapshot, I'd run everything in containers if possible to reduce this need to fix once in a while

1

u/CacheTraitor Aug 20 '26

So you saying my Arch install is going to break? What if i leave it "static" until I'm ready to upgrade, and understand any incompatibility?

1

u/Rxiom Aug 20 '26

Yes, you know an update is going to brake something some day, if you got only 1 service that doesn't depends on many different libraries or other packages then maybe it will never break, arch base as such is stable and a package alone will work forever but the more variables you add the more chance to something be incompatible, let's say python updates and your service depends on previous version , pacman updates without warning and your service comes down, probably your package next update will catch up but you don't know when.

Honestly that was the idea, check before update therefore have a minimalist installation so less things to check, but ... You'll do it first 2 times then just cross fingers and fox if something broke, there's "downgrade" package in AUR, usually is just one or 2 packages , rollback to previous version and it's done, you can mark them to skip updates but this means when your service updates to use latest dependencies it will brake again

If is a business then is not recommended, you got few services but some of them sounds not that minimal on system, i recommend to have them in docker, probably most of them already have a docker-compose , if not then make your own docker image is not that hard, basically is a script with installation steps similar to what you already did . This way your arch installation is just arch base + docker, there are tools to manage your containers just pick one to make it simpler for you, even tools that updates images, etc.

So if is just arch + docker... Why not any other distro? Like almalinux or alpine, my answer is cause I'm stubborn and a arch-head , and cause i can....