X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htdocs%2Fdocs%2Finstall.html;h=b5cae1ba565e5790a888e4d7617f45c4877e7bae;hb=07d8271c8f91e6a2b34b33133ef22aad96e834ad;hp=5db8f2e4ee747ac6806152decbe26e85d9b4c1ed;hpb=b58d8054d384ac50989bda5851c9c3a80d5d05b3;p=freeside.git
diff --git a/htdocs/docs/install.html b/htdocs/docs/install.html
index 5db8f2e4e..b5cae1ba5 100644
--- a/htdocs/docs/install.html
+++ b/htdocs/docs/install.html
@@ -6,19 +6,21 @@
Before installing, you need:
- A web server, such as Apache-SSL or Apache
-
- SSH
-
- Perl (at least 5.004_04 for the 5.004 series or 5.005_03 for the 5.005 series. Don't enable experimental features like threads or the PerlIO abstraction layer.)
-
- A database engine supported by Perl's DBI, such as MySQL or PostgreSQL (see the PostgreSQL notes)
-
- Perl modules
+
- SSH
+
- Perl (at least 5.004_05 for the 5.004 series or 5.005_03 for the 5.005 series. Don't enable experimental features like threads or the PerlIO abstraction layer.)
+
- A database engine supported by Perl's DBI, such as MySQL or PostgreSQL (verstion 6.5 or higher) (see the PostgreSQL notes)
+
- Perl modules (CPAN will query, download and build perl modules automatically)
- Array-PrintCols
-
- Term-Query
+
- Term-Query (make test broken; install manually)
- MIME-Base64
- Data-Dumper
- Digest-MD5
- URI
- HTML-Parser
- libnet
+
- Locale-Codes
+
- Net-Whois
- libwww-perl
- Business-CreditCard
- Data-ShowTable
@@ -35,11 +37,22 @@ Before installing, you need:
Install the Freeside distribution:
- Add the user `freeside' to your system.
-
- Add the freeside database to your database engine. (with MySQL) (with PostgreSQL)
-
- Allow the freeside user full access to the freeside database. (with MySQL) (with PostgreSQL)
+
- Add the freeside database to your database engine. (with MySQL) (with PostgreSQL)
+
- Allow the freeside user full access to the freeside database.
+
+ - with MySQL:
$ mysqladmin -u root password 'set_a_root_database_password'
+$ mysql -u root -p
+mysql> GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP on freeside.* TO freeside@localhost IDENTIFIED BY 'set_a_freeside_database_password';
+ - with PostgreSQL
+
- Unpack the tarball:
gunzip -c fs-x.y.z.tar.gz | tar xvf -
- - Copy or link fs-x.y.z/site_perl to FS in your site_perl directory. (try `
perl -V
' if unsure) mkdir /usr/local/lib/site_perl/FS
-cp fs-x.y.z/site_perl/* /usr/local/lib/site_perl/FS
or ln -s /full/path/to/fs-x.y.z/site_perl /usr/local/lib/site_perl/FS
+ - Build and install the Perl libraries:
+
+$ cd FS/
+$ perl Makefile.PL
+$ make
+$ su
+# make install
- Copy or link fs-x.y.z/htdocs to your web server's document space.
mkdir /usr/local/apache/htdocs/freeside
cp -r fs-x.y.z/htdocs/* /usr/local/apache/htdocs/freeside
or ln -s /full/path/to/fs-x.y.z/htdocs /usr/local/apache/htdocs/freeside
- Restrict access to this web interface. (with Apache)