This bash shell script is intended to install Ionosphere from https://github.com/cceremuga/ionosphere onto a raspberry pi.
It installs rtl-sdr and multimon-ng from source, and go from a binary distribution.
Then ionosphere is compiled. A directory "logs" is created for ionosphere to log to.
The path changes made in the script do not persist after the script is terminated.
To clone and run the script
sudo apt-get install git -y
git clone https://github.com/g7gpr/rpiionosphereinstaller
cd rpiionosphereinstaller
./ionosphereinstaller.sh
You will need to run the following commands to add the paths
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
echo 'export GOPATH=$HOME/go' >> ~/.bashrc
source ~/.bashrc
Now add yourself to the plugdev group.
sudo usermod -aG plugdev yourusername
Edit aprs/ionosphere/config/config.yml to suit. Key points are the frequency, callsign and passcode.
Logout, login, change to the ionosphere location and execute
./ionosphere