Add product agnostic package installation templates for currently supported OSs

This commit is contained in:
Eric Lippmann 2022-10-25 13:33:11 +02:00
parent 90330b6aff
commit 7ae99d9c83
8 changed files with 242 additions and 0 deletions

32
Amazon-Linux.md Normal file
View File

@ -0,0 +1,32 @@
# Installing {{ product }} on Amazon Linux
The recommended way to install {{ product }} is to use prebuilt packages from our official release repository.
If the repository is not configured yet,
please [add](#adding-icinga-package-repository) it first
before [installing](#installing-the-package) the package.
All packages we provide are signed with the following [key](https://packages.icinga.com/icinga.key).
## Adding Icinga Package Repository
!!! info
A paid repository subscription is required for Amazon Linux 2 repositories. Get more information on
[icinga.com/subscription](https://icinga.com/subscription).
Don't forget to fill in the username and password section with appropriate credentials in the local .repo file.
Heres how to add the official release repository:
```bash
rpm --import https://packages.icinga.com/icinga.key
wget https://packages.icinga.com/subscription/amazon/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo
```
## Installing the Package
Use your distribution's package manager to install the `{{ package }}` package as follows:
```bash
yum install {{ package }}
```

25
CentOS.md Normal file
View File

@ -0,0 +1,25 @@
# Installing {{ product }} on CentOS
The recommended way to install {{ product }} is to use prebuilt packages from our official release repository.
If the repository is not configured yet,
please [add](#adding-icinga-package-repository) it first
before [installing](#installing-the-package) the package.
All packages we provide are signed with the following [key](https://packages.icinga.com/icinga.key).
## Adding Icinga Package Repository
Heres how to add the official release repository:
```bash
rpm --import https://packages.icinga.com/icinga.key
wget https://packages.icinga.com/centos/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo
```
## Installing the Package
Use your distribution's package manager to install the `{{ package }}` package as follows:
```bash
yum install {{ package }}
```

35
Debian.md Normal file
View File

@ -0,0 +1,35 @@
# Installing {{ product }} on Debian
The recommended way to install {{ product }} is to use prebuilt packages from our official release repository.
If the repository is not configured yet,
please [add](#adding-icinga-package-repository) it first
before [installing](#installing-the-package) the package.
All packages we provide are signed with the following [key](https://packages.icinga.com/icinga.key).
## Adding Icinga Package Repository
Heres how to add the official release repository:
```bash
apt-get update
apt-get -y install apt-transport-https wget gnupg
wget -O - https://packages.icinga.com/icinga.key | apt-key add -
DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \
echo "deb https://packages.icinga.com/debian icinga-${DIST} main" > \
/etc/apt/sources.list.d/${DIST}-icinga.list
echo "deb-src https://packages.icinga.com/debian icinga-${DIST} main" >> \
/etc/apt/sources.list.d/${DIST}-icinga.list
apt-get update
```
## Installing the Package
Use your distribution's package manager to install the `{{ package }}` package as follows:
```bash
apt-get install {{ package }}
```

25
Fedora.md Normal file
View File

@ -0,0 +1,25 @@
# Installing {{ product }} on Fedora
The recommended way to install {{ product }} is to use prebuilt packages from our official release repository.
If the repository is not configured yet,
please [add](#adding-icinga-package-repository) it first
before [installing](#installing-the-package) the package.
All packages we provide are signed with the following [key](https://packages.icinga.com/icinga.key).
## Adding Icinga Package Repository
Heres how to add the official release repository:
```bash
rpm --import https://packages.icinga.com/icinga.key
dnf config-manager --add-repo https://packages.icinga.com/fedora/$(. /etc/os-release; echo "$VERSION_ID")/release
```
## Installing the Package
Use your distribution's package manager to install the `{{ package }}` package as follows:
```bash
dnf install {{ package }}
```

40
RHEL.md Normal file
View File

@ -0,0 +1,40 @@
# Installing {{ product }} on RHEL
The recommended way to install {{ product }} is to use prebuilt packages from our official release repository.
If the repository is not configured yet,
please [add](#adding-icinga-package-repository) it first
before [installing](#installing-the-package) the package.
All packages we provide are signed with the following [key](https://packages.icinga.com/icinga.key).
## Adding Icinga Package Repository
!!! info
A paid repository subscription is required for Amazon Linux 2 repositories. Get more information on
[icinga.com/subscription](https://icinga.com/subscription).
Don't forget to fill in the username and password section with appropriate credentials in the local .repo file.
Heres how to add the official release repository:
```bash
rpm --import https://packages.icinga.com/icinga.key
wget https://packages.icinga.com/subscription/rhel/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo
```
## Installing the Package
Use your distribution's package manager to install the `{{ package }}` package as follows:
=== RHEL 8 or later
```bash
dnf install {{ package }}
```
=== RHEL 7
```bash
yum install {{ package }}
```

33
SLES.md Normal file
View File

@ -0,0 +1,33 @@
# Installing {{ product }} on SLES
The recommended way to install {{ product }} is to use prebuilt packages from our official release repository.
If the repository is not configured yet,
please [add](#adding-icinga-package-repository) it first
before [installing](#installing-the-package) the package.
All packages we provide are signed with the following [key](https://packages.icinga.com/icinga.key).
## Adding Icinga Package Repository
!!! info
A paid repository subscription is required for Amazon Linux 2 repositories. Get more information on
[icinga.com/subscription](https://icinga.com/subscription).
`zypper` automatically prompts you to enter your username and password for the subscription.
Heres how to add the official release repository:
```bash
rpm --import https://packages.icinga.com/icinga.key
zypper ar -r https://packages.icinga.com/subscription/sles/$releasever/release/ icinga-stable-release
```
## Installing the Package
Use your distribution's package manager to install the `{{ package }}` package as follows:
```bash
zypper install {{ package }}
```

27
Ubuntu.md Normal file
View File

@ -0,0 +1,27 @@
# Installing {{ product }} on Ubuntu
The recommended way to install {{ product }} is to use prebuilt packages from our official release repository.
If the repository is not configured yet,
please [add](#adding-icinga-package-repository) it first
before [installing](#installing-the-package) the package.
All packages we provide are signed with the following [key](https://packages.icinga.com/icinga.key).
## Adding Icinga Package Repository
Heres how to add the official release repository:
```bash
apt-get update
apt-get -y install apt-transport-https wget gnupg
wget -O - https://packages.icinga.com/icinga.key | apt-key add -
. /etc/os-release; if [ ! -z ${UBUNTU_CODENAME+x} ]; then DIST="${UBUNTU_CODENAME}"; else DIST="$(lsb_release -c| awk '{print $2}')"; fi; \
echo "deb https://packages.icinga.com/ubuntu icinga-${DIST} main" > \
/etc/apt/sources.list.d/${DIST}-icinga.list
echo "deb-src https://packages.icinga.com/ubuntu icinga-${DIST} main" >> \
/etc/apt/sources.list.d/${DIST}-icinga.list
apt-get update
```

25
openSUSE.md Normal file
View File

@ -0,0 +1,25 @@
# Installing {{ product }} on openSUSE
The recommended way to install {{ product }} is to use prebuilt packages from our official release repository.
If the repository is not configured yet,
please [add](#adding-icinga-package-repository) it first
before [installing](#installing-the-package) the package.
All packages we provide are signed with the following [key](https://packages.icinga.com/icinga.key).
## Adding Icinga Package Repository
Heres how to add the official release repository:
```bash
rpm --import https://packages.icinga.com/icinga.key
zypper ar -r https://packages.icinga.com/openSUSE/ICINGA-release.repo
```
## Installing the Package
Use your distribution's package manager to install the `{{ package }}` package as follows:
```bash
zypper install {{ package }}
```