Difference between revisions of "Nginx Passenger"
From Wasya Wiki
Line 6: | Line 6: | ||
apt-get install -y dirmngr gnupg apt-transport-https ca-certificates | apt-get install -y dirmngr gnupg apt-transport-https ca-certificates | ||
## ubuntu 20 | ## ubuntu 20 | ||
− | apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7 | + | # apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7 |
− | sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger focal main > /etc/apt/sources.list.d/passenger.list' | + | ## ubuntu 22 |
+ | 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 | ||
+ | ## ubuntu 20 | ||
+ | # sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger focal main > /etc/apt/sources.list.d/passenger.list' | ||
+ | ## ubuntu 22 | ||
+ | sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger jammy main > /etc/apt/sources.list.d/passenger.list' | ||
+ | |||
apt-get update | apt-get update | ||
apt-get install -y libnginx-mod-http-passenger | apt-get install -y libnginx-mod-http-passenger |
Revision as of 00:04, 22 August 2023
From: https://www.phusionpassenger.com/library/install/nginx/install/oss/bionic/
From: https://www.phusionpassenger.com/docs/advanced_guides/install_and_upgrade/nginx/install/oss/focal.html
apt-get install -y dirmngr gnupg apt-transport-https ca-certificates ## ubuntu 20 # apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7 ## ubuntu 22 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 ## ubuntu 20 # sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger focal main > /etc/apt/sources.list.d/passenger.list' ## ubuntu 22 sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger jammy main > /etc/apt/sources.list.d/passenger.list' apt-get update apt-get install -y libnginx-mod-http-passenger