Vous êtes sur la page 1sur 1

Grafana - Installation and Setup (Linux)

1.

Installation :
a.

b.

Grafana can be installed using Yum directly.$ sudo yum


install https://grafanarel.s3.amazonaws.com/builds/grafana-3.1.1-1470047149.x86_64.rpm
Or install manually using rpm.
On CentOS / Fedora / Redhat:
$ sudo yum install initscripts fontconfig
$ sudo rpm -Uvh grafana-3.1.1-1470047149.x86_64.rpm

2.

Configure default port:


If desired, you can modify the Grafana config file at /etc/grafana/grafana.ini (i.e. to change the
default port of 3000, etc.).

3.

Configure Grafana for automatic start-up :


sudo systemctl enable grafana-server.service

4.

Start Grafana :

systemctl daemon-reload
systemctl start grafana-server
systemctl status grafana-server
5.
Allow Grafana through firewall :
firewall-cmd --permanent --zone=public --add-port=3000/tcp
firewall-cmd --reload
6.

7.

Check Grafana Service Status:


systemctl status grafana-server
The Grafana Web Interface:
The default login is admin admin. Here, you can point Grafana to your InfluxDB databases. Later, we
will also create graphs of our performance data from this interface.
http://<ip address>:3000

8.

Checking your work:


Before calling this done, let's confirm that Grafana is configured for auto-start.
systemctl list-unit-files | grep 'grafana'
The output from above should look similar to:grafana-server.service

enabled

Vous aimerez peut-être aussi