Created
November 26, 2012 15:20
-
-
Save noverloop/4148748 to your computer and use it in GitHub Desktop.
Postgresql and Postgis on mountain lion
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
When installing on mountain lion: | |
installation: | |
brew install postgresql --without-ossp-uuid | |
initd /usr/local/var/postgres | |
mkdir /var/pgsql_socket | |
chown <user> /var/pgsql_socket | |
edit /usr/local/var/postgres/postgresql.conf | |
set unix_socket_directory to /var/pgsql_socket | |
install postgres launchctl scripts (see brew info postgresql) | |
"psql postgres" should now work | |
Installing postgis: | |
sudo brew edit postgis15 | |
change all references of "postgresql9" to "postgresql" | |
brew install postgis15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment