Fernando Maia

Joined

610 Experience
6 Lessons Completed
0 Questions Solved

Activity

Posted in Deploy Ubuntu 22.04 Jammy Jellyfish Discussion

Thanks for the guide!

For anyone having issues with Passenger, I've managed to fix it by installing the correct version for Ubuntu 22.04 (Jammy), while the guide seems to be using the version for 20.04 (Focal). Here's what solved for me:

# Install our PGP key and add HTTPS support for APT
sudo apt-get install -y dirmngr gnupg apt-transport-https ca-certificates curl

curl https://oss-binaries.phusionpassenger.com/auto-software-signing-gpg-key.txt | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/phusion.gpg >/dev/null

# Add our APT repository
sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger jammy main > /etc/apt/sources.list.d/passenger.list'
sudo apt-get update

# Install Passenger
sudo apt-get install -y passenger

The complete instructions can be found here: https://www.phusionpassenger.com/docs/tutorials/deploy_to_production/