X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Finstall.html;h=93bb2492055ca0c3c5faa2b31dbbd9317c7a7481;hb=00c61e51058e44a07ea3a47acffba4a0e294d4fb;hp=4d723119d4bb7070347b433e1f66d940ccac2440;hpb=547368c36357ea54ec634b9b019240c1278326b7;p=freeside.git
diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html
index 4d723119d..93bb24920 100644
--- a/httemplate/docs/install.html
+++ b/httemplate/docs/install.html
@@ -47,7 +47,7 @@ Before installing, you need:
Net-SSH
String-ShellQuote
Net-SCP
- Apache::ASP or HTML::Mason (use version 1.0x - Freeside is not yet compatible with version 1.1x)
+ Apache::ASP or HTML::Mason
Tie-IxHash
Time-Duration
HTML-Widgets-SelectLayers
@@ -63,7 +63,7 @@ Install the Freeside distribution:
- with PostgreSQL:
-$ su postgres
+$ su postgres (pgsql on some distributions)
$ createuser -P freeside
Enter password for user "freeside":
Enter it again:
@@ -79,7 +79,7 @@ mysql> GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP on freeside.* T
- Edit the top-level Makefile:
- - Set DATASOURCE to your DBI data source, for example, DBI:Pg:host=localhost;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 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:
@@ -141,11 +141,10 @@ 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 htetc/handler.pl to an appropriate directory (use htetc/handler.pl-1.0x for Mason versions before 1.10).
+
- Edit handler.pl and 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
@@ -155,7 +154,7 @@ AddHandler perl-script .cgi
PerlHandler HTML::Mason
</Files>
<Perl>
-require "/usr/local/apache/conf/handler.pl";
+require "/usr/local/etc/freeside/handler.pl";
</Perl>
</Directory>
@@ -166,7 +165,6 @@ require "/usr/local/apache/conf/handler.pl";
- Restrict access to this web interface - see the Apache documentation on user authentication. For example, to configure user authentication with mod_auth (flat files):
<Directory /usr/local/apache/htdocs/freeside-asp>
-PerlSetVar Global /usr/local/etc/freeside/asp-global/
AuthName Freeside
AuthType Basic
AuthUserFile /usr/local/etc/freeside/htpasswd
@@ -192,7 +190,7 @@ $ bin/fs-setup username
- As the freeside UNIX user, run bin/populate-msgcat username (in the untar'ed freeside directory) to populate the message catalog, passing the username of a Freeside user you created above:
$ su freeside
-$ cd /path/to/freeside-1.4.0/
+$ cd /path/to/freeside/
$ bin/populate-msgcat username
- freeside-queued was installed with the Perl modules. Start it now and ensure that is run upon system startup (Do this manually, or edit the top-level Makefile, replacing INIT_FILE with the appropriate location on your systemand QUEUED_USER with the username of a Freeside user you created above, and run make install-init)
|