Skip to content

Instantly share code, notes, and snippets.

@bendangelo
Created July 2, 2012 15:39
Show Gist options
  • Select an option

  • Save bendangelo/3033843 to your computer and use it in GitHub Desktop.

Select an option

Save bendangelo/3033843 to your computer and use it in GitHub Desktop.
Install Postgres 9.1
# curl -L gist.github.com/raw/3033843 | bash
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:pitti/postgresql
sudo apt-get update
sudo apt-get install postgresql-9.1 libpq-dev -y
#su postgres
#psql -d postgres -U postgres
#alter user postgres with password 'a';
#\q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment