已采納回答 / Lane
CentOS7用的systemctl來管理任務。你的錯誤是firewall-cmd這個命令不存在。請確保你有firewall-cmd這個命令。在CentOS7的防火墻是firewall,在此之前都是iptables
2016-10-08