Chronograf: Unterschied zwischen den Versionen
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= | + | *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 |
Version vom 17. Mai 2017, 10:33 Uhr
Install
- wget https://dl.influxdata.com/influxdb/releases/influxdb_1.2.2_amd64.deb
- sudo dpkg -i influxdb_1.2.2_amd64.deb
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