lamp

1、yum install -y php php-devel php-mysql mariadb mariadb-server mariadb-devel httpd-devel -y

启动apaceh、数据库
2、service mariadb restart
service httpd restart

3、
cd /var/www/html
vim index.html
setenforce 0
service firewalld stop
ip addr
然后在浏览器里面输入ip地址,上面显示的ip

lamp

lamp

lamp