Merge pull request #9477 from Icinga/docs/add-rhel9

Docs: Add RHEL 9 installation instructions
This commit is contained in:
Alexander Aleksandrovič Klimov 2022-08-11 14:33:15 +02:00 committed by GitHub
commit 242f356259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,14 +125,15 @@ wget https://packages.icinga.com/subscription/rhel/ICINGA-release.repo -O /etc/y
If you are using RHEL you need to additionally enable the `codeready-builder` If you are using RHEL you need to additionally enable the `codeready-builder`
repository before installing the [EPEL rpm package](https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F). repository before installing the [EPEL rpm package](https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F).
#### RHEL 8 #### RHEL 8 or Later
```bash ```bash
ARCH=$( /bin/arch ) ARCH=$(/bin/arch)
OSVER=$(. /etc/os-release; echo "${VERSION_ID%%.*}")
subscription-manager repos --enable "codeready-builder-for-rhel-8-${ARCH}-rpms" subscription-manager repos --enable "codeready-builder-for-rhel-${OSVER}-${ARCH}-rpms"
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-${OSVER}.noarch.rpm
``` ```
#### RHEL 7 #### RHEL 7
@ -266,7 +267,7 @@ systemctl start icinga2
<!-- {% endif %} --> <!-- {% endif %} -->
<!-- {% if rhel %} --> <!-- {% if rhel %} -->
#### RHEL 8 #### RHEL 8 or Later
```bash ```bash
dnf install icinga2 dnf install icinga2
@ -379,7 +380,7 @@ yum install nagios-plugins-all
<!-- {% endif %} --> <!-- {% endif %} -->
The packages for RHEL depend on other packages which are distributed as part of the EPEL repository. The packages for RHEL depend on other packages which are distributed as part of the EPEL repository.
#### RHEL 8 #### RHEL 8 or Later
```bash ```bash
dnf install nagios-plugins-all dnf install nagios-plugins-all