|
|||||||||
Monday the 1st of December, 2008 |
|||||||||
postgresql82-server most recent diffversion 8.2.11
Scroll down toward the bottom of the page to get installation instructions for postgresql82-server. The raw portfile for postgresql82-server 8.2.11 is located here: http://postgresql82-server.darwinports.com/dports/databases/postgresql82-server/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/postgresql82-server # $Id: Portfile 42190 2008-11-16 17:34:37Z jwa PortSystem 1.0 Name: postgresql82-server Version: 8.2.11 Category: databases Platform: darwin Maintainers: mww jwa Description: run postgresql82 as server Long Description: ${description} Homepage: http://www.postgresql.org/ master_sites postgresql depends_run port:postgresql82 fetch {} checksum {} extract {} use_configure no build {} set libdir ${prefix}/lib/postgresql82 set dbdir ${prefix}/var/db/postgresql82/defaultdb set logdir ${prefix}/var/log/postgresql82 set dbuser postgres set dbgrp postgres startupitem.create yes startupitem.init "PGCTL=${libdir}/bin/pg_ctl" startupitem.start "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL82DATA:=${dbdir}} start -l ${logdir}/postgres.log\"" startupitem.stop "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL82DATA:=${dbdir}} stop -s -m fast\"" destroot { addgroup ${dbgrp} set gid [existsgroup ${dbgrp}] adduser ${dbuser} shell=/bin/sh gid=${gid} home=${prefix}/var/db/postgresql82 realname=PostgreSQL-82\ Server xinstall -m 755 -d ${destroot}${logdir} system "touch ${destroot}${logdir}/postgres.log" system "chown ${dbuser}:${dbgrp} ${destroot}${logdir}/postgres.log" } post-install { ui_msg "\nTo create a database instance, after install do\n sudo mkdir -p ${dbdir}\n sudo chown ${dbuser}:${dbgrp} ${dbdir}\n sudo su ${dbuser} -c \'${libdir}/bin/initdb -D ${dbdir}\'" ui_msg "\nTo tweak your DBMS, consider increasing kern.sysv.shmmax by adding an increased kern.sysv.shmmax .. to /etc/sysctl.conf" } livecheck.check regex livecheck.url ${homepage} livecheck.regex (8.2.\[0-9\]+) If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/postgresql82-serverYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using postgresql82-server with these commands: % man postgresql82-server Where to find more information:
|
![]() |
![]() Digg postgresql82-server on MacOSX
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
aqua
archivers audio benchmarks cad comms cross databases devel editors emulators games genealogy gnome gnustep graphics irc java kde lang math multimedia net news palm perl python ruby science security shells sysutils textproc www x11 xfce zope
Current CVS DownloadsDarwin Ports Current :nightly CVS snapshot OpenDarwin CVSWeb SSH Key Gen |
|||||||
| |



