Centos 5.2 has one-click installation and integrated linux+php-cgi+nginx+mysql installation package. Just execute the install.sh inside to complete the installation! The mysql root password is empty, and the installation path is in /usr/local/mysql The web path is in /var/www/html. If you want to change it, just modify the root path in /usr/local/nginx/conf/nginx.conf.