File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
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
+ # ##
4
6
7
+ apt-get install -y apt-transport-https ca-certificates dirmngr gnupg
5
8
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7
6
- apt-get install -y apt-transport-https ca-certificates
7
9
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'
9
11
apt-get update
10
12
11
- apt-get install -y nginx-extras passenger
13
+ apt-get install -y libnginx-mod-http- passenger
12
14
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/"
You can’t perform that action at this time.
0 commit comments