Grafana Introduction
- Grafana is a multi-platform open source analytics and interactive visualisation software
- It is available since 2014
- It provides charts, graphs and alerts for the web when connected to supported data sources.
- It is expandable through a plug-in system.
Supported operating systems
- Debian/Ubuntu
- RPM-Based Linux (CentOS, Fedora, Opensuse, RHEL)
- MacOS
- Windows
Installation of Grafana on other operating systems is possible, but not supported.
Hardware Recommendations
- Grafana does not use a lot of resources and is very lightweight in use of memory and CPU.
- Minimum recommended memory: 255 MB
- Minimum recommended CPU: 1
- Some features might require more memory or CPUs. Features require more resources include:
a. Server side rendering of images
b. Alerting
c. Data source proxy
Installation with YUM repo :
Step1 : Updating the server
$ sudo yum update
Step 2: Adding grafana repo for installing grafana$ sudo vi /etc/yum.repos.d/grafana.repo
[grafana]name=grafana
baseurl=https://packages.grafana.com/oss/rpm
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://packages.grafana.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
Step 3: Installing Grafana
$ sudo yum install grafana
Step 4: Start and Enable the grafana service
$ sudo systemctl daemon-reload
$ sudo systemctl start grafana-server
$ sudo systemctl status grafana-server
$ sudo systemctl enable grafana-server
Step 1: Downloading Grafana Zip file
Step 2: Unzip the Grafana zip file
$ tar -zxvf grafana-6.6.0.linux-amd64.tar.gz
Step 3: Start and enable the grafana server
$ sudo systemctl daemon-reload
$ sudo systemctl start grafana-server$ sudo systemctl status grafana-server
$ sudo systemctl enable grafana-server
Installation with RPM:
Step 1: Adding Grafana RPM key
$ sudo wget https://packages.grafana.com/gpg.key
Step 2: Install some dependencies to install grafana with RPM
$ sudo yum install initscripts urw-fonts wget
Step 3: Download the grafana RPM file
$ sudo rpm -Uvh grafana-6.6.0-1.x86_64.rpm
Step 4: Installing Grafana
$ sudo yum localinstall grafana-6.6.0-1.x86_64.rpm
Step 3: Start and Enable the Grafana Server
$ sudo systemctl daemon-reload
$ sudo systemctl start grafana-server
$ sudo systemctl status grafana-server
$ sudo systemctl enable grafana-server
Referral Page : https://grafana.com/docs/grafana/latest/installation/