Step by Step Method to Install Stretch Lite image + dump1090-mutability
(1) Download Stretch Lite image and write the image to microSD Card
(2) Install dump1090-mutability v1.15~dev
Below is a step-by-step method to built & install dump1090-mutability_1.15~dev from source code.
STEP-1: UPDATE THE OPERATING SYSTEM
sudo apt-get update
.
STEP-2: INSTALL PRE REQUISIT PACKAGES
(needed to build, and needed to fulfill dependencies)
sudo apt-get install -y git
sudo apt-get install -y build-essential
sudo apt-get install -y debhelper
sudo apt-get install -y rtl-sdr
sudo apt-get install -y librtlsdr-dev
sudo apt-get install -y libusb-1.0-0-dev
sudo apt-get install -y pkg-config
sudo apt-get install -y fakeroot
sudo apt-get install -y curl
sudo apt-get install -y cron
sudo apt-get install -y lighttpd
.
STEP-3: DOWNLOAD / CLONE THE SOURCE FILES TO YOUR RPi
cd ~/
sudo mkdir install-dump
cd install-dump
sudo git clone https://github.com/mutability/dump1090.git
.
STEP-4: BUILD THE DUMP1090-MUTABILITY PACKAGE
Note: This is a lengthy process, and seems to freez at several occasions. Please be patient, and let the process take it’s time to finish.
cd ~/install-dump/dump1090
sudo dpkg-buildpackage -b
.
STEP-5: INSTALL THE DUMP1090-MUTABILITY PACKAGE
cd ~/install-dump
sudo dpkg -i dump1090-mutability_1.15~dev_*.deb
.
STEP-6: CONFIGURE THE WEB SERVER
sudo lighty-enable-mod dump1090
sudo systemctl force-reload lighttpd
.
STEP-7: DUMP1090-MUTABILITY POST INSTALLATION CONFIGURATION
sudo dpkg-reconfigure dump1090-mutability
.
For most settings, accept default settings by pressing “Enter”.
For following settings, enter values as shown:
(a) RTL-SDR dongle to use: 0
(b) Your receiver’s Latitude (in decimal format): xx.xxxx
(c) Your receiver’s Longitude (in decimal format): yy.yyyy
(d) Interface address to bind to (blank for all interfaces): remove default 127.0.0.1 and leave blank.
For advance users:Alternatively, you can change the settings by editing the configuration file shown below:
sudo nano /etc/default/dump1090-mutability
#after making changes, save file and exit
#restart dump1090-mutability
sudo systemctl restart dump1090-mutability
.