1、关闭SELINUXvi/etc/selinux/config#SELINUX=enforcing#commentout#SELINUXTYPE=targeted#commentoutSELINUX=disabled#add2、关闭防火墙:turnoff命令:serviceiptablesstop永久关闭防火墙:chkconfigiptablesoff操作完成后,查看防火墙serviceiptablesstatus的关闭状态

1、关闭SELINUXvi/etc/selinux/config#SELINUX=enforcing#commentout#SELINUXTYPE=targeted#commentoutSELINUX=disabled#add2、关闭防火墙:turnoff命令:serviceiptablesstop永久关闭防火墙:chkconfigiptablesoff操作完成后,查看防火墙serviceiptablesstatus的关闭状态