开始安装
yum -y install httpd php mysql mysql-server php-mysql httpd-manual mod_ssl mod_perl mod_auth_mysql php-mcrypt php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpc mysql-connector-odbc mysql-devel libdbi-dbd-mysql
配置服务自动启动并启动服务
chkconfig httpd on
chkconfig –add mysqld
chkconfig mysqld on
service httpd start
service mysqld start
更改Mysql密码
mysqladmin -u root password ‘123456’
完成