Add the Grafana stable repo
echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | tee -a /etc/apt/sources.list.d/grafana.list
Add the repo's key
apt install -y apt-transport-https software-properties-common wget
wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
apt update
Install
apt install -y grafana-enterprise
Enable systemd (Don't start the service yet)
systemctl daemon-reload
systemctl enable grafana-server.service
If Grafana is started without any additional configuration, the default credentials will be admin
/admin
at http://<host>:3000
Open the Grafana config file at /etc/grafana/grafana.ini
At a minimum, I like to
Once the config is to your satisfaction, start Grafana
systemctl start grafana-server.service
Access the web UI at http://<host>:3000
. Use the default credentials admin
/admin
if you didn't change them in the config.