CentOS-7-64bit 配置Apache + MySQL + PHP
一、配置防火墙,开启80端口、3306端口
CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。
1、关闭firewall:
#停止firewall服务
systemctl stop firewalld.service
#禁止firewall开机启动
systemctl disable firewalld.
转载
2017-01-10 11:41:20 ·
202 阅读 ·
0 评论