CentOS7中firewall-cmd tab命令时not running
CentOS7中firewall-cmd tab命令时总是not running,系统其它命令是可以正常tab的啊!!以为是内核版本的问题,升级内核和系统还是无效.
几经折腾原来是firewalld服务没有开,这个服务系统没有自动打开让人有点意外.
CentOS7中启用firewall一直报错.
手动启动它吧.
[root@room8pc205 ~]# firewall-cmd --state //查看运行状态
not running
[root@room8pc205 ~]# systemctl start firewalld //启动服务
[root@room8pc205 ~]# systemctl enable firewalld //设为开机启动
查看启动状态,启动好了就可以用TAB键了.
[root@room8pc205 ~]# systemctl status firewalld //查看是否启动成功
北京星诚视野网络科技有限公司 © 2008-2022 京ICP备09003513-1号 技术支持:北京网站建设公司 北京APP开发