prometheus
This commit is contained in:
@@ -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\] '
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user