Centos7防火墙问题:Unit iptables.service could not be found.
问题
在搭建zookeeper集群的时候出错,查看防火墙状态发现:
1 | [root@castile zookeeper-3.5.7]# service iptables status |

解决
安装iptables-services
1
yum install iptables-services
启动iptables 并查看状态

其他:
service iptables stop : 关闭防火墙
chkconfig iptables off