CzADSB-Agregator: Porovnání verzí
Z Poznámkový blok
(→ReADSB) |
(→Konfigurace ReADSB) |
||
| (Nejsou zobrazeny 2 mezilehlé verze od stejného uživatele.) | |||
| Řádka 27: | Řádka 27: | ||
RECEIVER_OPTIONS="\ | RECEIVER_OPTIONS="\ | ||
--write-receiver-id-json \ | --write-receiver-id-json \ | ||
| − | |||
--net-ingest \ | --net-ingest \ | ||
--net \ | --net \ | ||
| Řádka 39: | Řádka 38: | ||
--forward-mlat \ | --forward-mlat \ | ||
--forward-mlat-sbs \ | --forward-mlat-sbs \ | ||
| − | --write-json-every 1" | + | --write-json-every 1 \ |
| + | --decode-threads=2" | ||
NET_OPTIONS="\ | NET_OPTIONS="\ | ||
| Řádka 54: | Řádka 54: | ||
--net-json-port 30006 \ | --net-json-port 30006 \ | ||
--tar1090-use-api \ | --tar1090-use-api \ | ||
| − | --api-shutdown-delay | + | --api-shutdown-delay 2 \ |
| − | --net-api-port unix:/run/readsb/api.sock" | + | --net-api-port unix:/run/readsb/api.sock \ |
| + | --net-ro-interval=0.01 \ | ||
| + | --net-ro-interval-beast-reduce=0.02 \ | ||
| + | --net-beast-reduce-optimize-for-mlat \ | ||
| + | --net-json-port-include-noposition" | ||
JSON_OPTIONS="\ | JSON_OPTIONS="\ | ||
| Řádka 64: | Řádka 68: | ||
=== Instalace Lightppd === | === Instalace Lightppd === | ||
Pro podporu api a stahovani stavů pres http doinstalujeme Lighttpd | Pro podporu api a stahovani stavů pres http doinstalujeme Lighttpd | ||
| − | sudo apt install -y | + | sudo apt install -y lighttpd |
=== Konfigurace Lighttpd === | === Konfigurace Lighttpd === | ||
Aktuální verze z 19. 2. 2026, 19:12
Obsah
Úvod
Tento návod slouží k rychlé instalaci ReADSB agregatoru pro CzADSB.
ReADSB
Instalace ReADSB
Instalace ReADSB (kompilace, bez podpory SDR)
sudo apt update && sudo apt -y upgrade sudo apt install --no-install-recommends --no-install-suggests -y \ git build-essential debhelper pkg-config fakeroot libncurses-dev zlib1g-dev libzstd-dev help2man git clone --depth 20 https://github.com/wiedehopf/readsb.git cd readsb rm -f ../readsb_*.deb export DEB_BUILD_OPTIONS=noddebs dpkg-buildpackage -b -ui -uc -us cd .. rm -f /tmp/readsb_*.deb mv ./readsb_*.deb /tmp/ sudo apt install /tmp/readsb_*.deb
Konfigurace ReADSB
sudo mcedit /etc/default/readsb # readsb configuration RECEIVER_OPTIONS="\ --write-receiver-id-json \ --net-ingest \ --net \ --net-only" DECODER_OPTIONS="\ --modeac \ --modeac-auto \ --max-range 500 \ --preamble-threshold 200 \ --forward-mlat \ --forward-mlat-sbs \ --write-json-every 1 \ --decode-threads=2" NET_OPTIONS="\ --net-api-port 8008 \ --net-receiver-id \ --net-bi-port 30004 \ --net-bo-port 30005 \ --net-ro-port 30002 \ --net-ri-port 30001 \ --net-sbs-port 30003 \ --net-sbs-in-port 30000 \ --net-asterix-reduce \ --net-vrs-port 30009 \ --net-json-port 30006 \ --tar1090-use-api \ --api-shutdown-delay 2 \ --net-api-port unix:/run/readsb/api.sock \ --net-ro-interval=0.01 \ --net-ro-interval-beast-reduce=0.02 \ --net-beast-reduce-optimize-for-mlat \ --net-json-port-include-noposition" JSON_OPTIONS="\ --json-location-accuracy 2 \ --range-outline-hours 24"
Lighttpd
Instalace Lightppd
Pro podporu api a stahovani stavů pres http doinstalujeme Lighttpd
sudo apt install -y lighttpd
Konfigurace Lighttpd
sudo wget -q https://rxw.cz/adsb/install/web/64-readsb.conf -O /etc/lighttpd/conf-available/64-readsb.conf sudo ln -s ../conf-available/64-readsb.conf /etc/lighttpd/conf-enabled/64-readsb.conf sudo wget -q https://rxw.cz/adsb/install/web/system.cgi -O /var/www/html/system.cgi sudo systemctl reload lighttpd.service