Create autolamp_cm27.sh 

This will install a lamp setup on your Centos 6  machine ..
load the file into your root folder an call it back using this :
sudo sh  autolamp_cm27.sh