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:
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;
(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
(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
$ 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
==============================================