Änderungen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche

InfluxDB

304 Byte hinzugefügt, 21:32, 19. Jul. 2018
== Installation ==
curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -<br> echo "deb https://repos.influxdata.com/debian stretch stable" | sudo tee /etc/apt/sources.list.d/influxdb.list<br> sudo apt update<br> sudo apt install influxdb telegraf<br> sudo systemctl enable influxdb<br>
sudo systemctl start influxdb
 
== Konfigurieren ==
 
influx
> CREATE DATABASE openhab_db
> CREATE USER admin WITH PASSWORD '<passwort>' WITH ALL PRIVILEGES
> CREATE USER openhab WITH PASSWORD '<passwort>'
> CREATE USER grafana WITH PASSWORD '<passwort>'
> GRANT ALL ON openhab_db TO openhab
> GRANT READ ON openhab_db TO grafana
> exit
688
Bearbeitungen