
|
View Full Version : Best CentOS for cPanel
dyrer 01-16-2012, 08:45 AM hello
I want to setup a new VPS and i have options between centos 5.6, 5.7 and 7.0 with 32bit and 64bit
VPS have 2 GB RAM
Whats the best for better performance?
Centos 7.0 ? must be very new!
If you choose Centso 5 - go with 5.7 - it is the latest, Otherwise go with 6, and upgrade it to 6.2.
As you only have 2 Gig, you could choose a 32 bit OS, but if there is any chance you might upgrade memory to 4G or beyond, go with a 64 Bit Version.
dyrer 01-16-2012, 09:39 AM Centos 7.0 ? must be very new!
If you choose Centso 5 - go with 5.7 - it is the latest, Otherwise go with 6, and upgrade it to 6.2.
As you only have 2 Gig, you could choose a 32 bit OS, but if there is any chance you might upgrade memory to 4G or beyond, go with a 64 Bit Version.
Haha am from the future CentOS 7 ;)
Thanks so you think i should choose 6
Exerox 01-16-2012, 09:43 AM I think 5, simply due to compatibility if you choose to add outside plugins to cPanel. Quite a few developers of cPanel addons haven't released stable RH6 editions as of yet.
But as said do go with 32bit if you plan on staying under 2GB, better memory management.
ezbnc 01-16-2012, 12:00 PM Yes I would say centos 5 just seems to me centos 6 is a little bit off.
NodeKi 01-16-2012, 12:12 PM CentOS 5.7 is what we use now, though we're bringing a few nodes online with 6.x. The only issue I've seen is that sometimes 6.x doesn't take with CPanel too well, even with a minimal installation (i.e. I've ended up with 3 unbootable VPS's in the past month). Thankfully CPanel support is only a ticket away and they're pretty helpful in diagnosing the issue.
That said, if you want long-term support, I'd go with the 6.x branch as I believe 5.x is due to end either 2012, or 2013 (last I recall).
In terms of performance, if you choose a 64-Bit OS with 2GB of RAM, you're going to see higher memory consumption than with a 32-Bit OS. If there's any chance you're going to upgrade beyond 2GB of RAM, then I'd go ahead and use the 64-Bit. It's not going to be a huge difference, so long as you work on optimizing the VPS and do not rely on solely the base configuration.
dyrer 01-16-2012, 12:28 PM Thank you guys for replies
I have chosen Centon 5.7 32Bit and now install cPanel
If you have the time, i know a plugin for cPanel for nginx
Is there any other way to use nginx with PHP-FPM to VPS
NodeKi 01-16-2012, 12:35 PM Out of the box, without a plug-in, CPanel doesn't offer NGINX support, or a script to configure & install anything other than Apache. If you want to install and configure NGINX and PHPFM, it'd be best to do it manually, without CPanel.
There's a really nice script that works pretty well (though you are going to need to know how to work the CLI), which will install both for you automatically.
http://centminmod.com/
It's really straight forward and works well. I've tested it on CentOS 5.x and 6.x and while it will take a while to install on low-RAM systems, it's nice and fast.
dyrer 01-16-2012, 01:00 PM What about Nginx Admin and easyapache with PHP-FPM enabled ?
or your solution is better?
NodeKi 01-16-2012, 01:19 PM If you *need* a control panel to manage a server, stick with CPanel. If you're comfortable using the command line and would rather not have all the bloat, use the CentMinMod (nothing wrong with using a CP, btw).
The CMM does not provide a control panel beyond the basic menu shown on their website when running the script. Anything currently beyond the scope of the script will require command line interaction with the software.
As for the CPanel plug-in's, I've heard both good and bad. Some say they work, some say they cause issues. It's really back and forth. I do know that with one of them before you run EasyApache, you need to remove the script, run EA, then re-install else you'll run into issues and have to start the process all over again.
I don't think either of the 2 NGINX CPanel plug-in's really offer a full-blown easy upgrade path yet.
rds100 01-16-2012, 01:32 PM From here: http://www.cpanel.com/products/cpanelwhm/system-requirements.html
[2] cPanel does not support 32-bit Virtual Environments that run on a 64-bit host kernel.
So i would go with 64bit CentOS, regardless of the available memory.
NodeKi 01-16-2012, 01:36 PM From here: http://www.cpanel.com/products/cpanelwhm/system-requirements.html
So i would go with 64bit CentOS, regardless of the available memory.
They may not openly support it, however, many providers will deploy to a 32-Bit OS over a 64-Bit OS by default when 2GB RAM or less is purchased simply due to the amount of RAM used by a 64-Bit OS. It's not huge, but it's noticeable.
PentiumUK 02-01-2012, 12:53 AM new technology is most certainly exciting, though there are some limitations or upgrades required to make full use of the functionalities. cpanel should work well with centos 5.7 on a 64 bit
astrovps 02-14-2012, 11:15 PM it's true, cpanel should work well with centos 5.7 on a 64 bit
That said, if you want long-term support, I'd go with the 6.x branch as I believe 5.x is due to end either 2012, or 2013 (last I recall).
RedHat has just extended the end-of-life of RedHat 5 to spring of 2017:
http://www.redhat.com/about/news/press-archive/2012/1/red-hat-enterprise-linux-stability-drives-demand-for-more-flexibility-in-long-term-operating-system-deployments
CentOS is now claiming support for CentOS 5 until 2017. CentOS 6 is supported until 2020.
tallship 02-19-2012, 02:22 PM CentOS is now claiming support for CentOS 5 until 2017. CentOS 6 is supported until 2020.
I like to look back 8 years when I read something like that. Just exactly where was technology then? A lot has transpired, and although I actually have an old Asterisk 0.9 box running on a 2.4 Kernel that I still use for a couple of things internally at home, there's a world of difference between that and what we have now.
And so will it be in eight years - even five years, if you're looking at CentOS 5.
Considering that CentOS and RPM based distros are generally a couple of years behind the time anyway once they're released (compared to distros that run the more current software offerings available), my recommendation is to not even consider CentOS 5 since you're just starting off.
More and more, you're going to begin to see less and less current software available due to the underlying dependencies that will be required moving forward.
It's always been this way with Redhat type distros, and although CentOS will publish and end of life cycle, it really doesn't mean that the particular version will be very much more modernized than it was a few years ago when it originally came out.
For that reason I would recommend going with CentOS 6, getting current with yum update, and then moving forward from there.
Additional software support and availability will continue present itself upon the horizon, and even right now, a CentOS 6 box will do what you need it to.
Already we're beginning to see providers dropping CentOS 5 from their available templates/images, and if you need further evidence of what I've been pointing out above... Just try finding a provider that has CentOS 4 as an offering ;)
I have upgraded quite a few enterprise servers from 4.x to 5.x, which actually makes little sense because:
They were running fine as the previous version
CentOS 6 had already been released anyway
The upgrade migrations are sometimes problematic and somewhat of a pain
And yes, I would personally [probably] choose a 64 bit version, but not necessarily, although I think you might be better off choosing the 64 bit version of CentOS 6 and simply adding more RAM later, which any halfway decent provider can offer you with the click and a couple more bucks a month.
Here's another thing to consider. You *should* be able to migrate your hosted accounts via WHM/cPanel to other hosts relatively painlessly regardless of the OS versioning you choose, and all of your hosted customers *should* (but probably aren't going to) be using some type of revision control which means they can fire up their sites in a New York minute on any other cPanel enabled hosting service.
Yeah, I think CentOS 6 64bit is probably the most prudent choice. You're not replacing anything that was running on an older version anyway, right?
I hope that helps :)
Kindest regards,
.
|