Last active
November 3, 2015 22:58
-
-
Save daveslutzkin/0c20d276a832c908e922 to your computer and use it in GitHub Desktop.
Install Postgres from PPA
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
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