I just want to ask how i can use nginx server as well as Apache to substitute this one .
I've heard nginx is more stable than Apache , right ? I'm using windows based at this moment but sometime i would use Linux :D:D
hope someone can help me learn how to install nginx, php, mySQL and phpmyadmin
Ok, that makes sense. I guess I better change my setup when I go live, and also get a manual on commands. That should be fun. lol
Really? Wow, I did not know that. I am using KDE for the GUI. Is their a reason for not using either package? So, it would just be the Command-Line? Learn something everyday. Thanks
Security is the main concern, the X Windowing system has never been all that in terms of security - I think they still recommend you don't run it on any Internet exposed servers (don't quote me on that though). You're presenting a much larger attack surface to any hackers etc. the more you have installed on a server.
Just as an aside, you don't want to be installing a desktop environment such as Gnome or KDE on to a server.
I'll just add. If you go with linux, I would choose CentOS also. I have it on a box (along with Win Server box), and couldn't be more pleased with it. Very easy to use, Great UI, and easy to find your way around. It's the closest you'll get to a Windows OS...without the price.
It's not often I tell people to Google, as we don't really like that on SitePoint, but in this instance it really is the best course of action:
Some of those links for you:
CentOS is a Linux distribution, it's based off of a well known distribution of Linux and is used by many hosting companies - Your best bet is to get an old PC and try it on there, or a cheap VPS from somewhere like VPS.net and have a play around with it.
Installing MySQL with CentOS is pretty trivial for the standard version that comes with the OS i.e.:
yum install mysql-server
Similar for PHP:
yum install php
Although to work with nginx you'll need to do a bit more than that as advised in the above articles.