Need some advice on which OS for a web server

Hey drop us a line about the show. Feel free to ask questions, provide feedback and criticism, or just ramble on about anything your little heart desires.

Moderators: snarkout, Patrick, dann

Post Reply
User avatar
greggh
Posts: 1036
Joined: Fri Jun 02, 2006 7:17 pm
Location: Brooklyn, NY USA

Need some advice on which OS for a web server

Post by greggh » Fri Nov 24, 2006 10:35 pm

I'm probably going to be getting a cheap dedicated server soon and I have a choice between Debian Stable and CentOS (RHEL stripped of RedHat branding). Which do you think would be better for someone who is brand new to admining a server?

sulfide
Posts: 15
Joined: Thu Nov 09, 2006 10:36 am
Contact:

Re: Need some advice on which OS for a web server

Post by sulfide » Fri Nov 24, 2006 10:57 pm

greggh wrote:I'm probably going to be getting a cheap dedicated server soon and I have a choice between Debian Stable and CentOS (RHEL stripped of RedHat branding). Which do you think would be better for someone who is brand new to admining a server?
Whichever you feel more comfortable with :) I'm personally more bias toward Debian. Since I work for a large wireless company though, I end up using RHEL most of the time which also works fantastic.

One point. I'm not sure what kind of software is currently in Debian stable for apache etc, if you want to use new things like php5 (just using php5 as an example) you might be hard pressed to find them there.

At which point CentOS _might_ be the better choice, because a more current set of software will be available (through packaging). But don't take my word for it, I haven't recently looked what kind of updates Debian stable has. In my server farm I use a mix between fedora and deb unstable.

On the other hand, it's not hard updating Debian to a different branch like testing or unstable (if you have the permissions to do such a thing on the box you are using). But if you plan on manually compiling some stuff like apache etc php5(for example) it may not matter. I do this when I'm working on a Debian stable system, I just roll my own to get the most current stuff I need.

Oh well I think that made sense :twisted:

User avatar
Wally Balljacker
Posts: 1227
Joined: Fri Jul 29, 2005 3:32 am
Location: University of Massachusetts - Lowell
Contact:

Post by Wally Balljacker » Fri Nov 24, 2006 11:04 pm

Apache2 is available in Debian stable, and for just about anything else you could need, such as php5, there is Backports.

User avatar
greggh
Posts: 1036
Joined: Fri Jun 02, 2006 7:17 pm
Location: Brooklyn, NY USA

Post by greggh » Fri Nov 24, 2006 11:05 pm

Thanks for the input sulfide. You're right about php5 not being available for deb stable (mysql 5 as well) but I wouldn't need the most up to date versions anyway. I'm concerned mostly about stability and ease of use. I get the feeling debian may be easier to admin, but CentOS may be a bit more stable.

Tsuroerusu
Posts: 2551
Joined: Mon Sep 05, 2005 8:51 am
Location: Silkeborg, Denmark
Contact:

Re: Need some advice on which OS for a web server

Post by Tsuroerusu » Fri Nov 24, 2006 11:07 pm

greggh wrote:Which do you think would be better for someone who is brand new to admining a server?
I like RPM distros, might sound weird but I do, and I have used CentOS in the past and really enjoyed it.

The thing you may need to get used to is Red Hat's command line admin tools and the overall Red Hat feel, once you've got those nailed, CentOS is really great.

But who am I to talk? I still run SUSE 10.1, after this whole Microvell thing, that name change to "openSUSE" doesn't feel so bad anymore.
Image
Image

"Hatred does not cease by hatred, but only by love. This is the eternal rule."
- Siddhattha Gotama (Buddha), founder of Buddhism.

User avatar
greggh
Posts: 1036
Joined: Fri Jun 02, 2006 7:17 pm
Location: Brooklyn, NY USA

Post by greggh » Fri Nov 24, 2006 11:07 pm

Wally Balljacker wrote:Apache2 is available in Debian stable, and for just about anything else you could need, such as php5, there is Backports.
Thanks for letting me know about backports. I'm going to look more into that.

User avatar
Gomer_X
Posts: 901
Joined: Fri Jun 03, 2005 1:31 pm
Location: Cincinnati, Ohio, USA
Contact:

Post by Gomer_X » Mon Nov 27, 2006 8:59 am

My web site runs Debian but I don't administer it, it's a shared hosting setup. It's running apache 1.3. I'm a bit put off by the fact that kernel 2.4 and apache 1.3 are default. I know you can get newer packages, but I'd rather be running a distro that has apache 2 as a default, not an add-on. Just personal preference, though. Apache 1.3 is very stable and secure, I'm just used to 2.0.

Presonally I'd go with CentOS, but that's ONLY because I'm familiar with Red Hat and RPM. If you're not familiar with either, they're really about equal. Both have a great reputation on the server.

User avatar
greggh
Posts: 1036
Joined: Fri Jun 02, 2006 7:17 pm
Location: Brooklyn, NY USA

Post by greggh » Mon Nov 27, 2006 9:07 am

Thanks for the input Gomer. I pretty much decided on CentOS. Like you say, I think it will be easier to get and maintain newer versions of things like Apache, MySQL, PHP, etc... with CentOS 4.4 than Debian Stable.

User avatar
gordonmarkus
Posts: 50
Joined: Thu Nov 03, 2005 10:19 am
Location: Milton Keynes UK

Post by gordonmarkus » Mon Nov 27, 2006 6:19 pm

I upgraded my RH9 webserver to Centos4.4 earlier this year, and have never looked back. It's fantastic!

Stick on webmin & phpMyAdmin and it's seriously easy to administer as well.

-Gordon.
stupid is as stupid does (and that'd be me most of the time!)

Tsuroerusu
Posts: 2551
Joined: Mon Sep 05, 2005 8:51 am
Location: Silkeborg, Denmark
Contact:

Post by Tsuroerusu » Mon Nov 27, 2006 6:46 pm

gordonmarkus wrote:I upgraded my RH9 webserver to Centos4.4 earlier this year, and have never looked back. It's fantastic!
Quite encouraging to hear, I guess I now know what my file server will be running when I rebuild it. I think it has had a motherboard failure, because it just died. Boy do I hate cheap proprietary motherboards! They suck ass, and using them just feels like an infinite turd coming out of my ass!!

(Yes, I've been watching too much Angry Nintendo Nerd)
Image
Image

"Hatred does not cease by hatred, but only by love. This is the eternal rule."
- Siddhattha Gotama (Buddha), founder of Buddhism.

User avatar
Wally Balljacker
Posts: 1227
Joined: Fri Jul 29, 2005 3:32 am
Location: University of Massachusetts - Lowell
Contact:

Post by Wally Balljacker » Mon Nov 27, 2006 7:18 pm

Tsuroerusu wrote:Quite encouraging to hear, I guess I now know what my file server will be running when I rebuild it. I think it has had a motherboard failure, because it just died. Boy do I hate cheap proprietary motherboards! They suck ass, and using them just feels like an infinite turd coming out of my ass!!

(Yes, I've been watching too much Angry Nintendo Nerd)
Is that your superior Apple product? Say it isn't so!

Tsuroerusu
Posts: 2551
Joined: Mon Sep 05, 2005 8:51 am
Location: Silkeborg, Denmark
Contact:

Post by Tsuroerusu » Tue Nov 28, 2006 12:57 am

Wally Balljacker wrote:
Tsuroerusu wrote:Quite encouraging to hear, I guess I now know what my file server will be running when I rebuild it. I think it has had a motherboard failure, because it just died. Boy do I hate cheap proprietary motherboards! They suck ass, and using them just feels like an infinite turd coming out of my ass!!

(Yes, I've been watching too much Angry Nintendo Nerd)
Is that your superior Apple product? Say it isn't so!
No no, this is a "frankenstein" machine I built from a motherboard from my uncle's broken PC, oh well, Celeron sucks ass anyway.
Image
Image

"Hatred does not cease by hatred, but only by love. This is the eternal rule."
- Siddhattha Gotama (Buddha), founder of Buddhism.

Post Reply