Here is my simple way to install magento on CentOS 6
1. wget magento
2. edit /etc/httpd/conf/httpd.conf
3. install extra packages and extensions that might you need.
a. php extensions mcrypt —-> epel.mirror.freedomvoice.com/6/i386/php-mcrypt-5.3.3-1.el6.i686.rpm
b. php extensions libmcrypt-devel——> http://epel.mirror.freedomvoice.com/6/i386/libmcrypt-devel-2.5.8-9.el6.i686.rpm
c. php extensions libmcrypt—> http://epel.mirror.freedomvoice.com/6/i386/libmcrypt-2.5.8-9.el6.i686.rpm