Running: Windows Vista Ultimate x64

I'm a web developer, using mainly PHP and MySQL, and I've decided that using XAMPP doesn't cut it any more (I want to play with the Oracle database system, and other stuff).

Yesterday I installed 2GB of RAM into my machine, for a total of 4GB. So I thought about setting up a Virtual machine that will act as a server for processing the PHP code.

I have absolutely no experience in managing a server, but I've tried many tutorials to set up one in CentOS and Ubuntu with no luck.

Here I am, asking you guys:

Can anybody help me or point me to a tested guide to set up a webserver, step by step?

I know my way around Linux so I'm not a total newbie.

Thank you in advance :)


I've had great success with Zend Server CE. Zend Server CE ships with the major components PHP 5, MySQL 5, and Apache 2.2 all pre-configured to communicate properly, easily handling the "AMP" part of your LAMP setup. As the starting point I wish Zend had shipped years ago, I can't recommend it highly enough.


once you install CentOS, do followings

yum install httpd yum install php yum install mysql-server yum install php-mysql

this is for your httpd & mysql & php, oracle you may need to download from their site directly and use their documentations on how to install it on your CentOS

  • I'll try this and report back. – Daniel S Jul 29 '09 at 1:15
  • Indeed worked :) One more thing: it only has PHP 5.1.6. When I download 5.3 and compile from source, how do I tell Apache to use the new module and not the old one? – Daniel S Jul 29 '09 at 3:19
  • i think when you do make install it copy module inside of modules directory and overwrite the older one... – alexus Jul 30 '09 at 13:59

There are some awesome tutorials/articles over at Slicehost. They are to the point and cover a wide range of server related set ups.


You will need to enable new repositories in case you will want to install higher version of php, I'd recommend to enable the remy and rpmforge repositories.

Compiling from source code might be a problem in the future since you won't be able to upgrade it easily with "yum upgrade"


Here's my favorite.

It does a walkthrough of more stuff than just Apache, so pick and choose what you think you need. GREAT setup for web hosting. I've tested this tutorial with previous versions, and they work great.

Google search: perfect ubuntu server


I like "The Perfect Server" (CentOS).

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.