diff options
author | ivan <ivan> | 2002-09-25 09:11:13 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-09-25 09:11:13 +0000 |
commit | 25fdab941288302f1aa8063d4e237f62876c59b8 (patch) | |
tree | 166a07104037e9c2312bbba98d249ce114eba7a1 | |
parent | 7445e66a13a90015eb100d22aab90d0bc1c92ccd (diff) |
doc
-rw-r--r-- | Makefile | 17 | ||||
-rw-r--r-- | httemplate/docs/install.html | 9 |
2 files changed, 19 insertions, 7 deletions
@@ -11,18 +11,31 @@ TEMPLATE = asp ASP_GLOBAL = /usr/local/etc/freeside/asp-global +#deb, others? FREESIDE_DOCUMENT_ROOT = /var/www/freeside +#freebsd +#FREESIDE_DOCUMENT_ROOT = /usr/local/www/data/freeside +#deb, others? INIT_FILE = /etc/init.d/freeside +#freebsd +#INIT_FILE = /usr/local/etc/rc.d/011.freeside.sh +#deb, others? HTTPD_RESTART = /etc/init.d/apache restart -FREESIDE_RESTART = /etc/init.d/freeside restart +#freebsd +#HTTPD_RESTART = /usr/local/etc/rc.d/apache.sh stop; sleep 1; /usr/local/etc/rc.d/apache.sh start +FREESIDE_RESTART = $INIT_FILE restart + +#deb, others? INSTALLGROUP = root +#freebsd +INSTALLGROUP = wheel #edit the stuff below to have the daemons start -QUEUED_USER=ivan +QUEUED_USER=fs_queue #eventually this shouldn't be needed FREESIDE_PATH = `pwd` diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html index e6f4edbbc..3d19e4d35 100644 --- a/httemplate/docs/install.html +++ b/httemplate/docs/install.html @@ -64,7 +64,7 @@ Install the Freeside distribution: <ul> <li> with <a href="http://www.postgresql.org/users-lounge/docs/7.1/postgres/user-manag.html#DATABASE-USERS">PostgreSQL</a>: <pre> -$ su postgres +$ su postgres (pgsql on some distributions) $ createuser -P freeside Enter password for user "freeside": Enter it again: @@ -81,7 +81,7 @@ mysql> GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP on freeside.* T <!-- <li>Unpack the tarball: <pre>gunzip -c fs-x.y.z.tar.gz | tar xvf -</pre>--> <li>Edit the top-level Makefile: <ul> - <li>Set <tt>DATASOURCE</tt> to your <a href="http://search.cpan.org/doc/TIMB/DBI-1.28/DBI.pm">DBI data source</a>, for example, <tt>DBI:Pg:host=localhost;dbname=freeside</tt> for PostgresSQL<!-- or <tt>DBI:mysql:freeside</tt> for MySQL-->. See the <a href="http://search.cpan.org/doc/TIMB/DBI-1.28/DBI.pm">DBI manpage</a> and the <a href="http://search.cpan.org/search?mode=module&query=DBD%3A%3A">manpage for your DBD</a> for the exact syntax of your DBI data source. + <li>Set <tt>DATASOURCE</tt> to your <a href="http://search.cpan.org/doc/TIMB/DBI-1.28/DBI.pm">DBI data source</a>, for example, <tt>DBI:Pg:dbname=freeside</tt> for PostgresSQL<!-- or <tt>DBI:mysql:freeside</tt> for MySQL-->. See the <a href="http://search.cpan.org/doc/TIMB/DBI-1.28/DBI.pm">DBI manpage</a> and the <a href="http://search.cpan.org/search?mode=module&query=DBD%3A%3A">manpage for your DBD</a> for the exact syntax of your DBI data source. <li>Set <tt>DB_PASSWORD</tt> to the freeside database user's password. </ul> <li>Add the freeside database to your database engine: @@ -164,7 +164,6 @@ require "/usr/local/apache/conf/handler.pl"; <li>Restrict access to this web interface - see the <a href="http://httpd.apache.org/docs/misc/FAQ.html#user-authentication">Apache documentation on user authentication</a>. For example, to configure user authentication with <a href="http://httpd.apache.org/docs/mod/mod_auth.html">mod_auth</a> (flat files): <pre> <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 @@ -181,7 +180,7 @@ $ <a href="man/bin/freeside-adduser.html">freeside-adduser</a> -c -h /usr/local/ $ <a href="man/bin/freeside-adduser.html">freeside-adduser</a> -h /usr/local/etc/freeside/htpasswd <i>username</i></pre></font> </ul> <i>(using other auth types, add each user to your <a href="http://httpd.apache.org/docs/misc/FAQ.html#user-authentication">Apache authentication</a> and then run: <tt>freeside-adduser <b>username</b></tt></i> - <li>As the freeside UNIX user, run <tt>freeside--setup <b>username</b></tt> (in the untar'ed freeside directory) to create the database tables, passing the username of a Freeside user you created above: + <li>As the freeside UNIX user, run <tt>freeside-setup <b>username</b></tt> to create the database tables, passing the username of a Freeside user you created above: <pre> $ su freeside $ freeside-setup <b>username</b> @@ -190,7 +189,7 @@ $ freeside-setup <b>username</b> <li>As the freeside UNIX user, run <tt>bin/populate-msgcat <b>username</b></tt> (in the untar'ed freeside directory) to populate the message catalog, passing the username of a Freeside user you created above: <pre> $ su freeside -$ cd <b>/path/to/freeside-1.4.0/</b> +$ cd <b>/path/to/freeside/</b> $ bin/populate-msgcat <b>username</b> </pre> <li><tt>freeside-queued</tt> 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 <tt>make install-init</tt>) |