Ubuntu 24.04 LTS
$ sudo apt update && sudo apt upgrade
$ sudo apt-get install -y apt-transport-https software-properties-common wget
$ sudo mkdir -p /etc/apt/keyrings/
$ wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/grafana.gpg > /dev/null
$ echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
$ sudo apt-get update
$ sudo apt-get install grafana
$ sudo systemctl daemon-reload
$ sudo systemctl enable --now grafana-server
$ sudo systemctl status grafana-server
$ sudo vim /etc/grafana/grafana.ini
$ sudo systemctl restart grafana-server
[server]
http_addr = xx.xx.xx.xx
http_port = 3000
domain = domain.local
Links
Grafana
Grafana dashboards