doc/02-installation.md: remove Raspbian which is not supported anymore

This commit is contained in:
Alexander A. Klimov 2024-08-21 11:24:14 +02:00
parent 14e269060a
commit d6bb971c7f
3 changed files with 5 additions and 27 deletions

View File

@ -79,25 +79,6 @@ apt update
``` ```
<!-- {% endif %} --> <!-- {% endif %} -->
<!-- {% if raspbian %} -->
### Raspbian Repository <a id="raspbian-repository"></a>
```bash
apt update
apt -y install apt-transport-https wget gnupg
wget -O - https://packages.icinga.com/icinga.key | gpg --dearmor -o /usr/share/keyrings/icinga-archive-keyring.gpg
DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \
echo "deb [signed-by=/usr/share/keyrings/icinga-archive-keyring.gpg] https://packages.icinga.com/raspbian icinga-${DIST} main" > \
/etc/apt/sources.list.d/icinga.list
echo "deb-src [signed-by=/usr/share/keyrings/icinga-archive-keyring.gpg] https://packages.icinga.com/raspbian icinga-${DIST} main" >> \
/etc/apt/sources.list.d/icinga.list
apt update
```
<!-- {% endif %} -->
<!-- {% if centos %} --> <!-- {% if centos %} -->
### CentOS Repository <a id="centos-repository"></a> ### CentOS Repository <a id="centos-repository"></a>
@ -244,9 +225,9 @@ with `root` permissions unless noted otherwise.
If you have [SELinux](22-selinux.md) enabled, the package `icinga2-selinux` is also required. If you have [SELinux](22-selinux.md) enabled, the package `icinga2-selinux` is also required.
<!-- {% endif %} --> <!-- {% endif %} -->
<!-- {% if debian or ubuntu or raspbian %} --> <!-- {% if debian or ubuntu %} -->
<!-- {% if not icingaDocs %} --> <!-- {% if not icingaDocs %} -->
#### Debian / Ubuntu / Raspbian / Raspberry Pi OS #### Debian / Ubuntu / Raspberry Pi OS
<!-- {% endif %} --> <!-- {% endif %} -->
```bash ```bash
apt install icinga2 apt install icinga2
@ -356,9 +337,9 @@ to determine where to find the plugin binaries.
additional check plugins into your Icinga 2 setup. additional check plugins into your Icinga 2 setup.
<!-- {% if debian or ubuntu or raspbian %} --> <!-- {% if debian or ubuntu %} -->
<!-- {% if not icingaDocs %} --> <!-- {% if not icingaDocs %} -->
#### Debian / Ubuntu / Raspbian / Raspberry Pi OS #### Debian / Ubuntu / Raspberry Pi OS
<!-- {% endif %} --> <!-- {% endif %} -->
```bash ```bash
apt install monitoring-plugins apt install monitoring-plugins

View File

@ -1,3 +0,0 @@
# Install Icinga 2 on Raspbian
<!-- {% set raspbian = True %} -->
<!-- {% include "02-installation.md" %} -->

View File

@ -32,7 +32,7 @@ vim /etc/icinga2/conf.d/templates.conf
Install the package `nano-icinga2` with your distribution's package manager. Install the package `nano-icinga2` with your distribution's package manager.
**Note:** On Debian, Ubuntu, Raspbian and Raspberry Pi OS, the syntax files are installed with the `icinga2-common` package already. **Note:** On Debian, Ubuntu and Raspberry Pi OS, the syntax files are installed with the `icinga2-common` package already.
Copy the `/etc/nanorc` sample file to your home directory. Copy the `/etc/nanorc` sample file to your home directory.