mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Change apt-get to apt
This commit is contained in:
parent
693e735e1e
commit
2d3b32f592
@ -23,8 +23,8 @@ We recommend using our official repositories. Here's how to add it to your syste
|
||||
### Debian Repository <a id="debian-repository"></a>
|
||||
|
||||
```bash
|
||||
apt-get update
|
||||
apt-get -y install apt-transport-https wget gnupg
|
||||
apt update
|
||||
apt -y install apt-transport-https wget gnupg
|
||||
|
||||
wget -O - https://packages.icinga.com/icinga.key | apt-key add -
|
||||
|
||||
@ -34,7 +34,7 @@ DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \
|
||||
echo "deb-src https://packages.icinga.com/debian icinga-${DIST} main" >> \
|
||||
/etc/apt/sources.list.d/${DIST}-icinga.list
|
||||
|
||||
apt-get update
|
||||
apt update
|
||||
```
|
||||
|
||||
#### Debian Backports Repository <a id="debian-backports-repository"></a>
|
||||
@ -48,7 +48,7 @@ DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \
|
||||
echo "deb https://deb.debian.org/debian ${DIST}-backports main" > \
|
||||
/etc/apt/sources.list.d/${DIST}-backports.list
|
||||
|
||||
apt-get update
|
||||
apt update
|
||||
```
|
||||
|
||||
<!-- {% endif %} -->
|
||||
@ -57,8 +57,8 @@ apt-get update
|
||||
### Ubuntu Repository <a id="ubuntu-repository"></a>
|
||||
|
||||
```bash
|
||||
apt-get update
|
||||
apt-get -y install apt-transport-https wget gnupg
|
||||
apt update
|
||||
apt -y install apt-transport-https wget gnupg
|
||||
|
||||
wget -O - https://packages.icinga.com/icinga.key | apt-key add -
|
||||
|
||||
@ -68,7 +68,7 @@ wget -O - https://packages.icinga.com/icinga.key | apt-key add -
|
||||
echo "deb-src https://packages.icinga.com/ubuntu icinga-${DIST} main" >> \
|
||||
/etc/apt/sources.list.d/${DIST}-icinga.list
|
||||
|
||||
apt-get update
|
||||
apt update
|
||||
```
|
||||
<!-- {% endif %} -->
|
||||
|
||||
@ -76,8 +76,8 @@ apt-get update
|
||||
### Raspbian Repository <a id="raspbian-repository"></a>
|
||||
|
||||
```bash
|
||||
apt-get update
|
||||
apt-get -y install apt-transport-https wget gnupg
|
||||
apt update
|
||||
apt -y install apt-transport-https wget gnupg
|
||||
|
||||
wget -O - https://packages.icinga.com/icinga.key | apt-key add -
|
||||
|
||||
@ -87,7 +87,7 @@ DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \
|
||||
echo "deb-src https://packages.icinga.com/raspbian icinga-${DIST} main" >> \
|
||||
/etc/apt/sources.list.d/icinga.list
|
||||
|
||||
apt-get update
|
||||
apt update
|
||||
```
|
||||
<!-- {% endif %} -->
|
||||
|
||||
@ -247,7 +247,7 @@ with `root` permissions unless noted otherwise.
|
||||
#### Debian / Ubuntu / Raspbian
|
||||
<!-- {% endif %} -->
|
||||
```bash
|
||||
apt-get install icinga2
|
||||
apt install icinga2
|
||||
```
|
||||
<!-- {% endif %} -->
|
||||
|
||||
@ -359,7 +359,7 @@ to determine where to find the plugin binaries.
|
||||
#### Debian / Ubuntu / Raspbian
|
||||
<!-- {% endif %} -->
|
||||
```bash
|
||||
apt-get install monitoring-plugins
|
||||
apt install monitoring-plugins
|
||||
```
|
||||
<!-- {% endif %} -->
|
||||
|
||||
@ -530,7 +530,7 @@ yum install icingadb-redis
|
||||
##### Debian / Ubuntu
|
||||
<!-- {% endif %} -->
|
||||
```bash
|
||||
apt-get install icingadb-redis
|
||||
apt install icingadb-redis
|
||||
```
|
||||
<!-- {% endif %} -->
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user