Currently, one of these forks -- dump1090-mutability -- is the version available in the repositories of some common Linux distributions -- Specifically Ubuntu and Q4OS.
This guide is also for people that just want the stand-alone version from the distro repository, and for people working on a full PC, not a Raspberry PI or similar.
Steps:
-- Install dump1090-mutability from your distribution:
Code: Select all
sudo apt install dump1090-mutability
-- install lighttpd from your distribution:
Code: Select all
apt-get install lighttpd
We must create this directory. Since - again - I want it to work as a normal user app, we must make this directory writable by everyone:
Code: Select all
sudo mkdir /run/dump1090-mutability
sudo chmod 777 /run/dump1090-mutability
-- Start dump1090-mutability with an appropriate command line:
Code: Select all
dump1090-mutability --interactive --write-json /run/dump1090-mutability --lat <your lat> --lon <your lon> --gain -10
-- Launch a web browser, and enter the following in the URL bar:
Code: Select all
http://localhost/dump1090/gmap.html
Code: Select all
http://x.x.x.x/dump1090/gmap.html
If it stops working after a re-boot or power cycle:
See if the directory /run/dump1090-mutability/ has disappeared.
Note that this is actually a good thing. /run/ is actually in memory. This is done to prevent wear on an SD card, or Solid State or mechanical hard drive.
if so, do one of the following:
Option 1: Recreate it manually. This is a fine solution for occasional use:
Code: Select all
sudo mkdir /var/dump1090-mutability
sudo chmod 777 /var/dump1090-mutability
the content of the file would be:
Code: Select all
d /var/run/dump1090-mutability 0777 root root
This will create /var/run/dump1090-mutability/ on reboot.
Option 3: If using systemd, there is a configuration item explicitly for this.
Code: Select all
[Service]
RuntimeDirectory=dump1090-mutability
[more specific details will be added to this if needed.]