Grafana is an active monitoring and data visualization software, open-source and multi-platform, the detailed analysis of which is displayed on charts and graphs. In this comprehensive guide, you can learn How to Setup Grafana on Debian 11. If you are interested in Debian distribution, we suggest you follow us until the end of this article.
Table of Contents
Introduction To Grafana
Grafana has features such as dynamic reusable dashboards, exploring metrics with temporary queries, creating alert rules for important metrics for ongoing evaluation and notification in the event of changes, and collaborating with team members through internal sharing, including features Offering another. It also integrates with data sources such as InfluxDB, Elasticsearch, Graphite, and Prometheus.
Prerequisites to Setup Grafana on Debian 11
– A Linux VPS Server with Debian 11 completely updated
– Non-root user with sudo access
How to Setup Grafana on Debian 11
First, in this step Update system packages using the following command:
sudo apt update
Then Install the required system packages using the following command:
Now Update system packages with the following command:
sudo apt update
Install Grafana using the following command:
sudo apt -y install grafana
Then Launch the Grafana service with the following command:
systemctl start grafana-server
Now at this point Activate the Grafana service to start at system boot with the following command:
systemctl enable grafana-server
Then Check the service status by clicking the command below:
systemctl status grafana-server
How To Enable and Configure Firewall on Debian 11
At this point, first, activate the firewall using the following command:
sudo ufw enable
Allow ssh traffic through the firewall:
sudo ufw allow ssh
Let port 3000 passes through the firewall using the following command:
sudo ufw allow 3000/tcp
How to Access Grafana Dashboard
To access the Grafana web interface, go to your browser and go to http://Server_IP: 3000/ With the following address:
http://your_ip_address:3000/
You will receive a login page. Use admin as your username and password. You can now access the dashboard and configure it to start managing and analyzing your data.
Conclusion
At the beginning of this post, after introducing Grafana, the necessary prerequisites for its installation were mentioned. Then, in the continuation of this tutorial, you learned How to Setup Grafana on Debian 11. We hope you find this article useful. Share your comments with us via the form below.