2024-09-20 10:20:21 +02:00
|
|
|
|
<!-- {% if not disable_header %} -->
|
2022-10-25 13:52:08 +02:00
|
|
|
|
# Installing <!-- {{ product }} --> on Debian
|
2024-09-20 10:20:21 +02:00
|
|
|
|
<!-- {% endif %} -->
|
2022-10-25 13:33:11 +02:00
|
|
|
|
|
2022-10-25 13:52:08 +02:00
|
|
|
|
The recommended way to install <!-- {{ product }} --> is to use prebuilt packages from our official release repository.
|
2022-10-25 13:33:11 +02:00
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
Here’s how to add the official release repository:
|
|
|
|
|
|
|
|
|
|
```bash
|
2023-03-29 11:12:36 +02:00
|
|
|
|
apt update
|
2024-09-20 12:07:07 +02:00
|
|
|
|
apt -y install apt-transport-https wget
|
2022-10-25 13:33:11 +02:00
|
|
|
|
|
2024-09-20 12:07:07 +02:00
|
|
|
|
wget -O icinga-archive-keyring.deb "https://packages.icinga.com/icinga-archive-keyring_latest+debian$(
|
|
|
|
|
. /etc/os-release; echo "$VERSION_ID"
|
|
|
|
|
).deb"
|
2024-06-26 08:53:20 +02:00
|
|
|
|
|
2024-09-20 12:07:07 +02:00
|
|
|
|
apt install ./icinga-archive-keyring.deb
|
2022-10-25 13:33:11 +02:00
|
|
|
|
|
|
|
|
|
DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \
|
2024-09-20 12:07:07 +02:00
|
|
|
|
echo "deb [signed-by=/usr/share/keyrings/icinga-archive-keyring.gpg] https://packages.icinga.com/debian icinga-${DIST} main" > \
|
2022-10-25 13:33:11 +02:00
|
|
|
|
/etc/apt/sources.list.d/${DIST}-icinga.list
|
2024-09-20 12:07:07 +02:00
|
|
|
|
echo "deb-src [signed-by=/usr/share/keyrings/icinga-archive-keyring.gpg] https://packages.icinga.com/debian icinga-${DIST} main" >> \
|
2022-10-25 13:33:11 +02:00
|
|
|
|
/etc/apt/sources.list.d/${DIST}-icinga.list
|
|
|
|
|
|
2023-03-29 11:12:36 +02:00
|
|
|
|
apt update
|
2022-10-25 13:33:11 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Installing the Package
|
|
|
|
|
|
2022-10-25 13:52:08 +02:00
|
|
|
|
Use your distribution's package manager to install the `<!-- {{ package }} -->` package as follows:
|
2022-10-25 13:33:11 +02:00
|
|
|
|
|
|
|
|
|
```bash
|
2023-03-29 11:12:36 +02:00
|
|
|
|
apt install <!-- {{ package }} -->
|
2022-10-25 13:33:11 +02:00
|
|
|
|
```
|
2024-10-02 13:35:43 +02:00
|
|
|
|
|
|
|
|
|
<!-- {% if not raspberry_pi_os %} -->
|
|
|
|
|
<!-- {% set debian = True %} -->
|
|
|
|
|
<!-- {% endif %} -->
|
2022-10-26 12:09:43 +02:00
|
|
|
|
<!-- {% include "02-Installation.md" %} -->
|