How to install Grafana on ubuntu 16.04/18.04/20.04 - TechBeginner

Welcome to TechBeginner.in, Tech Beginner provides technical blog for Online Linux Tutorials, Ubuntu Tutorials, Redhat Tutorials and CentOS 7, Configuration of server like Web Server, Application server, Database server, Window server, networking, html, css, java script, php, wordpress, opencart, magento, joomla and etc.

How to install Grafana on ubuntu 16.04/18.04/20.04

Share This


Grafana is a multi-stage open source investigation and intuitive representation programming accessible since 2014. It gives outlines, diagrams, and cautions for the web when associated with upheld information sources. It is expandable through a module framework.

In this post, We will install Grafana on ubuntu 16.04 | 18.04 | 20.04

Step 1: Update System

You need to update the current ubuntu repository by using the following command.

$ sudo apt-get update


Step 2: Add Grafana Repository

You need to add the grafana repository by using the command.

$ sudo wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
$ sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"


Step 3: Install Grafana

You need to update the repository and after that you can install the Grafana packages.
$ sudo apt-get update 
$ sudo apt install grafana -y


Step 4: Controlling Deamon

To Start the Grafana service, Use the following command.

$ sudo systemctl start grafana-server


To stop the Grafana service, Use the following command.


$ sudo systemctl stop grafana-server 


On boot enable Grafana service, Use the following command.


$ sudo systemctl enable grafana-server


On boot disable Grafana service , Use the following command.

$ sudo systemctl disable grafana-server



Step 5: Access Grafana Admin Panal

You need to open the browser with given url:


http://localhost:3000
 


By default Grafana using 3000 port, Click here to visit official website of Grafana.
 
Useful url is given below :-
 
 

No comments:

Post a Comment