每次打开虚拟机时候,都会启动防火墙,使用起来很不方便
可以做到永久关闭防火墙
#查看firewall状态
systemctl status firewalld.service
#停止firewall
systemctl stop firewalld.service
#禁止firewall开机启动
systemctl disable firewalld.service
本文提供了在系统中永久禁用防火墙的方法。首先通过`systemctl status firewalld.service`命令检查防火墙的状态,然后使用`systemctl stop firewalld.service`来停止防火墙,并通过`systemctl disable firewalld.service`确保防火墙不会在下次启动时自动开启。
每次打开虚拟机时候,都会启动防火墙,使用起来很不方便
可以做到永久关闭防火墙
#查看firewall状态
systemctl status firewalld.service
#停止firewall
systemctl stop firewalld.service
#禁止firewall开机启动
systemctl disable firewalld.service
4870
1788
9355

被折叠的 条评论
为什么被折叠?