How to Fix “firewall-cmd: command not found” Error in ubuntu

简介: How to Fix “firewall-cmd: command not found” Error in ubuntu
sudo apt-get install firewalld

Next, start firewalld and enable it to auto-start at system boot, then check its status.

sudo systemctl start firewalld
sudo systemctl enable firewalld
sudo systemctl status firewalld

CephMonitors 之间默认使用 6789 端口通信

sudo firewall-cmd --zone=public --add-port=6789/tcp --permanent
sudo firewall-cmd --reload
相关文章
|
4月前
|
机器学习/深度学习 Ubuntu KVM
ubuntu启动emulator : /dev/kvm is not found: VT disabled in BIOS or KVM kernel module not loaded
本文记录了解决AOSP模拟器无法启动的问题,原因是微星B450M主板BIOS中虚拟化技术未开启,通过安装KVM模块并修改BIOS设置以启用SVM模式来解决。
154 0
ubuntu启动emulator : /dev/kvm is not found: VT disabled in BIOS or KVM kernel module not loaded
Command ‘nohub‘ not found, did you mean: command ‘nohup‘ from deb coreutils (8.32-4.1ubuntu1)
Command ‘nohub‘ not found, did you mean: command ‘nohup‘ from deb coreutils (8.32-4.1ubuntu1)
|
6月前
|
Ubuntu PHP
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
114 1
|
Ubuntu Linux Docker
Ubuntu安装docker报错:Command ‘lsb_release‘ not found
Ubuntu安装docker报错:Command ‘lsb_release‘ not found
413 0
|
存储 Ubuntu Linux
virtualbox虚拟机安装Ubuntu异常处理:FATAL: NO bootable medium found! System halted
virtualbox虚拟机安装Ubuntu异常处理:FATAL: NO bootable medium found! System halted
virtualbox虚拟机安装Ubuntu异常处理:FATAL: NO bootable medium found! System halted
|
Ubuntu Go 开发工具
ubuntu下go-zero项目安装goctl后报错:command not found
ubuntu下go-zero项目安装goctl后报错:command not found
765 0
ubuntu下go-zero项目安装goctl后报错:command not found
|
Ubuntu Python
基于Ubuntu的zsh: command not found: python错误简单解决方案
基于Ubuntu的zsh: command not found: python错误简单解决方案
653 0
基于Ubuntu的zsh: command not found: python错误简单解决方案
成功解决解决VM软件安装Linux的Ubuntu过程,开启Linux出现Oprating System not found错误
成功解决解决VM软件安装Linux的Ubuntu过程,开启Linux出现Oprating System not found错误
成功解决解决VM软件安装Linux的Ubuntu过程,开启Linux出现Oprating System not found错误
|
Ubuntu
Ubuntu下解决ifconfig command not found的办法
Ubuntu下解决ifconfig command not found的办法
498 0
|
1天前
|
JSON Ubuntu 开发者
ubuntu 22安装lua环境&&编译lua cjson模块
通过上述步骤,可以在 Ubuntu 22.04 系统上成功安装 Lua 环境,并使用 LuaRocks 或手动编译的方式安装 lua-cjson 模块。本文详细介绍了每一步的命令和操作,确保每一步都能顺利完成,适合需要在 Ubuntu 系统上配置 Lua 开发环境的开发者参考和使用。
28 13