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
相关文章
|
3月前
|
机器学习/深度学习 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模式来解决。
119 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)
|
5月前
|
Ubuntu PHP
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
96 1
|
Ubuntu Linux Docker
Ubuntu安装docker报错:Command ‘lsb_release‘ not found
Ubuntu安装docker报错:Command ‘lsb_release‘ not found
388 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
734 0
ubuntu下go-zero项目安装goctl后报错:command not found
|
Ubuntu Python
基于Ubuntu的zsh: command not found: python错误简单解决方案
基于Ubuntu的zsh: command not found: python错误简单解决方案
583 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的办法
488 0
|
1月前
|
并行计算 Ubuntu Linux
Ubuntu学习笔记(五):18.04安装多版本CUDA
这篇博客文章介绍了在Ubuntu 18.04系统上如何安装和切换不同版本的CUDA,以及如何安装不同版本的cuDNN。
204 2