Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 :)

share|improve this question
add comment

6 Answers

up vote 1 down vote accepted

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.

share|improve this answer
add comment

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

share|improve this answer
    
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
add comment

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

share|improve this answer
add comment

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"

share|improve this answer
    
Thanks for that as well :) –  Daniel S Jul 29 '09 at 18:21
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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