Influxdb: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 32: | Zeile 32: | ||
</pre> | </pre> | ||
*systemctl restart influxdb.service | *systemctl restart influxdb.service | ||
| + | =Influxdb Querys= | ||
| + | *[[Influxdb Querys]] | ||
Version vom 17. Mai 2017, 19:05 Uhr
Install
- wget https://dl.influxdata.com/influxdb/releases/influxdb_1.2.2_amd64.deb
- sudo dpkg -i influxdb_1.2.2_amd64.deb
Influx Client
Enter the Client
Plaintext
- influx
ssl
- influx -ssl -unsafeSsl
Create a database
>create database telegraf;
Create a user
>create user telegraf with password 'oimel';
Grant rights to user
>grant all on telegraf to telegraf;
Drop a database
>drop database telegraf;
Drop a user
>drop user telegraf with password ‘oimel’;
SSL Connection
- Zertifikate nach /etc/ssl kopieren
- vi /etc/influxdb/influxdb.conf
[http] https-enabled = true https-certificate = "/etc/ssl/my-cert.crt" https-private-key = "/etc/ssl/my-key.key"
- systemctl restart influxdb.service