1.关闭防火墙

systemctl stop firewalld 

2.关闭开机启动

systemctl disable firewalld 

3.查看防火墙状态

systemctl status firewalld 

4.临时关闭Selinux

setenforce 0

5.永久关闭Selinux

vim /etc/sysconfig/selinux   SELINUX=修改为disabled

linux 7关闭防火墙和selinux

6.查看selinux状态

sestatus

7.修改后重启

 reboot


相关文章:

  • 2021-09-15
  • 2022-01-23
  • 2022-12-23
  • 2021-12-27
猜你喜欢
  • 2022-03-04
  • 2021-11-18
  • 2021-05-11
  • 2021-11-23
  • 2021-11-23
  • 2021-11-09
  • 2022-02-13
相关资源
相似解决方案