1.关闭 selinux 修改 它的配置文档 /etc/selinux/conf
修改 SELINUX=disabled 或者permissive
2. 关闭 防火墙 输入命令 systemctl disabled firewalld.service 开机关闭
systemctl stop firewalld.service 暂时关闭