Last active
December 30, 2015 01:18
-
-
Save iqbalhasnan/7754893 to your computer and use it in GitHub Desktop.
install postgreSQL 9 on Mavericks OSX 10.9 using home-brew
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
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