0

我正在尝试在 RHEL7.6 最小安装的新 VM 映像上安装 NagiosXI.5.5.8。它在运行的第 1 步失败,./fullinstall错误为[Errno 256] No more mirrors to try.

4

1 回答 1

0

看起来nagios-7.reporepo/etc/yum.repos.d不正确。它正在寻找一个 http url,但 nagios 正在使用 https。

nagios-7.repo

[nagios-base]
name=Nagios
baseurl=http://repo.nagios.com/nagios/7/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS-V2

[nagiosxi-deps]
name=Nagios XI Dependencies
baseurl=http://repo.nagios.com/nagiosxi-deps/7/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS-V2

这似乎有效:

[nagios-base]
name=Nagios
baseurl=https://repo.nagios.com/nagios/7/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS-V2

[nagiosxi-deps]
name=Nagios XI Dependencies
baseurl=https://repo.nagios.com/nagiosxi-deps/7/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS-V2
于 2019-01-17T13:21:33.723 回答