Install Grafana on Raspberry PI ( Raspbian )

Install Grafana on Raspberry PI ( Raspbian )

In this tutorial series of Raspberry PI, I will show you how to install Grafana on Raspberry PI. After following this tutorial you will be able to access grafana and visualize the data.

Grafana allows you to query, visualize, alert on and understand your metrics no matter where they are stored. Create, explore, and share dashboards with your team and foster a data-driven culture.

  1. Requirement

You can use the following links to buy the things that you need.

       

 

2. Installing Grafana on raspberry Pi

Now we will add the Debian APT repository to install grafana.

 sudo apt-get install -y adduser libfontconfig1 wget

 wget https://dl.grafana.com/oss/release/grafana-rpi_6.6.1_armhf.deb

~ sudo dpkg -i grafana-rpi_6.6.1_armhf.deb
Selecting previously unselected package grafana-rpi.
(Reading database ... 8759 files and directories currently installed.)
Preparing to unpack grafana-rpi_6.6.1_armhf.deb ...
Unpacking grafana-rpi (6.6.1) ...
Setting up grafana-rpi (6.6.1) ...
Adding system user `grafana' (UID 105) ...
Adding new user `grafana' (UID 105) with group `grafana' ...
Not creating home directory `/usr/share/grafana'.
### NOT starting on installation, please execute the following statements to configure grafana to start automatically using systemd
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable grafana-server
### You can start grafana-server by executing
sudo /bin/systemctl start grafana-server
Processing triggers for systemd (215-17+deb8u8) ...

3. Start the services

Now we have installed the grafana. Let’s start and enable grafana service.

systemctl enable grafana-server
systemctl start grafana-server

4. Access Grafana Dashboard

Grafana had been installed and started. Now you can access grafana dashboard on ip-address:3000 or if you are on localhost then use this link or http://localhost:3000

Install Grafana on Raspberry PI

The default username is admin and password is admin. You need to change the password after the first login. After that, you will be able to create the dashboards.

 

Leave a Reply

Your email address will not be published.


*