我正在尝试在RHEL7.6最小安装的新VM映像上安装NagiosXI.5.5.8。它在运行./fullinstall
的步骤1上失败,错误为[Errno 256] No more mirrors to try
。
答案 0 :(得分:0)
看来nagios-7.repo
中的/etc/yum.repos.d
回购是不正确的。它正在寻找http网址,但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