个人笔记:
(注:由于项目局域网莫名其妙不能访问,查看防火墙状态提示不活跃,没想到还是防火墙的问题,心塞)
运行:service iptables stop
提示:Failed to stop iptables.service: Unit iptables.service not loaded.
需要换成:
systemctl stop firewalld
systemctl status firewalld
systemctl disable firewalld
systemctl enable firewalld
'''