NAVIGATION - HOME |  | |
| New Server Which OS should I go with? | | Published by: smith 2009-01-07 |
| P4 3.4 Dual Core
2GB Ram
300GB SATA
Which Linux Distro should I go for? I'm pretty familiar with Debain/Redhat/Fedora etc...
Any recommendations / versions? Should i go with apache2/php5/mysql5?
Whatever you guys can recommend would be appreciated
thanks!
CentOS 4.4
Apache 2.2.4
PHP 5.2.1
MySQL 5.0.33
XCache 1.2.0
Good choice. :)
If you have the budget, stick with the 2 servers.
PHP + XCache on the web (weaker) server, MySQL + MemCached on the MySQL (strong) server. If you have a busy site, memory is the key of success, not the actual processor speed, although it counts... (pretty sure George will come up with a tight file config for you). Make sure you use dual NICs on the web machine and a SCSI drive on the MySQL machine. Preferably, you need SCSI on both machines.
Use a load balancer to transfer the load to the stronger server, while the site is getting hammered.
Analyse your web traffic and see how the 95th percentile does when the site is hammered, just to make sure the NICs you have installed are sufficient.
Keep us updated. :)
Thanks for the suggestions....
I currently have a p4 3ghz which is not handling the site too well once i get above 800 or so online at once after optimizations.... this new box is a dual core machine so i hope it handles it better....
If i decide to keep both machines maybe to have mysql on one server and web server on the other... should i put mysql on the faster machine? webserver on the p4 3ghz?
Deffinitely Vista ;)
Without a doubt... WITHOUT A DOUBT, go with multiple 15,000 RPM SCSI hard drives.
Would starting out with SATA drives be so bad? Say I have an avg of 700-900 people online. With two machines, webserver/db server. Will SATA handle it? It is quite a bit more money for the scsi to start with. Creating a new user account for the server in Windows NT:: Select Act as part of the operating system from the drop-down box. Click Add. assigning permissions, you should assign the server to the new user account you http://help.globalscape.com/help/cuteftpserver2/Creating_a_new_user_account.htmHOME | Wireless Home Networking for Dummies - Shop.com:: and wirelessly on Windows PCs or Mac OS X machines Why go wireless. inexpensive, and, with the emergence of new industry standards, better than ever. http://www.shop.com/116902662-p.shtmlHOME |
Yes, bad, don't do it, especially not on the DB server.
Yes. :)
Off topic, congrats on your PHP 5.2.1 tutorial, great job.
Thanks.
Yes. :)
Off topic, congrats on your PHP 5.2.1 tutorial, great job.
Yes, you can start with SATA, and look at the 85th percentile, to see how is the server load.
^^ Bad, I thought is ok for up to 1000 users with 2 servers. Learned something new. :)
If is not to personal, how much money you spend on the both machines?
I ask this because it should not be a big difference between the SATA and SCSI drives.
I take this example at softlayer.com (the best service IMO):
SATA: 159$
SCSI: 189$
Basically, you should not pay more then 30$ extra for SCSI's.
There is a huge difference between 7200 RPM SATA & 10K or 15K RPM SCSI.
It's been my experience that anything more than 200-300 users w/ a 900s cookie on SATA is asking for trouble, especially if you use the full-text boolean search and have 1 Million (or more) posts.
IMHO Centos 4.x. It is RHEL 4 and has at least 5 more years of active updates(could be up to 7..look at RHEL-3 which is RH9).
Yeah another vote for CentOS 4.4 :)
Would starting out with SATA drives be so bad? Say I have an avg of 700-900 people online. With two machines, webserver/db server. Will SATA handle it? It is quite a bit more money for the scsi to start with.
Debian :D
CentOS 4.4
Apache 2.2.4
PHP 5.2.1
MySQL 5.0.33
XCache 1.2.0
This is basically the same thing I run (except all my sites run in virtual environments on OpenVZ). You can find tutorials on updating to these newer versions of httpd, php, and mysql (without needing to compile from source) in my signature.
Thanks that will help a lot in my decision.. I will go for the two machines...
I haven't actually heard of memcached... I will look it up.. is similiar to Xcache/APC for PHP but for Mysql?
CentOS 4.4
Apache 2.2.4
PHP 5.2.1
MySQL 5.0.33
XCache 1.2.0
That is a very good question. It is hard to answer without knowing anything about your site. If I had to choose one, I'd say put the MySQL server on the beefier server. If worse comes to worse, you could always setup a second Apache instance on the database server and use multiple web servers. ;)
You meant "drives", right?
Yes. :)
Off topic, congrats on your PHP 5.2.1 tutorial, great job.
Would starting out with SATA drives be so bad? Say I have an avg of 700-900 people online. With two machines, webserver/db server. Will SATA handle it? It is quite a bit more money for the scsi to start with.
Yes, you can start with SATA, and look at the 85th percentile, to see how is the server load.
^^ Bad, I thought is ok for up to 1000 users with 2 servers. Learned something new. :)
If is not to personal, how much money you spend on the both machines?
I ask this because it should not be a big difference between the SATA and SCSI drives.
I take this example at softlayer.com (the best service IMO):
SATA: 159$
SCSI: 189$
Basically, you should not pay more then 30$ extra for SCSI's.
Yes. :)
Off topic, congrats on your PHP 5.2.1 tutorial, great job.
Yes, you can start with SATA, and look at the 85th percentile, to see how is the server load.
If is not to personal, how much money you spend on the both machines?
I ask this because it should not be a big difference between the SATA and SCSI drives.
My current host is actually very cheap (~$200 for both)which is the only reason i can afford two boxes, however they are not a big dedicated server company and only offer SATA at the moment. They will begin offering more in the next several months which would mean i would have to go to a different host if i wanted scsi right now....
It's cheap enough that I can afford to test this out and see how it goes.... it couldn't make it any worse.....i hope =)
and a SCSI drive on the MySQL machine
You meant "drives", right?
Where's The Advantage In Windows Genuine Advantage?
Stocks Bounce After S&P Joins Bear Market
|
#If you have any other info about this subject , Please add it free.# | |
|