Linux下CentOS-7-64bit 安装配置Apache + MySQL + PHP 教程
1、环境准备
一、配置防火墙,开启80端口、3306端口
CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。
1、关闭firewall并安装iptables防火墙:
#停止firewall服务
systemctl stop firewalld.service
#禁止firewall开机启动
systemctl disable firewalld.service
#安装iptables防火墙
yum install ipt……