Live data from Hacker News

Tech Choices - Why we use Centos instead of Debian / Ubuntu

chinanetcloud.com

11–20 of 47 posts

Re: Tech Choices - Why we use Centos instead of Debian / Ubuntu

#11
Is it generally considered better to go with a better supported OS (eg CentOS or an Ubuntu LTS) and use extra package sources for non-OS programs or to use a more up to date OS that's already tested with the latest programs?

We made this choice recently, choosing Ubuntu 12.04 and a few (popular but unofficial) PPAs, rather than use Ubuntu 13.04.

Re: Tech Choices - Why we use Centos instead of Debian / Ubuntu

#12

Is it generally considered better to go with a better supported OS (eg CentOS or an Ubuntu LTS) and use extra package sources for non-OS programs or to use a more up to date OS that's already tested with the latest programs? We made this choice recently, choosing Ubuntu 12.04 and a few (popular but unofficial) PPAs, rather than use Ubuntu 13.04.

Wise choice, because non-LTS version of Ubuntu is basically piece of shit.

Re: Tech Choices - Why we use Centos instead of Debian / Ubuntu

#13
post #9

FreeBSD has a very stable core distribution with an up-tp-date rolling release "ports" system for additional software. It's great for these purposes. It also has excellent documentation, stable native ZFS, and compatibility with Linux binaries.

Also, customized packages sets with poudriere/tinderbox. No way I'm going to hunt around for 3rd party "repos" because Debian ships with rabbitmq 1.8.1 or Erlang R14A (note the "A").

Re: Tech Choices - Why we use Centos instead of Debian / Ubuntu

#14
post #3

Redhat puts a lot of effort into building its enterprise distro. Yeah, it's mostly out of FOSS parts, I get that, but distros are nontrivial and costly undertakings. I've always had a bit of a problem with Centos, which as I understand takes Redhat's work, removes the proprietary parts, and redistributes for free-as-in-beer - perhaps depriving Redhat of a sale or two. It's not exactly theft, but not sporting either.…

It seems that Centos is almost an embrace-and-extinguish play--you get folks familiar with the Centos (read: RHEL) way of doing things, and then when things get professional it is a no-brainer to pick up a normal RHEL license.

It's a pretty good thing, actually.

Re: Tech Choices - Why we use Centos instead of Debian / Ubuntu

#15
post #9

FreeBSD has a very stable core distribution with an up-tp-date rolling release "ports" system for additional software. It's great for these purposes. It also has excellent documentation, stable native ZFS, and compatibility with Linux binaries.

I've found FreeBSD to be extremely fragile, with regard to updates. It can easily become unusable if you initially install from binary packages and then move some things to ports builds (library dependencies aren't handled appropriately, as far as I can tell). System upgrades (from 8 to 9, for instance) are also scarier and more prone to failure than any Linux distro I've used.

While I have a lot of respect for FreeBSD's developers, I'd be unwilling to deploy it for production on servers; this is at least partially my own inexperience with the system...but I'm simply afraid to trust a system that makes it so easy for me to shoot myself in the foot.

Even with my own very limited use, I've never had a FreeBSD system that didn't end up utterly trashed eventually (in such a state that I chose to reinstall rather than try to fix it, because I had no idea where to start on fixing it; I'm sure a more experienced FreeBSD user would have been more capable of getting the system working again). I can't imagine what would happen if I were using it heavily, without first spending months or years learning how to avoid the pitfalls I run into so readily.

I had a similar level of experience with Debian (which is to say, not much), but never had a problem keeping it running. My experience is much higher on Red Hat based distros (I've managed CentOS and RHEL servers, and before that Red Hat Linux servers, for almost two decades), so I can't really compare it to FreeBSD, but I know our customers rarely run into OS issues on RHEL or CentOS, and we have a lot of them. CentOS represents more than half of our user base.

Re: Tech Choices - Why we use Centos instead of Debian / Ubuntu

#16
post #7
post #2

> [W]e need reliability and predictability over a large variety of systems over many years. We need strong support by most of the world's software vendors and open source project. We need documentation, tools, and global resources for the most commonly used systems. In which of these does Debain fall short?

Compared to RHEL/CentOS the Debian release cycle is actually very short, with support for an older version ending just one year after the release of a new stable version. So in average you will only have support for about 3 years for each release, compared to at least 10 years for RHEL. That's why there has been some discussion about a possible Debian LTS release: http://lwn.net/Articles/565007/

Lifecycle cannot be underestimated. The average life expectancy of a server is over 3 years. I'm pretty much running on a five year cycle, right now, for most of mine. It's a huge time cost to have to deploy a new OS more frequently than you deploy new servers.

Re: Tech Choices - Why we use Centos instead of Debian / Ubuntu

#17

Is it generally considered better to go with a better supported OS (eg CentOS or an Ubuntu LTS) and use extra package sources for non-OS programs or to use a more up to date OS that's already tested with the latest programs? We made this choice recently, choosing Ubuntu 12.04 and a few (popular but unofficial) PPAs, rather than use Ubuntu 13.04.

Wise choice, because non-LTS version of Ubuntu is basically piece of shit.

It's not that non-LTS releases are "shit"...Just that you'd be a fool to sign up for replacing your OS every 18 months on a server that will be in service for more than 3 years (which is the average lifespan of a server, and that number seems to be growing).

Re: Tech Choices - Why we use Centos instead of Debian / Ubuntu

#18

I see no discussion of package management in here, which is kind of a bummer. My experience with yum has been pretty crummy and I don't think it's improved over the last several years. That alone should drive someone developing software away from working on that platform. Centos & Red Hat are great if you have a single package you need to deploy to a machine and all the dependencies are already there or easy to pull…

Just a counter point: I love yum. It is, by far, my favorite package management option. Managing yum repos is a breeze vs every other option (the toolchain is one command, vs a half dozen commands and hours of manual labor to setup a new repo for Debian/Ubuntu). I also prefer it from the end user perspective.

apt-get is fine, and I wouldn't be at all unhappy with servers running Debian, but yum is my preference.

Re: Tech Choices - Why we use Centos instead of Debian / Ubuntu

#19

I see no discussion of package management in here, which is kind of a bummer. My experience with yum has been pretty crummy and I don't think it's improved over the last several years. That alone should drive someone developing software away from working on that platform. Centos & Red Hat are great if you have a single package you need to deploy to a machine and all the dependencies are already there or easy to pull…

possibly one of the worst package managers around are shipped on centos and rh. I do consider them the sysop's nightmare.

Re: Tech Choices - Why we use Centos instead of Debian / Ubuntu

#20

Earlier quoted context omitted.

Wise choice, because non-LTS version of Ubuntu is basically piece of shit.

It's not that non-LTS releases are "shit"...Just that you'd be a fool to sign up for replacing your OS every 18 months on a server that will be in service for more than 3 years (which is the average lifespan of a server, and that number seems to be growing).

Depends on the environment.

I manage a large AWS environment at my current gig, and all of our code is in git. With configs in puppet, code in git, I can deploy to new OS version instances in the background, do testing/QA, and then swap out the old OS environment for the new one all transparently to the user.

Now if you're talking bare metal, yes, it makes sense to go with LTS releases.

It all depends on what your equipment lifecycle is.

Post reply on HN