Guest User

Untitled

a guest
Jun 24th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. ###########################################################
  2. # A startup item has been generated that will aid in
  3. # starting postgresql83-server with launchd. It is disabled
  4. # by default. Execute the following command to start it,
  5. # and to cause it to launch at startup:
  6. #
  7. # sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql83-server.plist
  8. ###########################################################
  9. ---> Installing postgresql83-server @8.3.7_0
  10.  
  11. To create a database instance, after install do
  12. sudo mkdir -p /opt/local/var/db/postgresql83/defaultdb
  13. sudo chown postgres:postgres /opt/local/var/db/postgresql83/defaultdb
  14. sudo su postgres -c '/opt/local/lib/postgresql83/bin/initdb -D /opt/local/var/db/postgresql83/defaultdb'
  15.  
  16. To tweak your DBMS, consider increasing kern.sysv.shmmax by adding an increased kern.sysv.shmmax .. to /etc/sysctl.conf
  17. ---> Activating postgresql83-server @8.3.7_0
  18. ---> Cleaning postgresql83-server
  19. Zampano:Fuzz Spaces weilawei$ sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql83-server.plist
  20. Zampano:Fuzz Spaces weilawei$ sudo mkdir -p /opt/local/var/db/postgresql83/just4theboard
  21. Zampano:Fuzz Spaces weilawei$ sudo chown postgres:postgres /opt/local/var/db/postgresql83/just4theboard
  22. 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