Deploying InaBox Control App and API with Passenger on RasPi 3B - lawhorkl/inabox GitHub Wiki
Deploying the app and API in a production-like state is identical in practice, only exception is the software directory for deployment.
- Boot Pi, SSH in. Default RasPi login: Username:
pi
Password:raspberry
- Run
sudo apt update
to refresh package lists. - Install apache:
sudo apt install apache2
- Install dirmngr for PGP:
sudo apt-get install dirmngr --install-recommends
- Install the PGP key for Passenger:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 561F9B9CAC40B2F7
After this step, you should see:
Executing: /tmp/apt-key-gpghome.ljeg9WNdYc/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 561F9B9CAC40B2F7
gpg: key 561F9B9CAC40B2F7: public key "Phusion Automated Software Signing (Used by automated tools to sign software packages) <[email protected]>" imported
gpg: Total number processed: 1
gpg: imported: 1
If so, continue, if not try to resolve the issue.