Fix for 1704, now if autoitemreturns is off you get a dialogue warning a
[koha-ffzg.git] / README.debian
index 416b1f4..f6a6aeb 100644 (file)
@@ -64,6 +64,9 @@ Note: for more information about Git, please see the Koha Git Usage Guide:
 
 1.4 Install additional Debian dependencies
 
+IMPORTANT:  You should only use CPAN for Perl dependencies which are NOT available from the package maintainer.
+            You have been warned!
+
 Using the debian.packages file included in the Koha source tree,
 run the following:
 
@@ -127,7 +130,7 @@ When the configuration is completed CPAN will install the Perl modules.
     mysql> create database <kohadatabasename>;
     Query OK, 1 row affected (0.00 sec)
 
-    mysql> grant all on <kohadatabasename>.* to <kohadatabaseuser> identified by '<kohadatabaseuserpassword>';
+    mysql> grant all on <kohadatabasename>.* to '<kohadatabaseuser>'@'localhost' identified by '<kohadatabaseuserpassword>';
     Query OK, 0 rows affected (0.00 sec)
 
     mysql> flush privileges;
@@ -148,6 +151,13 @@ When the configuration is completed CPAN will install the Perl modules.
     (note that the path to koha-httpd.conf may be different depending on your
     installation choices)
 
+Add the following lines to /etc/apache2/ports.conf:
+
+    Listen 80
+    Listen 8080
+
+Run the following commands:
+
     $ sudo a2enmod rewrite
     $ sudo a2ensite koha
     $ sudo apache2ctl restart
@@ -170,9 +180,16 @@ Option 1: run the Zebra processes from the command line:
     (note that the path to koha-conf.xml may be different depending on your
     installation choices)
 
+    Note: the user you run Zebra as will be the only user with write permission
+    on the Zebra index; in development mode, you may wish to use your system
+    user.
+
     Zebraqueue Daemon:
     $ sudo -u ${KOHA_USER} misc/bin/zebraqueue_daemon.pl
 
+    Note: if you are running in this mode, you may wish to defer starting the
+    zebraqueue until you've run the web installer (see below).
+
 Option 2: run the Zebra processes as daemons, and add to startup process:
 
 Note that references to $SCRIPT_DIR refer to the directory where
@@ -211,7 +228,17 @@ Uninstall Instructions
    $ sudo rm /etc/init.d/koha-zebra-daemon
    $ sudo rm /etc/init.d/koha-zebraqueue-daemon
 
-2. Remove Koha Install Directories
+2) Remove Koha Database
+
+   # MySQL
+   $ mysql -u<kohauser> -p<kohapassword>
+   > drop database koha;
+
+   # Zebra Indexes
+   $ zebraidx -c <prefix>/etc/zebradb/zebra-biblios.cfg -g iso2709 -d biblios init
+   $ zebraidx -c <prefix>/etc/zebradb/zebra-authorities.cfg -g iso2709 -d authorities init
+
+3) Remove Koha Install Directories
 
 Tested on the following operating environments
 ==============================================