Skip to content

Instantly share code, notes, and snippets.

@iqbalhasnan
Last active December 30, 2015 01:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iqbalhasnan/7754893 to your computer and use it in GitHub Desktop.
Save iqbalhasnan/7754893 to your computer and use it in GitHub Desktop.
install postgreSQL 9 on Mavericks OSX 10.9 using home-brew
Update Brew:
brew update
Install postgreSQL:
brew install postgresql
Init database:
initdb /usr/local/var/postgresql
Run postgreSQL:
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start &
Create database:
createdb iqbaldb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment