Ignore:
Timestamp:
11/16/11 16:28:37 (13 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Prep-for-release cleanup of buglets found making sure the demo
install works

  • Clean up instructions for creating the database. Apparently the PL/pgSQL "language" module required for the last-modified triggers can't be installed by a regular user, and isn't available by default. O_o
  • Fix a missed $IPDB::webpath-in-single-quotes
  • Add a quick hack to allow automagical allocation from private net ranges. See #38.
  • Partially convert some critical bits to use bound parameters in SQL for new allocations. See #34, mostly cleaned up already on /trunk or /branches/htmlform
  • Set $privdata = internally so that an allocation via admin tools doesn't error out
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/INSTALL

    r507 r508  
    6161  b) Edit CustIDCK.pm as needed to validate customer IDs.
    6262
    63 4) As a Postgres superuser, create a database user and the database.
    64 Create the inital tables using cgi-bin/ipdb.psql.
     634) As a Postgres superuser, create a database user and the database:
     64
     65shell> psql template1
     66pg# create user ipdb with password "ipdbpwd";
     67pg# create database ipdb owner ipdb;
     68
     69Add the PL/pgSQL language to the database.  This is not strictly
     70necessary but there are triggers on the poolips and allocations table
     71to automatically update a last-modified column.
     72
     73pg# \c ipdb
     74pg# create language plpgsql
     75
     76Create the inital tables using cgi-bin/ipdb.psql:
     77
     78shell> psql -U ipdb ipdb <cgi-bin/ipdb.psql
    6579
    66805) Configure your webserver to call the IPDB scripts at an appropriate
Note: See TracChangeset for help on using the changeset viewer.