hi i am learning server administration myself, DP helped me selecting the best open source operating system in a previous thread.. now that i got centos 5 installed.. iam kinda confused.. 1) centos do have apache mysql php built in or i have to install them? 2) I've been using XAMPP in windows where i place .html / .php in htdocs and check them using http://localhost in my browser.. i want to achieve the same thing here centOS.. 3) once 1 & 2 are done.. i want to point various domains to this new small home server via dns etc.. Kindly point me in the right direction.. I'll be really grateful !
if u install a control panel like lxadmin than apache and mysql and stuff will be installed automatically
You should look into securing your server first as the following will all be worthless if your server is infiltrated. Anyways, here is how to install the Apache, MySQL, PHP: 1) yum install httpd php-common php-mysql mysql mysql-devel mysql-server 2) You can specify the path to your website in /etc/httpd/conf/httpd.conf 3) yum install bind-chroot caching-nameserver You can use the -y flag with yum to prevent having to press "y" for yes all the time during the install.
That is true. You should setup DNS zone files for your localhost, reverse DNS, your domain, etc. I would go into detail but honestly all the questions in the OP's post are highly documented and very easy to find answers. A simple Google search will yield all your answers.