NAME

Foorum::Manual::INSTALL - install Foorum

Steps

Database

MySQL and SQLite are supported with tests while PostgreSQL are still marked as EXPERIMENTAL.

MySQL

* mysql -uroot -p
* mysql> CREATE DATABASE foorum;
* mysql> CREATE DATABASE theschwartz;
* mysql> exit;
* mysql -uroot -p foorum < bin/db/foorum.sql
* mysql -uroot -p theschwartz < bin/db/theschwartz.sql

SQLite

Download sqlite3 from http://www.sqlite.org/download.html

* sqlite3 foorum.db
* sqlite> .read bin/db/foorum.sqlite.sql
* sqlite> .read bin/db/theschwartz.sqlite.sql
* sqlite> .quit

PostgreSQL (EXPERIMENTAL)

files are bin/db/foorum.pg.sql and bin/db/theschwartz.pg.sql

USE IT AT YOUR OWN RISK.

Perl

* perl bin/setup.pl
* perl Makefile.PL; make; make test; make realclean;
* perl bin/foorum_server.pl

Apache Configure

* remember set Options -Index in $Foorum/root/upload, so that nobody can view /upload URL

$ vim Foorum/root/upload/.htaccess
Options -Indexes

SEE ALSO

Foorum::Manual::Configure, Foorum::Manual::TroubleShooting