Chronograf: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Janning (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
(3 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
=Install=
=Install=
*wget https://dl.influxdata.com/influxdb/releases/influxdb_1.2.2_amd64.deb
*[[Cronograf Install]]
*sudo dpkg -i influxdb_1.2.2_amd64.deb
 
=Setup=
=Setup=
*sudo systemctl start chronograf
*sudo systemctl start chronograf
Zeile 9: Zeile 9:
=SSL-Connection=
=SSL-Connection=
*Zertifikate nach /etc/ssl kopieren
*Zertifikate nach /etc/ssl kopieren
*vi /etc/systemd/system/multi-user.target.wants/chronograf.service (--cert=mycert.crt --key=mykey.key muss bei ExecStart hinzugefügt werden)
*vi /etc/systemd/system/multi-user.target.wants/chronograf.service (--cert=my-cert.crt --key=my-key.key muss bei ExecStart hinzugefügt werden)
<pre>
<pre>
[Service]
[Service]
User=chronograf
User=chronograf
Group=chronograf
Group=chronograf
ExecStart=/usr/bin/chronograf --host 0.0.0.0 --port 8888 -b /var/lib/chronograf/chronograf-v1.db -c /usr/share/chronograf/canned --cert=mycert.crt --key=mykey.key
ExecStart=/usr/bin/chronograf --host 0.0.0.0 --port 8888 -b /var/lib/chronograf/chronograf-v1.db -c /usr/share/chronograf/canned --cert=my-cert.crt --key=my-key.key
KillMode=control-group
KillMode=control-group
Restart=on-failure
Restart=on-failure
</pre>
</pre>
*systemctl restart chronograf.service
*systemctl restart chronograf.service
=Access=
=Access=
*https://localhost:8888
*https://localhost:8888

Aktuelle Version vom 11. Oktober 2019, 08:36 Uhr

Install

Setup

  • sudo systemctl start chronograf

Access

SSL-Connection

  • Zertifikate nach /etc/ssl kopieren
  • vi /etc/systemd/system/multi-user.target.wants/chronograf.service (--cert=my-cert.crt --key=my-key.key muss bei ExecStart hinzugefügt werden)
[Service]
User=chronograf
Group=chronograf
ExecStart=/usr/bin/chronograf --host 0.0.0.0 --port 8888 -b /var/lib/chronograf/chronograf-v1.db -c /usr/share/chronograf/canned --cert=my-cert.crt --key=my-key.key
KillMode=control-group
Restart=on-failure
  • systemctl restart chronograf.service

Access

Links