如何安装 setroubleshoot-plugins CentOS 7

在本教程中,我们学习如何安装 setroubleshoot-plugins CentOS 7. setroubleshoot-plugins 是与 setroubleshoot 一起使用的分析插件

介绍

在本教程中我们学习如何安装 setroubleshoot-plugins 在 CentOS 7.

什么是 setroubleshoot-plugins

该软件包提供了一组与 setroubleshoot 一起使用的分析插件。 每个插件都能够分析 SELinux AVC 数据和系统数据,以提供用户友好的报告,描述如何解释 SELinux AVC 拒绝。

我们可以用 yum 或者 dnf 安装 setroubleshoot-plugins 在 CentOS 7. 在本教程中,我们讨论这两种方法,但您只需选择其中一种方法来安装 setroubleshoot-plugins。

安装 setroubleshoot-plugins CentOS 7 使用百胜

更新 yum 数据库 yum 使用以下命令。

更新 yum 数据库后,我们可以安装 setroubleshoot-plugins 使用 yum 通过运行以下命令:

sudo yum -y install setroubleshoot-plugins

安装 setroubleshoot-plugins CentOS 7 使用dnf

如果你没有安装dnf,可以安装dnf CentOS 7 第一。 更新 yum 数据库 dnf 使用以下命令。

更新 yum 数据库后,我们可以安装 setroubleshoot-plugins 使用 dnf 通过运行以下命令:

sudo dnf -y install setroubleshoot-plugins

如何卸载 setroubleshoot-plugins CentOS 7

仅卸载 setroubleshoot-plugins 打包我们可以使用以下命令:

sudo dnf remove setroubleshoot-plugins

参考

概括

在本教程中我们学习如何安装 setroubleshoot-plugins 在 CentOS 7 使用 yumdnf