Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###########################################################
- # A startup item has been generated that will aid in
- # starting postgresql83-server with launchd. It is disabled
- # by default. Execute the following command to start it,
- # and to cause it to launch at startup:
- #
- # sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql83-server.plist
- ###########################################################
- ---> Installing postgresql83-server @8.3.7_0
- 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'
- To tweak your DBMS, consider increasing kern.sysv.shmmax by adding an increased kern.sysv.shmmax .. to /etc/sysctl.conf
- ---> Activating postgresql83-server @8.3.7_0
- ---> Cleaning postgresql83-server
- Zampano:Fuzz Spaces weilawei$ sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql83-server.plist
- Zampano:Fuzz Spaces weilawei$ sudo mkdir -p /opt/local/var/db/postgresql83/just4theboard
- Zampano:Fuzz Spaces weilawei$ sudo chown postgres:postgres /opt/local/var/db/postgresql83/just4theboard
- Zampano:Fuzz Spaces weilawei$ sudo su postgres -c '/opt/local/lib/postgresql83/bin/initdb -D /opt/local/var/db/postgresql83/just4theboard'
Add Comment
Please, Sign In to add comment