⇤ ← Revision 1 as of 2020-10-26 14:21:06
447
Comment:
|
← Revision 2 as of 2020-10-26 15:46:18 ⇥
718
|
Deletions are marked like this. | Additions are marked like this. |
Line 12: | Line 12: |
== Schrit 2 == Konfiguration aller konfigurierten Raspberry Pi ausrollen. Dazu muss das Projekt https://gitlab.zeuthen.desy.de/ansible-playbook/ansible-co2infomon geklonte werden. Ausrollen der Konfiguration: {{{ ansible-playbook -i inventar.ini site.yml }}} |
CO2MON Setup
Beschreibung wie CO2 / Infomonitore auf Basis von Raspberry Pi aufgesetzt werden. Das Konfigurieren erfolgt in zwei Schritten.
Schritt 1
Raspberry Pi ins Netz bringen und ein Basis Image aufspielen (https://www.raspberrypi.org/downloads/). Danach als User Pi auf dem Rechner ssh Keys einspielen so das man sich remote anmelden kann.
curl -s "https://www.zeuthen.desy.de/~pbolle/init-co2mon.sh" | bash
Schrit 2
Konfiguration aller konfigurierten Raspberry Pi ausrollen. Dazu muss das Projekt https://gitlab.zeuthen.desy.de/ansible-playbook/ansible-co2infomon geklonte werden.
Ausrollen der Konfiguration:
ansible-playbook -i inventar.ini site.yml