Skip to content

Commit e737b83

Browse files
committed
Update passenger instructions to Ubuntu 18.04
1 parent 9d8afac commit e737b83

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed
+7-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
#!/bin/bash
22

3-
#Taken from https://www.phusionpassenger.com/library/walkthroughs/deploy/ruby/ownserver/nginx/oss/trusty/install_passenger.html
3+
###
4+
# CONFIGURATION FOR UBUNTU 18.04
5+
###
46

7+
apt-get install -y apt-transport-https ca-certificates dirmngr gnupg
58
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7
6-
apt-get install -y apt-transport-https ca-certificates
79

8-
sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger trusty main > /etc/apt/sources.list.d/passenger.list'
10+
sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger bionic main > /etc/apt/sources.list.d/passenger.list'
911
apt-get update
1012

11-
apt-get install -y nginx-extras passenger
13+
apt-get install -y libnginx-mod-http-passenger
1214

13-
echo "Remember you need to uncomment lines 'passenger_root' and 'passenger_ruby' in '/etc/nginx/nginx.conf' file"
14-
echo "and then restart nginx with 'sudo service nginx restart'"
15+
echo "For Ubuntu 14.04 see https://www.phusionpassenger.com/docs/tutorials/deploy_to_production/installations/oss/ownserver/ruby/nginx/"

0 commit comments

Comments
 (0)