Skip to content

KimJR/GrafanaRaspberryPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

GrafanaRaspberryPi

Install Grafana on Raspberry Pi

  1. Add the APT key used to authenticate packages:
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
  1. Add the Grafana APT repository:
echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
  1. Install Grafana:
sudo apt-get update
sudo apt-get install -y grafana
  1. Enable the Grafana server:
sudo /bin/systemctl enable grafana-server
  1. Start the Grafana server:
sudo /bin/systemctl start grafana-server
  1. Open a browser and go to http://"ip-address">:3000, (IP-address is the address of the Raspberry Pi). You get the ip with the following command
ifconfig
  1. Log in to Grafana with the default username admin, and the default password admin

Install InfluxDB on Raspberry Pi

  1. Add the InfluxDB repository key to yozr Raspberry Pi. Adding the key will allow the package manager on Raspbian to search the repository and verify the packages its installing.
wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
  1. Now enter the following command to add the InfluxDB repository to the sources list.
echo "deb https://repos.influxdata.com/debian buster stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
  1. Run the following command on your Raspberry Pi to update the package list.
sudo apt update
  1. To install InfluxDB to our Raspberry Pi, all we need to do is run the command below.
sudo apt install influxdb
  1. Run the following two commands to enable InfluxDB to start at boot on your Raspberry Pi.
sudo systemctl unmask influxdb
sudo systemctl enable influxdb
  1. To start up the InfluxDB server, we will need to run the following command. The service manager will then start up the service and begin monitoring it.
sudo systemctl start influxdb
  1. start de DB
influx
  1. create DB
create database <name>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published