Install an InfluxDB Grafana stack on a Raspberrypi

From lechacal
Revision as of 22:47, 12 February 2019 by Administrator (talk | contribs) (Created page with " TO BE COMPLETED ==Install Influxdb== curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add - sudo apt install apt-transport-https echo "deb https://repo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


TO BE COMPLETED

Install Influxdb

curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
sudo apt install apt-transport-https
echo "deb https://repos.influxdata.com/debian stretch stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
sudo apt-get update
sudo apt-get install influxdb

Setup Influxdb Config

sudo vi /etc/influxdb/influxdb.conf
[http]
  # Determines whether HTTP endpoint is enabled.
  enabled = true

  # The bind address used by the HTTP service.
  bind-address = ":8086"

  # Determines whether user authentication is enabled over HTTP/HTTPS.
  auth-enabled = false
sudo service influxdb restart


Install Grafana

curl https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
echo "deb https://dl.bintray.com/fg2it/deb jessie main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
sudo apt-get update
sudo apt-get install grafana
sudo service grafana-server start
sudo update-rc.d grafana-server defaults