Difference between revisions of "Installing FGdb"
Jump to navigation
Jump to search
Stillflame (talk | contribs) m (→Quick Guide) |
Stillflame (talk | contribs) (removing old cruft, making quickguide better) |
||
Line 1: | Line 1: | ||
=STOP= | =STOP= | ||
− | [[FGdb]] is in the middle of a big move, so these instructions | + | [[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= | =Quick Guide= | ||
[[User:stillflame]] is putting this here to help, though there will be a shortage of details. | [[User:stillflame]] is putting this here to help, though there will be a shortage of details. | ||
+ | |||
+ | start with an standard sarge install. | ||
+ | |||
* Dependencies: | * Dependencies: | ||
** php4 | ** php4 | ||
Line 11: | Line 14: | ||
** libphp-adodb | ** libphp-adodb | ||
** php4-pgsql | ** 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 | ||
+ | ** svn co http://svn.freegeek.org/svn/fgdb/trunk/ /var/www/fgdb | ||
* Database | * Database | ||
− | ** put all the sql files from sql/ into a 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 | * Config | ||
** put conf/* into /etc/fgdb/ | ** put conf/* into /etc/fgdb/ | ||
** modify to taste | ** modify to taste | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category: Coders]] | [[Category: Coders]] |
Revision as of 17:35, 22 August 2006
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
- svn co http://svn.freegeek.org/svn/fgdb/trunk/ /var/www/fgdb
- 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