This repository contains step-by-step instructions for installing Grafana OSS on Debian/Ubuntu using the official APT repository.
# Install required dependencies
sudo apt-get install -y adduser libfontconfig1
# Add Grafana GPG key
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
# Add Grafana APT repo
echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
# Update package list
sudo apt-get update
# Install Grafana
sudo apt-get install grafana -y
sudo systemctl enable grafana-server
sudo systemctl start grafana-server
π Access Grafana
Open: http://localhost:3000
Default credentials:
User: admin
Password: admin (you will be asked to change it)
π Notes
Tested on Ubuntu 22.04 LTS.
Uses Grafana OSS (not Enterprise).
For official docs: Grafana Documentation #The link is provided in the about section