Get 50% Discount Offer 7 Days

NeuronVM

Contact Info

Chicago 12, Melborne City, USA

+88 01682648101

[email protected]

Recommended Services
Supported Scripts
WordPress
Hubspot
Joomla
Drupal
Wix
Shopify
Magento
Typeo3
How to Setup Grafana on Debian 11
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.

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:
sudo apt install gnupg2 curl software-properties-common dirmngr apt-transport-https lsb-release ca-certificates -y
Add the Grafana GPG key using the following command:
curl https://packages.grafana.com/gpg.key | sudo apt-key add -
Install the Grafana APT repository. Using the following command:
add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
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.
grafana login page - setup grafana on debiangrafana login page - setup grafana on debian

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.
Rate this post
Share this Post

Leave a Reply

Your email address will not be published. Required fields are marked *