X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Finstall.html;h=d4507a2a5dae86dac886dd5b37a21678f2b4d898;hb=a01faeb3a6b823c97535782f072c455298a4ffc7;hp=53eb8f8562bda37be791a81d92d7a4c4ee8fdcdd;hpb=2e1ca65dcfcf6a8ef41a10e15e3d20200ffc871a;p=freeside.git diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html index 53eb8f856..d4507a2a5 100644 --- a/httemplate/docs/install.html +++ b/httemplate/docs/install.html @@ -3,28 +3,37 @@
--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.
+ $ mysqladmin -u root password 'set_a_root_database_password' +
+$ su postgres (pgsql on some distributions) +$ createuser -P freeside +Enter password for user "freeside": +Enter it again: +Shall the new user be allowed to create databases? (y/n) y +Shall the new user be allowed to create more new users? (y/n) n +CREATE USER+
+$ 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';-
gunzip -c fs-x.y.z.tar.gz | tar xvf --
+$ su +# make create-database+ (or manually, with Postgres:) +
+$ su freeside +$ createdb freeside+ (with MySQL:) +
+$ mysqladmin -u freeside -p create freeside+
-$ cd FS/ -$ perl Makefile.PL -$ make +$ make perl-modules $ su -# make install UNINST=1-
+$ su +# make create-config ++
|
|
+<Directory /usr/local/apache/htdocs/freeside-asp> +AuthName Freeside +AuthType Basic +AuthUserFile /usr/local/etc/freeside/htpasswd +require valid-user +</Directory> ++
$ su +$ freeside-adduser -c -h /usr/local/etc/freeside/htpasswd username+
$ su +$ freeside-adduser -h /usr/local/etc/freeside/htpasswd username+
+$ su freeside +$ freeside-setup username ++ Alternately, use the -s option to enable shipping addresses: freeside-setup -s username +
+$ su freeside +$ cd /path/to/freeside/ +$ bin/populate-msgcat username ++