1、安装Apache服务
yum install httpd
2、安装Mysql服务
2.1 下载mysql的repo源
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
2.2 安装mysql-community-release-el7-5.noarch.rpm包
rpm -ivh mysql-community-release-el7-5.noarch.rpm
2.3 安装Mysql服务
yum install mysql-server
2.4 启动Mysql
service mysqld start
2.5 修改Mysql root 密码
mysqladmin -u root password ******
3、安装PHP[……]