Prometheus
This commit is contained in:
@@ -1,6 +1,40 @@
|
||||
# Prometheus
|
||||
|
||||
## Installtion sur Raspberry Pi 3B+
|
||||
## Debian 13
|
||||
|
||||
```shell
|
||||
useradd --system --no-create-home --user-group --shell /usr/sbin/nologin prometheus
|
||||
wget https://github.com/prometheus/prometheus/releases/download/v3.7.3/prometheus-3.7.3.linux-amd64.tar.gz
|
||||
tar xvf prometheus-*.tar.gz
|
||||
```
|
||||
|
||||
Déplacer les binaires
|
||||
|
||||
```shell
|
||||
mv prometheus-*/prometheus /usr/local/bin/
|
||||
mv prometheus-*/promtool /usr/local/bin/
|
||||
chown prometheus:prometheus /usr/local/bin/prometheus
|
||||
chown prometheus:prometheus /usr/local/bin/promtool
|
||||
```
|
||||
|
||||
Créer le dossier de configuration
|
||||
|
||||
```shell
|
||||
mkdir /etc/prometheus
|
||||
mkdir /etc/prometheus/consoles
|
||||
mkdir /etc/prometheus/console_libraries
|
||||
mv prometheus-*/prometheus.yml /etc/prometheus
|
||||
chown -R prometheus:prometheus /etc/prometheus
|
||||
```
|
||||
|
||||
Créer le dossier pour les données
|
||||
|
||||
```shell
|
||||
mkdir /var/lib/prometheus
|
||||
chown -R prometheus:prometheus /var/lib/prometheus
|
||||
```
|
||||
|
||||
## Raspberry Pi 3B+
|
||||
|
||||
```shell
|
||||
wget https://github.com/prometheus/prometheus/releases/download/v3.7.3/prometheus-3.7.3.linux-armv7.tar.gz
|
||||
|
||||
Reference in New Issue
Block a user