2.2. 安装 firewalld 服务
使用以下步骤为红帽构建的 MicroShift 安装并运行 firewalld 服务。
流程
要安装
firewalld服务,请运行以下命令:sudo dnf install -y firewalld
$ sudo dnf install -y firewalldCopy to Clipboard Copied! Toggle word wrap Toggle overflow 要启动防火墙,请运行以下命令:
sudo systemctl enable firewalld --now
$ sudo systemctl enable firewalld --nowCopy to Clipboard Copied! Toggle word wrap Toggle overflow