correction shell

This commit is contained in:
2025-11-20 20:12:55 +01:00
parent 76ddfb8d9c
commit c7bf1dd721
7 changed files with 21 additions and 24 deletions

View File

@@ -54,19 +54,19 @@ docker run --name=grafana -p 9005:3000 -d grafana/grafana:latest
Ajout de la clé du dépôt
```shell
$ wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
```
Ajout du dépôt pour apt
```shell
$ echo "deb https://packages.grafana.com/oss/deb stable main" | tee -a /etc/apt/sources.list.d/grafana.list
echo "deb https://packages.grafana.com/oss/deb stable main" | tee -a /etc/apt/sources.list.d/grafana.list
```
Mise à jour du catalogue des paquets disponibles depuis les dépôts
```shell
$ apt update
apt update
```
Installation
@@ -77,7 +77,7 @@ Installer le [paquet logiciel](/linux/paquet/) `grafana`.
Activation du service
```shell
$ systemctl enable --now grafana-server
systemctl enable --now grafana-server
```
Ouvrir avec un navigateur l'adresse suivante :
@@ -92,8 +92,8 @@ Stocker le nouveau mot de passe dans KeePass.
### Plugins
```shell
$ grafana-cli plugins install grafana-worldmap-panel
$ grafana-cli plugins install simpod-json-datasource
grafana-cli plugins install grafana-worldmap-panel
grafana-cli plugins install simpod-json-datasource
```
## Ajouter une source de données