prometheus

This commit is contained in:
2025-11-18 07:43:57 +01:00
parent 942f6f4984
commit 469fbf6c39
2 changed files with 7 additions and 7 deletions

View File

@@ -142,7 +142,7 @@ ___Continuer___
### Configuration après premier démarrage
éditer le fichier .bashrc
éditer le fichier `.bashrc`
```
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '

View File

@@ -3,11 +3,11 @@
## Installtion sur Raspberry Pi 3B+
```shell
$ wget https://github.com/prometheus/prometheus/releases/download/v3.7.3/prometheus-3.7.3.linux-armv7.tar.gz
$ tar xfz prometheus-3.7.3.linux-armv7.tar.gz
$ mv prometheus-3.7.3.linux-armv7 prometheus
$ rm prometheus-3.7.3.linux-armv7.tar.gz
$ sudo nano /etc/systemd/system/prometheus.service
wget https://github.com/prometheus/prometheus/releases/download/v3.7.3/prometheus-3.7.3.linux-armv7.tar.gz
tar xfz prometheus-3.7.3.linux-armv7.tar.gz
mv prometheus-3.7.3.linux-armv7 prometheus
rm prometheus-3.7.3.linux-armv7.tar.gz
sudo nano /etc/systemd/system/prometheus.service
```
```
@@ -29,6 +29,6 @@ WantedBy=multi-user.target
```
```shell
$ sudo systemctl enable prometheus
$ sudo systemctl enable --nows prometheus
$ sudo systemctl status prometheus
```