8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

MySQL 8.4 参考手册 / 8 安全 / 8.7 SELinux / 8.7.5 SELinux TCP 端口上下文
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 100%

8.7.5 SELinux TCP 端口上下文8.7.5 SELinux TCP Port Context

以下说明使用 semanage 二进制文件来管理端口上下文;在 RHEL 上,它是 policycoreutils-python-utils 软件包的一部分:The instructions that follow use the semanage binary to manage port context; on RHEL, it's part of the policycoreutils-python-utils package:

yum install -y policycoreutils-python-utils

安装 semanage 二进制文件后,您可以使用带有 port 选项的 semanage 列出使用 mysqld_port_t 上下文定义的端口。After installing the semanage binary, you can list ports defined with the mysqld_port_t context using semanage with the port option.

$> semanage port -l | grep mysqld
mysqld_port_t                  tcp      1186, 3306, 63132-63164