Last active
May 10, 2016 10:36
-
-
Save jmkelly/73ef556cc9d431665eacff7351be7553 to your computer and use it in GitHub Desktop.
Setup an ubuntu server
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 | |
#First you update your system | |
sudo apt-get -y update | |
#install postgresql-9.5 | |
touch /etc/apt/sources.list.d/pgdg.list | |
echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" >> /etc/apt/sources.list.d/pgdg.list | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \ | |
sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install -y postgresql-9.5 nginx git ruby |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment