Last active
August 29, 2015 14:00
-
-
Save parkr/c5cc53dae94efff3a607 to your computer and use it in GitHub Desktop.
Install ze things
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
set -e | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 561F9B9CAC40B2F7 | |
sudo apt-get install apt-transport-https ca-certificates | |
sudo echo 'deb https://oss-binaries.phusionpassenger.com/apt/passenger trusty main' > /etc/apt/sources.list.d/passenger.list | |
sudo chown root: /etc/apt/sources.list.d/passenger.list | |
sudo chmod 600 /etc/apt/sources.list.d/passenger.list | |
sudo apt-get update | |
sudo apt-get install -y make build-essential libcurl4-openssl-dev libssl-dev zlib1g-dev \ | |
libreadline6-dev libyaml-dev git libffi6 libffi-dev ruby2.0 nginx-extras ruby-passenger | |
sudo apt-get -y upgrade | |
passenger-install-nginx-module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment