Hotfix release available: 2025-05-14b "Librarian".
upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian".
upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian".
upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos".
upgrade now! [55.2] (what's this?)
echecker:derbycycle:echecker
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| echecker:derbycycle:echecker [2016/11/03 18:39] – [echecker1] 79.230.18.125 | echecker:derbycycle:echecker [2024/04/15 00:43] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| [[: | [[: | ||
| Line 6: | Line 6: | ||
| * / | * / | ||
| * /etc/hosts | * /etc/hosts | ||
| - | ===== Cronjobs | + | |
| + | ===== Setup ===== | ||
| + | |||
| + | ==== Authorized Keys ==== | ||
| + | Damit man von den Servern auf die echecker kommt. (Backup) | ||
| + | ''/ | ||
| + | < | ||
| + | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCvV+vs+zsF1DkBPcBI2AFOEcnVIKid8ixioF5FR7ePV9Fur+3iWJ547pin5Z5TwVzW4cXGur/ | ||
| + | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDAOgspL2MyU/ | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ==== udev ==== | ||
| + | Interface regeln. Wir wollen, dass der Port LAN1 eth0 und LAN2 eth1 wird. | ||
| + | ''/ | ||
| + | < | ||
| + | SUBSYSTEM==" | ||
| + | SUBSYSTEM==" | ||
| + | </ | ||
| + | |||
| + | ==== Interfaces ==== | ||
| + | IP's siehe [[echecker: | ||
| + | ''/ | ||
| + | < | ||
| + | auto eth0 | ||
| + | iface eth0 inet static | ||
| + | address 172.10.3.123 | ||
| + | netmask 255.255.0.0 | ||
| + | gateway 172.10.0.6 | ||
| + | dns-nameservers 172.10.1.94 | ||
| + | dns-search ec.dcw.local | ||
| + | </ | ||
| + | |||
| + | ==== hosts ==== | ||
| + | ''/ | ||
| + | Diese Zeile hinzufügen. | ||
| + | < | ||
| + | 172.10.1.94 | ||
| + | </ | ||
| + | |||
| + | ==== Cronjobs | ||
| Root's cronjobs: | Root's cronjobs: | ||
| < | < | ||
| - | 30 12 * * * / | + | # m h dom mon dow |
| - | @reboot / | + | 20 0 * * * / |
| + | @reboot / | ||
| + | </ | ||
| + | |||
| + | ==== derby-user ==== | ||
| + | '' | ||
| + | **WICHTIG: | ||
| + | |||
| + | > User: derbycycle | ||
| + | > Pass: Aex4eshi | ||
| + | |||
| + | |||
| + | ==== Stand-Konfiguration ==== | ||
| + | === Frontend === | ||
| + | |||
| + | * ''/ | ||
| + | |||
| + | < | ||
| + | # MySQL | ||
| + | $dbhost = "ecsrv"; | ||
| + | $dbport = 3306; | ||
| + | $dbuser = " | ||
| + | $dbpass = " | ||
| + | $dbname = " | ||
| + | |||
| + | (...) | ||
| + | |||
| + | # eChecker | ||
| + | $pstd_id = 42; # Prüfstand ID (null falls nicht Prüfstand) | ||
| + | (...) | ||
| + | </ | ||
| + | |||
| + | === Backend === | ||
| + | |||
| + | |||
| + | * ''/ | ||
| + | < | ||
| + | # | ||
| + | # -*- coding: utf-8 -*- | ||
| + | # | ||
| + | # Kunden-Konfigurationsdatei | ||
| + | # Dynamische Konfigurationen hier machen! | ||
| + | # Wird am ende von config.py importiert. | ||
| + | |||
| + | MYSQL_HOST = " | ||
| + | MYSQL_USER = " | ||
| + | MYSQL_PASSWD = " | ||
| + | MYSQL_DBNAME = " | ||
| + | |||
| + | BIRNE = False # Auskommentieren falls keine Birne | ||
| + | # | ||
| + | |||
| + | APILVL=14 | ||
| + | LIMIT_A1=[300, | ||
| + | LIMIT_A2=[300, | ||
| + | LIMIT_SCANNER=[0, | ||
| + | KA_encoder=72 | ||
| + | V_rolle=True | ||
| + | |||
| + | (...) | ||
| + | |||
| + | # Bremse Typ 2: | ||
| + | # - Schritte: 35000 | ||
| + | # - Endschalter | ||
| + | TYP_BREMSE=2 | ||
| + | LIMIT_BREMSE=[0, | ||
| + | |||
| + | # Server Prüfungsexport url (%d = pdid) | ||
| + | SRV_PRUEFEXPORT_URL = " | ||
| </ | </ | ||
echecker/derbycycle/echecker.1478194773.txt.gz · Last modified: 2024/04/15 00:43 (external edit)
