Installing FGdb

From FreekiWiki
Revision as of 17:35, 22 August 2006 by Stillflame (talk | contribs) (removing old cruft, making quickguide better)
Jump to navigation Jump to search

STOP

FGdb is in the middle of a big move, so these instructions may not work so well. Please contact User:stillflame or User:rfs to find out how to use this software.

Quick Guide

User:stillflame is putting this here to help, though there will be a shortage of details.

start with an standard sarge install.

  • Dependencies:
    • php4
    • apache
    • postgresql
    • smarty
    • libphp-adodb
    • php4-pgsql
  • Fix adodb install_path
    • echo 'include_path = ".:/usr/share/pear:/usr/share/php4:/usr/share/adodb"' >> /etc/php4/apache/php.ini
  • Install Source
  • Database
    • createlang plpgsql template1
    • create a passworded db user to do everything with, then a database to put things in
    • put all the sql files from sql/ into a database, 1.0 first, schema first
    • make sure the user can login with that password (pg_hba.conf)
  • Config
    • put conf/* into /etc/fgdb/
    • modify to taste