yum install firewalld systemd -y firewall-cmd --zone=public --add-port=80/tcp --permanent firewall-cmd --zone=public --add-port=3306/tcp --permanent firewall-cmd --reload systemctl restart firewalld
http://www.cnblogs.com/wishwzp/p/7113403.html
http://www.cnblogs.com/ants/p/5732337.html
http://www.cnblogs.com/onephp/p/6245902.html
https://segmentfault.com/a/1190000010763523