Chronograf: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
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

Version vom 17. Mai 2017, 10:33 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