Skip to content

Instantly share code, notes, and snippets.

@renzovelazquez
Forked from eloscilador/grafana-prometheus.sh
Created October 2, 2024 15:00
Show Gist options
  • Select an option

  • Save renzovelazquez/a987a9bcd5c28225727f5f53999f557e to your computer and use it in GitHub Desktop.

Select an option

Save renzovelazquez/a987a9bcd5c28225727f5f53999f557e to your computer and use it in GitHub Desktop.
Installation of Grafana, Prometheus and NodeExporter on Debian 11
# Install Prometheus and NodeExporter
sudo apt install prometheus
# Start and enable Prometheus service
systemctl daemon-reload
systemctl start prometheus.service
systemctl enable prometheus.service
# Install Grafana
sudo apt-get install -y apt-transport-https
sudo apt-get install -y software-properties-common wget
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
sudo apt-get update
sudo apt-get install grafana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment