cent07设置服务开机自启 [root@localhost ~]# systemctl start firewalld.service [root@localhost ~]# systemctl enable firewalld.service (设置成开机启动)