Installing FGdb

From FreekiWiki
Revision as of 22:35, 27 September 2006 by Stillflame (talk | contribs) (thanks jeff)
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:/usr/share:/usr/share/php"' >> /etc/php4/apache/php.ini
  • Template compile directory
    • mkdir /usr/share/php/smarty/lib*/compile
    • chown www-data:www-data /usr/share/php/smarty/lib*/compile
  • 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