引用網址:http://www.zhongruitech.com/525429182.html
一、安装apache、mariadb:
1、准备工作:
安装EPEL repo并用最新的稳定版本更新系统。
yum install epel-release -y
yum update -y
2、安装apache httpd:
yum install httpd -y //安装httpd
systemctl start httpd //启动httpd
systemctl enable httpd //配置自启动