yum -y install httpd php mysql mysql-server php-mysql
安装好之后:
启动apache:service httpd start
启动mysql:service mysqld start
mysql的root用户默认密码为空。
//////////////////////////////// ////////Sixi. Let it be...///// //////////////////////////////