8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

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

打开官方英文原文 ↗

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

MySQL 8.4 参考手册 / 8 安全 / 8.7 SELinux / 8.7.1 检查 SELinux 是否启用
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 100%

8.7.1 检查 SELinux 是否已启用8.7.1 Check if SELinux is Enabled

在一些 Linux 发行版中(包括 Oracle Linux、RHEL、CentOS 和 Fedora),SELinux 默认是启用的。使用 sestatus 命令来确定你的发行版是否启用了 SELinux:SELinux is enabled by default on some Linux distributions including Oracle Linux, RHEL, CentOS, and Fedora. Use the sestatus command to determine if SELinux is enabled on your distribution:

$> sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   enforcing
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Memory protection checking:     actual (secure)
Max kernel policy version:      31

如果 SELinux 被禁用或找不到 sestatus 命令,请在启用 SELinux 之前参阅你发行版的 SELinux 文档以获取指导。If SELinux is disabled or the sestatus command is not found, refer to your distribution's SELinux documentation for guidance before enabling SELinux.