Link to home
Start Free TrialLog in
Avatar of hankknight
hankknightFlag for Canada

asked on

Which version of CentOS is best for hosting websites?

Hello,

I need to purchase a server to host a number of dynamic websites powered by Linux, Apache, MySQL and PHP.

I have used CentOS 4 in the past and am happy with it.

Which of the following options should I have installed on my server?  I will not be using any control panals like cpanel or anything fancy, just Apache, MySQL and PHP.

         CentOS 4 (32 bit)
         CentOS 4 (64 bit)
         CentOS 5 (32 bit)
         CentOS 5 (64 bit)

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of ravenpl
ravenpl
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
32bit linux supports up to 64GB of ram. If You want to have more - choose 64bit.
But there's other issue with ram, on 32bit single process can address only 3GB(4GB with hugemem kernel). Hence I don't think any of Apache, MySQL, PHP can use that much.
More than 3GB per process is usually needed for very large enterprise databases.
SOLUTION
Avatar of Tintin
Tintin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hankknight

ASKER

Thank you.

CentOS5 32 bit seems to be the consensus.  I will have 4 GB of ram.  When I can afford to I will place my database on a SEPARATE server anyway so I think 4 GB of RAM is all I will need on this system.

I have posted a related question here: (about the hugemem kernel)
https://www.experts-exchange.com/questions/23143199/hugemem-kernal-and-CentOS-5-32-bit.html
ravenpl: Correction, Centos 5 uses PAE Kernel instead of Hugemem