Table of Contents
Was this article helpful?
Try Vultr Today with

$50 Free on Us!

Want to contribute?

You could earn up to $600 by adding new articles!

Install Grafana on Debian 11

Author: Thomas Rakwach

Last Updated: Mon, Nov 22, 2021
Kubernetes Server Apps System Admin Ubuntu


Grafana is an open-source, multi-platform active monitoring and data visualization software with detailed analytics displayed on charts and graphs. It offers features such as reusable dynamic dashboards, exploring metrics with ad-hoc queries, creating alert rules for important metrics to continuously evaluate and send notifications in case of changes, and collaboration with team members through built-in sharing, among other features. In addition, it provides the capability for integration with data sources like InfluxDB, Elasticsearch, Graphite, and Prometheus. In this article, you will learn how to install Grafana on Debian 11.


1. Install Grafana

Update the system packages.

$ sudo apt update

Install required system packages.

$ sudo apt install gnupg2 curl software-properties-common dirmngr apt-transport-https lsb-release ca-certificates -y

Add Grafana GPG key.

$ curl | sudo apt-key add -

Install Grafana APT repository.

$ add-apt-repository "deb stable main"

Update the system packages.

$ sudo apt update

Install Grafana

$ sudo apt -y install grafana

Start Grafana service.

$ systemctl start grafana-server

Enable Grafana service to start on system boot.

$ systemctl enable grafana-server

Check the service status.

$ systemctl status grafana-server

2. Enable and Configure Firewall

Enable the firewall.

$ sudo ufw enable

Allow ssh traffic through the firewall.

$ sudo ufw allow ssh

Allow port 3000 traffic through the firewall.

$ sudo ufw allow 3000/tcp

3. Access Grafana Dashboard

To access the Grafana Web Interface, go to your browser and visit http://Server_IP:3000/. For example:


You have successfully installed Grafana on your server. You will get a log-in screen. Use admin as your username and admin as your password. You can now access the Dashboard and configure it to begin managing and analyzing your data.

More Information

To learn more about Grafana, go to the official documentation page.

Want to contribute?

You could earn up to $600 by adding new articles

Die deutsche Version dieser Website ist eine Übersetzung, die nur zu Informationszwecken erstellt wurde. Die englische Version hat Vorrang.