Welcome to our guide on how to Install Grafana on Fedora 35/34/33/32/31. Grafana is the leading open source feature-rich metrics dashboard and graph editor for Graphite, Elasticsearch, OpenTSDB, Prometheus, and InfluxDB. Grafana provides charts, graphs, and alerts for the web when connected to supported data sources.
This tutorial will guide you through the installation of Grafana on Fedora 35/34/33/32/31.
For CentOS / Ubuntu, use:
Install Grafana on Fedora 35/34/33/32/31
Grafana is available from the upstream YUM repository though you can also install it from an RPM package.
Step 1: Add Grafana yum repository:
Run the following commands to add Grafana YUM repository into your Fedora system.
cat <
Step 2: Install Grafana on Fedora 35/34/33/32/31
The install Grafana on Fedora by running:
sudo dnf -y install grafana
To start grafana service and enable it to start on boot, run:
sudo systemctl start grafana-server
sudo systemctl enable grafana-server
Confirm service state:
$ systemctl status grafana-server
● grafana-server.service - Grafana instance
Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; disabled; vendor preset: disabled)
Active: active (running) since Wed 2018-11-21 20:38:08 UTC; 30s ago
Docs: http://docs.grafana.org
Main PID: 12041 (grafana-server)
Tasks: 8 (limit: 1149)
Memory: 12.5M
CGroup: /system.slice/grafana-server.service
└─12041 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/var/run/grafana/grafana-server.pid>
........................
This will start the grafana-server process as the grafana user, which is created during package installation.
The default HTTP port is 3000. By default Grafana will log to /var/log/grafana.
The default configuration file is /etc/grafana/grafana.in
with sqlite3 database store located at /var/lib/grafana/grafana.db
Open firewall port for Grafana
If you have a running firewalld service, allow port 3000
to access the dashboard from the network.
sudo firewall-cmd --add-port=3000/tcp --permanent
sudo firewall-cmd --reload
You can access the Grafana web interface on the URL:
http://[Server IP|Hostname]:3000
The default logins are:
username: admin
Password: admin
Don’t forget to change the admin password after the first login.
Start creating Monitoring Dashboards. We have a series of Monitoring Tutorials with Grafana, InfluxDB, and Prometheus.