Skip to content

Instantly share code, notes, and snippets.

@daveslutzkin
Last active November 3, 2015 22:58
Show Gist options
  • Save daveslutzkin/0c20d276a832c908e922 to your computer and use it in GitHub Desktop.
Save daveslutzkin/0c20d276a832c908e922 to your computer and use it in GitHub Desktop.
Install Postgres from PPA
echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" | sudo tee /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 postgresql-9.4 libpq-dev postgresql-contrib-9.4
sudo vim /etc/postgresql/*/main/pg_hba.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment