zyrs

关闭防火墙

默认使用的是firewall作为防火墙

 

查看防火墙状态

$ firewall-cmd --state


停止firewall

$ systemctl stop firewalld.service


禁止firewall开机启动

$ systemctl disable firewalld.service

 

 

 

禁用安全策略

 

进入到/etc/selinux/config文件
$ vim /etc/selinux/config
将SELINUX=enforcing改为SELINUX=disabled

 

关闭

$ setenforce 0

查看

$ getenforce

分类:

技术点:

相关文章:

  • 2022-03-07
  • 2021-08-06
  • 2021-10-06
  • 2021-09-15
猜你喜欢
  • 2021-11-19
  • 2021-04-11
  • 2021-07-15
  • 2021-12-12
  • 2022-01-05
  • 2021-12-21
相关资源
相似解决方案