Ubuntu报Command 'firewall-cmd' not found, but can be installed with: apt install firewalld错误解决方案

当输入firewall-cmd --list-ports 查看端口信息时报错 报错的原因可能是没有安装firewall,安装命令为: yum install firewalld 安装完毕后下面介绍一下firewalld的常用用法: 启动: systemctl start firewalld 停止运行

你可能感兴趣的:(Ubuntu报Command 'firewall-cmd' not found, but can be installed with: apt install firewalld错误解决方案)