Influxdb: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 17: Zeile 17:
 
==Drop a user==
 
==Drop a user==
 
>drop user telegraf with password ‘oimel’;
 
>drop user telegraf with password ‘oimel’;
 +
 +
=SSL Connection=
 +
*Zertifikate nach /etc/ssl kopieren
 +
*vi /etc/influxdb/influxdb.conf
 +
<pre>
 +
[http]
 +
https-enabled = true
 +
https-certificate = "/etc/ssl/my-cert.crt"
 +
https-private-key = "/etc/ssl/my-key.key"
 +
</pre>
 +
*systemctl restart influxdb.service

Version vom 17. Mai 2017, 10:36 Uhr

Install

Influx Client

Enter the Client

  • influx

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