安装MariaDB Server。
yum install -y mariadb-server
启动MariaDB Server。
systemctl start mariadb
查看MariaDB Server运行状态
systemctl status mariadb
安装 httpd
yum install httpd -y
启动httpd
systemctl start httpd.service
安装 php72
yum -y install php72w
yum -y install php72w-cli php72w-common php72w-devel php72w-mysql php72w-xml php72w-odbc php72w-gd php72w-intl php72w-mbstring
手动更新rpm源
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm