X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Finstall.html;h=1355a113c88ae316e9151526319f4737ca63bb9c;hb=3f0c721ee27ead3504df80addd947057e4fc4c14;hp=51dce4da57555ccb5d6644032ad32a4ee6d77ab3;hpb=66729728e57c13e44eaac51dc8deaf37e47b7530;p=freeside.git
diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html
index 51dce4da5..1355a113c 100644
--- a/httemplate/docs/install.html
+++ b/httemplate/docs/install.html
@@ -3,6 +3,7 @@
Installation
+Note: Install Freeside on a firewalled, private server, not a public (web, RADIUS, etc.) server.
Before installing, you need:
- Perl Don't enable experimental features like threads or the PerlIO abstraction layer.
@@ -13,11 +14,11 @@ Before installing, you need:
- A transactional database engine supported by Perl's DBI.
- PostgreSQL is recommended (v7or later).
-
- MySQL versions before 4.1 do not support standard SQL subqueries and are NOT SUPPORTED. If you are a developer who wishes to contribute MySQL 3.x/4.0 support, see ticket #438 in the bug-tracking system and ask on the -devel mailing list.
-
+
- MySQL MINIMUM VERSION 4.1 is untested but may work. Versions before 4.1 do not support standard SQL subqueries and are NOT SUPPORTED. If you are a developer who wishes to contribute MySQL 3.x/4.0 support, see ticket #438 in the bug-tracking system and ask on the -devel mailing list.
+
+ MySQL's default MyISAM and ISAM table types are not supported. If you want to use MySQL, you must use one of the new transaction-safe table types such as BDB or InnoDB, and set it as the default table type using the
--default-table-type=BDB
or --default-table-type=InnoDB
mysqld command-line option or by setting default-table-type=BDB
or default-table-type=InnoDB
in the my.cnf option file.
- - Perl modules (CPAN will query, download and build perl modules automatically)
+
- Perl modules (CPAN will query, download and build perl modules automatically)
- Edit the top-level Makefile:
- - Set DATASOURCE to your DBI data source, for example, DBI:Pg:dbname=freeside for PostgresSQL. See the DBI manpage and the manpage for your DBD for the exact syntax of your DBI data source.
+
- Set DATASOURCE to your DBI data source, for example, DBI:Pg:dbname=freeside for PostgresSQL or DBI:mysql:freeside for MySQL. See the DBI manpage and the manpage for your DBD for the exact syntax of your DBI data source.
- Set DB_PASSWORD to the freeside database user's password.
- Add the freeside database to your database engine:
@@ -93,10 +93,9 @@ $ su
$ su freeside
$ createdb freeside
-
- Build and install the Perl modules:
$ make perl-modules
@@ -132,8 +131,8 @@ cp htetc/global.asa /usr/local/etc/freeside/asp-global/global.asa
PerlModule Apache::ASP
<Directory /usr/local/apache/htdocs/freeside-asp>
-<Files ~ (\.cgi)>
-AddHandler perl-script .cgi
+<Files ~ (\.cgi|\.html)>
+SetHandler perl-script
PerlHandler Apache::ASP
</Files>
<Perl>
@@ -145,21 +144,25 @@ PerlSetVar Debug 2
- - (use version 1.0x - Freeside is not yet compatible with version 1.1x)
- Run make masondocs
-
- Copy masondocs/ to your web server's document space.
-
- Copy htetc/handler.pl to your web server's configuration directory.
-
- Edit handler.pl and set an appropriate data_dir, such as /usr/local/etc/freeside/mason-data
+
- Copy masondocs/ to your web server's document space. (For example: /usr/local/apache/htdocs/freeside-mason)
+
- Copy htetc/handler.pl to /usr/local/etc/freeside
+
- Edit handler.pl and:
+
+ - set an appropriate comp_root, such as /usr/local/apache/htdocs/freeside-mason
+
- set an appropriate data_dir, such as /usr/local/etc/freeside/masondata
+
+
- Configure Apache to use the handler.pl file and to execute .cgi files using HTML::Mason. For example:
PerlModule HTML::Mason
<Directory /usr/local/apache/htdocs/freeside-mason>
-<Files ~ (\.cgi)>
-AddHandler perl-script .cgi
+<Files ~ (\.cgi|.html)>
+SetHandler perl-script
PerlHandler HTML::Mason
</Files>
<Perl>
-require "/usr/local/apache/conf/handler.pl";
+require "/usr/local/etc/freeside/handler.pl";
</Perl>
</Directory>
|