CentOS:: Install and configure LAMP
:: How to install LAMP on CentOS
yum install httpd httpd-devel mysql mysql-server mysql-devel php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml
:: How to configure MySQL
mysql_secure_installation
:: Add httpd and mysqld on init.d
chkconfig httpd on chkconfig mysqld on
:: Starting httpd and mysqld
/etc/init.d/httpd start /etc/init.d/mysqld start
:: Links
+ Google
+ HowToForge