We have successfully installed the Grafana monitoring server. Type the new password and confirm it and finally click on the ‘ Save’ button to save the changes made to your password. Grafana will then prompt you to set a strong password for obvious reasons. With all the configuration done, head over to your browser and visit your Grafana server’s URL as shown: Login using the default credentials as shown: Then reload the firewall to effect the changes ~]# firewall-cmd -reload To open port 3000, execute the command: ~]# firewall-cmd -add-port=3000/tcp -permanent If you have a firewall running on your system, you need to allow port 3000 for external users to access Grafana on the browser. Step 4) Open the port for Grafana in the Firewall You can verify that Grafana is running by executing the command: ~]# systemctl status grafana-serverĪdditionally, you can use the netstat command to verify if Grafana is listening on its default port, which is port 3000.
To enable Grafana on boot run: ~]# systemctl enable grafana-server So to start Grafana, run the command: ~]# systemctl daemon-reload With Grafana successfully installed, we need to start the Grafana service and ensure it is running. To gather more information about Grafana such as the version, architecture and license, run the command: ~]# rpm -qi grafana You can verify that Grafana is installed using the rpm command as shown ~]# rpm -qa | grep grafana
To install Grafana, use the DNF package manager as follows: ~]# dnf install grafana -y Run below dnf command to view all enabled package repositories, in the output we should see Grafana repository too. Sslcacert=/etc/pki/tls/certs/ca-bundle.crt