CentOS 7.0默認使用的是firewall做爲防火牆,這裏改成iptables防火牆。firewall:systemctl start firewalld.service#啓動firewallsystemctl stop firewalld.service#中止firewallsystemctl disable firewalld.service#禁止firewall開機啓動