HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Which linux Distro for me? Debian or CentOS? With or without Control Panel? (http://www.howtoforge.com/forums/showthread.php?t=57534)

Brook 5th June 2012 12:50

Which linux Distro for me? Debian or CentOS? With or without Control Panel?
 
Firstly, I would like to say thanks for a brilliant resource here at How-to-forge! I think I am going to spend a lot of time here :)

Background

I have run dedicated servers for several years on CentOS - but for the most part I have been shielded from the OS as they had cPanel. Earlier this year I thought I would make the move away from cPanel and tried Virtualmin. However, I am now thinking about going without a control panel altogether - because I need to use the latest versions of Ruby and PostgreSQL, and it seems control panels like Virtualmin can get in the way a bit. For example I removed postgres from my server and yum decided to remove virtualmin-base as well... which screwed up my install (now my postfix and dovcot are not working).

(I looked at ISPConfg but it seems most people were recommending Virtualmin on webhostingtalk, so gave that a go (sorry!). I now have virtualbox so am going to try it - already tried openpanel).

Server requirements

I need a server to host / run:
  • Apache or Nginx - don't mind
  • PHP/Mysql - my older sites (PHP 5.2 as that's what my older sites need)
  • Ruby/Postgres - latest versions (1.9.3 & 9.1) for my newer sites (Rails)
  • Ability to send and receive email for each domain (smtp/pop - and set up SPF/DKIM records etc)
  • Secure the server (perhaps with configserver firewall)

I don't need stats, mailmanagers, virus/spam checking of emails etc

Debian or CentOS

Although I have used CentOS for several years on my servers (I haven't' really done that much command line stuff) I am considering Debian as it seems to accommodate the more recent packages I want (of Postgres anyway) via backports. I also like the Debian philosophy. So I'm happy to learn all about aptitude (instead of yum). They both have great reputations as web server - so I really don't mind. I'd quess it would be between Debian Squeeze and Centos 6.2 (currently using 5.8).

Questions
  1. Should I try without a control panel? If not which do you recommend (bearing in mind I want to use the latest Ruby/Postgres etc)
  2. Debian or CentOS? I'm completely open-minded, and happy to learn more about either system (any links to easy-to-digest books or guides?)

Thanks in advance for any help.

falko 6th June 2012 23:00

I'd use Debian because apt is better than yum, and you don't have to mix third-party repositories because almost everything is available from the official Debian repos.

Brook 6th June 2012 23:51

Thanks Falko. I must say I am drawn to Debian :)

However I just up a new server and this time around I ended up going with what I was used to, CentOS - I didn't have enough time as my dedicated server renewal was up tomorrow, so I wanted to get a new server asap (to save me $120).

I am also trialling a new server company (I think you use them too) if it goes well for a few months I will get a more powerful server... and then seriously consider Debian - and whether to use a control panel or not.

What do you think? Would I be better off without a CP? Primarily because I want to use the latest versions of Ruby/Postgres etc. Is it easy enough to set-up emails/SPF records etc without a control panel?

Thanks in advance.

falko 7th June 2012 23:11

Quote:

Originally Posted by Brook (Post 280330)
What do you think? Would I be better off without a CP? Primarily because I want to use the latest versions of Ruby/Postgres etc. Is it easy enough to set-up emails/SPF records etc without a control panel?

This depends on your skills. It's not rocket science, but a control panel will still save you a lot of time. :)

Brook 7th June 2012 23:35

I'm getting more comfortable with command line/linux :D

I will spend some time playing around with Debian on virtualbox - as I'd really like to give it a try :)

Which howtoforge guides would you recommend if I wanted to do the following?

Set up web server for:
  • domains/websites (usual lamp (or with nginx))
  • emails (for smpt/pop access dovecot/postfix?)

TiTex 8th June 2012 07:04

how about http://www.howtoforge.com/perfect-se...nx-ispconfig-3
it has all you need beside Ruby/Postgres which you'll have to install , has ispconfig3 for control panel has nginx and mail postfix/dovecot.
even if it has control panel nobody stops you to use the command line :)

Brook 8th June 2012 16:58

Quote:

Originally Posted by TiTex (Post 280419)
how about http://www.howtoforge.com/perfect-se...nx-ispconfig-3
it has all you need beside Ruby/Postgres which you'll have to install , has ispconfig3 for control panel has nginx and mail postfix/dovecot.
even if it has control panel nobody stops you to use the command line :)

But does that increase the chance of something breaking if I upgrade something? (With Virtualmin (on Debian) I upgraded Postgres but couldn't get it to play with virtualmin - also ended up breaking postfix/dovcot as yum decided to uninstall vritualmin-base when I uninstalled the old postgres). Hence I am a little reluctant lol.

Also, do control panels use up resources?
And do they add additional security risks?

I would love to see a how-to guide that sets up the usual lamp along with email (with guidelines on how to configure and use such a set-up). I reckon it would be very popular :)

till 8th June 2012 17:08

Quote:

But does that increase the chance of something breaking if I upgrade something?
No. ISPConfig is made to play nice with Debian system updates.

Quote:

Also, do control panels use up resources?
ISPConfig does not use up any resources when you are not doing something. Webmin or virtualmin use resources.

Quote:

And do they add additional security risks?
Every software that you install on a server add risks. But there are no known problems with ispconfig and you can also add a .htaccess protection on the interface as additional secirity protection if you want.

Brook 8th June 2012 17:16

Quote:

Originally Posted by till (Post 280437)
No. ISPConfig is made to play nice with Debian system updates.



ISPConfig does not use up any resources when you are not doing something. Webmin or virtualmin use resources.



Every software that you install on a server add risks. But there are no known problems with ispconfig and you can also add a .htaccess protection on the interface as additional secirity protection if you want.

Thanks Till.

I will definitely look at ISPconfig again - I have it installed on a debian VM just haven't had time to play with it.

Is ISPC built in/dependent on php? At some point I want to port all of my sites over to Ruby/Rails and want to remove PHP altogether.

till 8th June 2012 17:22

ISPConfig ismostly written in php.


All times are GMT +2. The time now is 23:10.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.