prometheus
This commit is contained in:
@@ -142,7 +142,7 @@ ___Continuer___
|
|||||||
|
|
||||||
### Configuration après premier démarrage
|
### 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\] '
|
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '
|
||||||
|
|||||||
@@ -3,11 +3,11 @@
|
|||||||
## Installtion sur Raspberry Pi 3B+
|
## Installtion sur Raspberry Pi 3B+
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ wget https://github.com/prometheus/prometheus/releases/download/v3.7.3/prometheus-3.7.3.linux-armv7.tar.gz
|
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
|
tar xfz prometheus-3.7.3.linux-armv7.tar.gz
|
||||||
$ mv prometheus-3.7.3.linux-armv7 prometheus
|
mv prometheus-3.7.3.linux-armv7 prometheus
|
||||||
$ rm prometheus-3.7.3.linux-armv7.tar.gz
|
rm prometheus-3.7.3.linux-armv7.tar.gz
|
||||||
$ sudo nano /etc/systemd/system/prometheus.service
|
sudo nano /etc/systemd/system/prometheus.service
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -29,6 +29,6 @@ WantedBy=multi-user.target
|
|||||||
```
|
```
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ sudo systemctl enable prometheus
|
$ sudo systemctl enable --nows prometheus
|
||||||
$ sudo systemctl status prometheus
|
$ sudo systemctl status prometheus
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user