How to install Grafana on ubuntu 16.04/18.04/20.04

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 :-
 
 
How to install Grafana on ubuntu 16.04/18.04/20.04

One thought on “How to install Grafana on ubuntu 16.04/18.04/20.04

  1. I am a website designer. Recently, I am designing a website template about gate.io. The boss’s requirements are very strange, which makes me very difficult. I have consulted many websites, and later I discovered your blog, which is the style I hope to need. thank you very much. Would you allow me to use your blog style as a reference? thank you!

Leave a Reply

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

Scroll to top