Should You Run Arch Linux on Your Servers?
Video Statistics and Information
Channel: tutoriaLinux
Views: 10,547
Rating: 4.8526702 out of 5
Keywords: computer, how-to, Linux, tutorial, system administration, sysadmin, command-line, CLI
Id: _HKm9MzbIWQ
Channel Id: undefined
Length: 9min 14sec (554 seconds)
Published: Sat Sep 26 2020
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
I think the question is asked too broadly. If it's a server you want to install once and never touch again your much better off with Debian or Centos.
If it's a server your constantly pushing updates anyway your probably better off with Arch, because long term distros can become quite a pain once you need more up to date library versions than provided.
And I will never forget how I completely screwed up an old Centos box, just because I dared to install Python 3.
I've deployed Arch in production because our customer *really* want to have the same environment as our development environment. Even though we spent ages trying to convince them that is a bad idea. (They use Windows Server exclusively prior to this)
Turns out pretty stable and secure. Haven't ran into serious issue yet. And PKGBUILD made things a lot easier.
My opinion: no, bleeding edge should never be run on servers that are actually used for something important and can never go down, if you want minimalism use centOS
Hopefully, I'm not breaking any rules with this video.
I've always thought Dave from the YT channel tutorialLinux to be really grounded in how he presents stuff on his channel, so I thought it would be alright for the sub. He's super knowledgeable in all things Linux and sysadm, and I thought this video was particularly good because, well..obvious reasons;)
Seriously though, servers running on Arch is a pretty frequent topic on the sub, and hearing someones take on the subject with an extensive background in sysadm is pretty cool.
Thought id give my two cents, I have a cyber security background.
I think its fine and a great idea to push people into newer versions. If you are having problems with a server updating and breaking then you are the issue in that scenario not the software. Make backups check the update before you do it, really is simple stuff. Especially if you are worried about zero days (security flaws on update releases) this is easily prevented by waiting and seeing others response to the update.
Stability does not equal secure, otherwise all the capture the flags (hacking challenges) that exist around the world must be created from fake problems and unrealistic settings. When something can be broken with the simple installation of non-malicious software I feel like thats a problem thats fixed by not being lazy.
Please feel free to have a discussion with me if you agree or disagree <3
I feel like people exaggerate the breakage a lot. I am almost a year in and havenβt had it happen a single time. Beyond such, the fixes I hear of are very simple
For production and live environments? No.
CentOS is mega stable and tested inside and out with very stable releases.
We have a number of legacy servers running Arch and Gentoo, both of which require constant fettling to make sure they are happy. Currently in the process of moving their services over to some CentOS boxes.
It really depends on what you want to run on your servers. Some software projects are just not that stable at their upstream origin. Some projects do a lot of testing before they release. Others not so much. Arch doesn't run beta or rando snapshot versions (unless you AUR it up that way) but versions that are official releases from upstream. Arch can be as stable as the upstreams of the software you choose to run.
With Arch it's on you to know where the sharp edges are. Many get lucky (or unlucky) while others do their due diligence to mitigate risk. The advantage of something like RHEL/CentOS is that someone else has done a lot of this leg work for you. (It's interesting though that some of their leg work wouldn't need done if they were running newer versions. And a lot of the leg work affects basically nobody but a particular enterprise customer somewhere. They do smooth out many common cases too, however.)
It is often the case that a proper fix takes a while in upstream but a downstream distro will pick up a dirty one and carry it until the proper fix happens. This is not an area where Arch will help you with beyond it being relatively easy (compared to many other packaging schemes) to modify package builds. (Sometimes that ease is only there if you have cherry-picking and rebasing skills with git and relevant programming languages. I mean, you do have to get the patch from somewhere.)
This will set off a lot of alarm bells with those worried about security. But those same alarm bells go off for every case of "nobody uses the software this way but if they did it would be vulnerable." Did I just hand wave off most CVEs? Ahem, er, maybe?
Arch can be manageable on the server but it depends a lot on how many you have, how diverse their software set is, and how much time you have. If you have a lot of servers are largely homogeneous I can see Arch working. If not, something like RHEL/CentOS will likely save your ass without you even knowing.
If you are constantly evolving your servers, I can see arch working better. But at some point you're gong to shift to a more maintenance oriented workload and Arch will have its clocks cleaned. Yes, CentOS might have a big version bump but you can do that, finish it, and move on with your other workloads.
A really good reason not to run Arch on servers is the rolling-release development cycle itself. That brings in a huge amount of uncertainty to your servers. Now it isn't really necessary that the updates would definitely break something, but that's what is more likely to be a case when using Arch than a distro based on a fixed release development cycle like CentOS/Debian/Ubuntu LTS. In the case of servers, you would probably want to set it up and forget it. That's what CentOS or Debian offers. They only receive security and critical bug fixes. This ensures they do not change and continue to serve the same way they were setup. I personally like Arch very much but I would not use it for a machine that should never fail.