Created
December 10, 2009 21:46
-
-
Save lukmdo/253713 to your computer and use it in GitHub Desktop.
PostgreSQL postInstall
This file contains hidden or 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
To create a database instance, after install do | |
sudo mkdir -p /opt/local/var/db/postgresql83/defaultdb | |
sudo chown postgres:postgres /opt/local/var/db/postgresql83/defaultdb | |
sudo su postgres -c '/opt/local/lib/postgresql83/bin/initdb -D /opt/local/var/db/postgresql83/defaultdb' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment