Merge pull request #7 from Icinga/raspberry-pi-os

Use Debian instructions for Raspberry Pi Os and drop Raspbian
This commit is contained in:
Eric Lippmann 2024-09-20 10:21:00 +02:00 committed by GitHub
commit a895a81fac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 39 deletions

View File

@ -1,4 +1,6 @@
<!-- {% if not disable_header %} -->
# Installing <!-- {{ product }} --> on Debian
<!-- {% endif %} -->
The recommended way to install <!-- {{ product }} --> is to use prebuilt packages from our official release repository.
If the repository is not configured yet,

4
Raspberry-Pi-OS.md Normal file
View File

@ -0,0 +1,4 @@
# Installing <!-- {{ product }} --> on Raspberry Pi OS (64-bit only)
<!-- {% set disable_header = True %} -->
<!-- {% include "02-Installation.md.d/Debian.md" %} -->

View File

@ -1,39 +0,0 @@
# Installing <!-- {{ product }} --> on Raspbian
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 update
apt -y install apt-transport-https wget gnupg
install -d -o root -g root -m 0755 /etc/apt/keyrings
wget -O - https://packages.icinga.com/icinga.key | gpg --dearmor -o /etc/apt/keyrings/icinga.gpg
DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \
echo "deb [signed-by=/etc/apt/keyrings/icinga.gpg] https://packages.icinga.com/raspbian icinga-${DIST} main" > \
/etc/apt/sources.list.d/icinga.list
echo "deb-src [signed-by=/etc/apt/keyrings/icinga.gpg] https://packages.icinga.com/raspbian icinga-${DIST} main" >> \
/etc/apt/sources.list.d/icinga.list
apt update
```
## Installing the Package
Use your distribution's package manager to install the `<!-- {{ package }} -->` package as follows:
```bash
apt install <!-- {{ package }} -->
```
<!-- {% include "02-Installation.md" %} -->