ArchLinux on production servers?
I was just curious as to how many people here have arch running on their servers which have deployed websites.
I myself have a VPS which runs arch, but nothing so important on it (brother's blog, experiments, demos...etc).
I recently came across the issue about signed packages and it kind of made me rethink some stuff, especially that I might soon be deploying more important sites for some clients.
So my questions are, how big of a deal is this? Anyone tried to solve this? and what do you do to make your arch server more secure? (peace of mind is what I'm after, if I dare say that).
EDIT: I just found another thread which talks about this. Still, I'd like to hear your opinion on servers.
Edited 2 Sep 2010. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 12 · 100% up
- Kind
- Text
- ID
- d8sp5
50 comments
Deleted before we saved it.
Deleted before we saved it.
Deleted before we saved it.
It depends on what you need. Debian is more bleeding edge because they release faster and they have more packages in the default repos.
However don't expect to keep a Debian box up for more than 3 years without a reinstall or a dist-upgrade. The security updates stop after the next version has been out for a year. Squeeze is suppose to go stable before the end of this year. That means any Debian install you do today has a shelf life of one year.
CentOS and RHEL give security updates for 7 years after release. Ubuntu Server is 5 years.
Deleted before we saved it.
I agree, it really has nothing to do with the capabilities of the distros, it's all about what the communities are interested in.
Archers (god love 'em) aren't interested in patching a 2 year old kernel. They would (of course) be pleased as punch to have you do it though ... the suggestion box only takes patches.
I love Arch for a desktop system, but I find its management tools lacking for a production server. Most, if not all, of their rc scripts don't even have a "status" function. I'd prefer something a bit more mature overall for production, like Debian or CentOS. If I really wanted to stick with rolling release I'd go with Gentoo.
I second Gentoo. We run around sixty production sites with total ~300000 unique visitors each month on Gentoo servers, and it works great. Any security problems or bugs found in the software we're running is patched within hours, most of the time. really good administration tools and overall very pleasant.
I'd like to try Arch as a server though, I think it could work really well.
I only use it on my destruction servers.
Deleted before we saved it.
Bloat is blot.
it's not just the signed packages that make me nervous, it's the poor downgrade support. i love having arch on my home machine, but if i were building a server i'd probably go with debian
go for slackware, or even debian.
i love arch on my desktop, but wouldn't risk putting it on a server.
Although my home surver runs Arch, I would recommend against it for production servers. I tried it once for a small-scale project, and ran into many issues (most due to package upgrades). Unless you run your package upgrades through a separate testing server (as somebody else mentioned here), I would strongly recommend to use a distro with a more rigid upgrade policy (like Debian).
I have several, however packages are not downloaded, they are transferred in after being used on a test system first. These are not used for public access they are inside a non-internet connected network. I put the package on an internal ftp system and use wget to transfer it onto the system for updating when needed.
Sorry, but I can't be of much help with that.
Wouldn't it be easier to create a repo on your ftp and use pacman to download the packages?
Download the source, take a picture of it on a wooden table, etc...
Deleted before we saved it.
Deleted before we saved it.
everything depends on how skilled you are to maintain such a system.
Deleted before we saved it.
Deleted before we saved it.
Arch is a rolling release. Meaning you aren't locked into any set version of a package/software. Just doing normal updates can bring major changes.
An example is say you have some PHP web application running on Arch with PHP 5.3 installed. Then 5.4 comes out and you update. The web application breaks because it's using a function that was removed in 5.4. Now you have to downgrade back to 5.3 and pray no security holes come out for it.
Most other distributions like Debian, RHEL, SUSE and Ubuntu (Server) stick with one major version of a package, then backport any bug fixes and security fixes that were released for the latest version of the software to the packages. Like if you run RHEL/CentOS you're still using kernel 2.6.18 and PHP 5.1.6, even though these are far from the latest versions because that's what RHEL/CentOS 5 originally came with.
The nice thing about this is that updates very rarely break things because they are mostly bug and security fixes.
Maybe I'm not understanding, but I don't see how the rolling release is a negative thing at all.
On Debian, RHEL, SUSE, and Ubuntu, you are stuck with kernel 2.6.18 and PHP 5.1.6. The only way to upgrade would be to wait, or compile from source.
On Arch, you have the option to upgrade to 5.3 if you really want to. If it breaks things or is buggy, then don't.
I guess I'm just not seeing how having the option to upgrade is a bad thing. Not flaming at all. Just genuinely curious.
Problem is that if you stop upgrading a package on Arch then you're not getting bug fixes or security updates for that package.
With a back porting distribution you are getting those updates.
http://www.archserver.org/
I didn't say that!
I've run a couple non-mission-critical servers with Arch, but for our webserver I've stuck with Debian Stable as I feel like it is a more mature distro.
I'm running Arch on a Slicehost VPS now. I get around potentially breaking my app by doing most of it in virtualenv. A few things, like the DB, and HTTP server aren't Python so I install that through Arch. I haven't had any problems with it in a year although nothing is very high volume.
I run arch on my laptop and home development server with a couple of vms and as light media server. Already on my home server I'm behind updates and things are partly broken because I fear updates on a productive environment where I'm not the only one using it. Before I was running ubuntu LTS 8.04 and was not happy either because I needed more up to date packages which is why I decided on arch in this instance which is as far as I would go.
I recently had to redo 3 production servers and thought about arch in the process. There is at least a LTS 2.6 arch kernel but in the end I decided on Ubuntu LTS which should give me up to 5 years sorrow free. IMO it's imperative for a productive server to have a good balance between up to date packages, stability and a time frame for support since you don't know how long a production server will be running. In retrospective Debian might have been an even better choice but I don't think arch would let me sleep well at nights at all.
Which VPS vendor are you using? The only VPS I've found have either Redhat, Debian or Ubuntu, but never Arch and I'd like to get my hands on a "real" Arch.
Try linode, it's great. If you would like a referral from me, pm
Deleted before we saved it.
I use rackspace cloud and it has a base arch image as a choice.
I use prgmr. It wasn't the easiest to get it setup for Arch, but I've had fine experiences since installation.
currently doing this right now. what route did you take to installation?
sevenl networks, which runs Arch's sites offers Arch VPS.
I use FSCKvps which offers arch (they offer and old image of arch, by default, but there's an updated image on the net that you can point customer service to to install for you)
Aaaaan I believe Slicehost offers Arch
Deleted before we saved it.
I run Arch in production. Runs stable as. I don't update every second day. I only install absolute minimums to do what I'm doing. and when I update I review the updates to see what 'might' break. As I said.. STABLE AS. Hell I never have issues when updating.. ever.
You can have Arch in production just fine. You have testing and staging servers to guard you against breaks anyway, right? When you have verified that things work in staging, you move the same packages to your production server and pacman -U them there.
If you don't have testing and at the very least staging, you're screwed regardless of the OS.
Deleted before we saved it.