采用yum安装
启动apache
#systemctl start httpd.service
安装mysql5.6
# wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
# rpm -ivh mysql-community-release-el7-5.noarch.rpm
# yum install mysql-community-server -y
#systemctl start httpd.service
自启动
systemctl enable httpd.service
systemctl enablemysqld.service
时间: 2024-08-01 10:44:29