For versions starting with 8.3.1, follow this official documentation instead of the following guide!
If you are in an offline environment but not using CentOS, you may be unable to use the ISO files described in this documentation under "Upgrade with an ISO file and yum (offline)".
The procedure described in this article can be used when upgrading Monitor within the same major version, even on RHEL.
If you want to upgrade OP5 Monitor 7 to 8 you can follow the steps below using the ISO for version 8 on your version 7 system.
Upgrading beyond 8.1.3
Versions above 8.1.3 include the ModSecurity web application firewall. If you are upgrading from a version prior to 8.1.3 to version 8.1.3 or later you will need to first install some additional OS packages due to dependencies. The packages arelibsodium
, mod_security
and mod_security-mlogc
Step 1: Download the tar.gz file for the release you want
Get the tarball of the version of Monitor that you want to upgrade to on to the Monitor server via our download resources. Unpack it, in this article we have chosen to unpack it to /media
# tar -xvf op5-monitor-<version>.x64.tar.gz -C /media
Step 2: Create a local repository
Create a new local repository file /etc/yum.repos.d/op5-local.repo that points to the repository in the unpacked tar-ball above. In this example the major version of the RHEL OS is 7 -- remember to replace <version>
below.
##### op5 Monitor Local
[op5-monitor-local-updates]
name=op5 Monitor Local Updates
baseurl=file:///media/op5-monitor-<version>/rpm/monitor/centos/7/x86_64
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-op5
When this file has been saved, we want to make sure to only use this repository in our update.
Step 3: Run the update
To update your repositories and then trigger an update, run:
# yum clean all && yum --disablerepo=*op5* --enablerepo=*op5-monitor-local-updates* update
Note the output from your yum update, it should be updating Monitor related packages from your local repo.
Comments
0 comments
Please sign in to leave a comment.