Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th June 2012, 12:50
Brook Brook is offline
Junior Member
 
Join Date: Jun 2012
Location: UK
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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.

Last edited by Brook; 5th June 2012 at 12:54.
Reply With Quote
Sponsored Links
  #2  
Old 6th June 2012, 23:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
Brook (6th June 2012)
  #3  
Old 6th June 2012, 23:51
Brook Brook is offline
Junior Member
 
Join Date: Jun 2012
Location: UK
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #4  
Old 7th June 2012, 23:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Quote:
Originally Posted by Brook View Post
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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 7th June 2012, 23:35
Brook Brook is offline
Junior Member
 
Join Date: Jun 2012
Location: UK
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I'm getting more comfortable with command line/linux

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?)
Reply With Quote
  #6  
Old 8th June 2012, 07:04
TiTex TiTex is offline
Senior Member
 
Join Date: Aug 2011
Location: Cluj-Napoca,Romania
Posts: 125
Thanks: 0
Thanked 17 Times in 17 Posts
Send a message via Skype™ to TiTex
Default

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
Reply With Quote
  #7  
Old 8th June 2012, 16:58
Brook Brook is offline
Junior Member
 
Join Date: Jun 2012
Location: UK
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by TiTex View Post
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
Reply With Quote
  #8  
Old 8th June 2012, 17:08
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,439
Thanks: 813
Thanked 5,209 Times in 4,085 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 8th June 2012, 17:16
Brook Brook is offline
Junior Member
 
Join Date: Jun 2012
Location: UK
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
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.
Reply With Quote
  #10  
Old 8th June 2012, 17:22
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,439
Thanks: 813
Thanked 5,209 Times in 4,085 Posts
 
Default

ISPConfig ismostly written in php.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enabling SSL For The ISPConfig 3 Web Interface on Centos 5.7 86-64 Bit Linux ffs123 Installation/Configuration 1 1st November 2011 07:38
Need Technical Help - for creating custom Linux Distro kiran_cyberpro Server Operation 1 17th October 2008 09:21
PPTP causes Postfix reload fpizzinini Server Operation 4 3rd October 2008 19:43
Webmin docs missing namit Server Operation 11 5th January 2006 09:51
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 14:41.


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