Install an older version of OpenNMS Horizon

installation
faq
how-to
#1

Install old versions of OpenNMS Horizon

This is an example of how to install Horizon 21 on CentOS and Ubuntu. The current floating tags stable point to Horizon 24.0.0. This can be helpful when you want to install a productive EOL’ed version of Horizon to a newer supported one in your test lab.

You have to create the repository files manually and point them to an older major version in the repository path. In this case, opennms-21 where 21 is the major version number you want to install.

OpenNMS Horizon 18 is the oldest one so you would use opennms-18 instead.

CentOS

Step 1: Create a repository file /etc/yum.repos.d/opennms-repo-rhel7.repo

[opennms-repo-opennms-21-common]
name=RPMs Common to All OpenNMS Architectures (opennms-21)
baseurl=http://yum.opennms.org/opennms-21/common
enabled=1
gpgcheck=1

[opennms-repo-opennms-21-rhel7]
name=RedHat Enterprise Linux 7.x and CentOS 7.x (opennms-21)
baseurl=http://yum.opennms.org/opennms-21/rhel7
enabled=1
gpgcheck=1

Step 2: Install the repository GPG Key

rpm --import https://yum.opennms.org/OPENNMS-GPG-KEY

Step 3: Update the repository and install OpenNMS Horizon

yum install opennms

Ubuntu

Step 1: Create a repository file /etc/apt/sources.list.d/opennms.list

deb https://debian.opennms.org opennms-21 main
deb-src https://debian.opennms.org opennms-21 main

Step 2: Install the repository GPG Key

wget -O - https://debian.opennms.org/OPENNMS-GPG-KEY | apt-key add -

Step 3: Update the repository and install OpenNMS Horizon

apt update && apt -y install opennms
1 Like