How to setup Grafana Dashboard on CentOS 7

Launch Terminal and login as root.

Step 1 – Disable SELinux

The first step is to check the SELinux status and disable it if it is enabled.


Modify SELinux configurations as follows:

vim /etc/sysconfig/selinux

Change SELINUX=enforcing to SELINUX=disabled

Step 2 – Installing Grafana via YUM Repository

Create a repo file.

vim /etc/yum.repos.d/grafana.repo

Add the following contents to file:










Step 3 – Install Grafana

Enter the following command:

sudo yum install grafana

Step 4 – Install additional font packages

Continue with following commands to install the free type and urw fonts.

yum install fontconfig

yum install freetype*

yum install urw-fonts

Step 5 – Enable Grafana Service

Check the status  of the service.

systemctl start grafana-server

systemctl enable grafana-server

systemctl status grafana-server


Step 6 – Modify Firewall

Change firewall configuration to allow Grafana port.

firewall-cmd –zone=public –add-port=3000/tcp –permanent

or allow port 3000 in security group if you are using aws.


Step 7 – Browse Grafana

Use the following URL to access the Grafana web interface.

http://Your Server IP or Host Name:3000/

Default details:-

Username : admin

Password: admin

 then it should ask you to change the password. After that you will see this window.

Also checkout This Setup:-How to do install and setup Jenkins on CentOS 7

Leave a Reply

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