如何安装 redfish-finder CentOS 8

redfish-finder 是用于解析 SMBIOS 信息和配置规范 BMC 访问的实用程序

介绍

在本教程中我们学习如何安装 redfish-finder 在 CentOS 8.

什么是 redfish-finder

扫描 Smbios 信息以获取类型 42 管理控制器信息,并使用它来配置适当的网络接口,以便可以通过主机名 redfish-localhost 规范地访问 BMC

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

安装 redfish-finder CentOS 8 使用dnf

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

sudo dnf makecache --refresh

输出应如下所示:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install redfish-finder

安装 redfish-finder CentOS 8 使用百胜

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

sudo yum makecache --refresh

输出应如下所示:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install redfish-finder

如何卸载 redfish-finder CentOS 8

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

sudo dnf remove redfish-finder

redfish-finder 包装内容位于 CentOS 8

/usr/bin/redfish-finder
/usr/lib/systemd/system/redfish-finder.service
/usr/share/doc/redfish-finder
/usr/share/doc/redfish-finder/README.md
/usr/share/licenses/redfish-finder
/usr/share/licenses/redfish-finder/COPYING
/usr/share/man/man1/redfish-finder.1.gz

参考

概括

在本教程中我们学习如何安装 redfish-finder 在 CentOS 8 使用 yum 和 dnf。