Chronograf: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (3 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
=Install= | =Install= | ||
| − | * | + | *[[Cronograf Install]] |
| − | + | ||
=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= | + | *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= | + | 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