User manual

Installing Koha's Zebra Search Engine
Installing Koha with Zebra
You might have already installed Koha with Zebra. If you had
installed Zebra packages before installing Koha and had selected
yes to the question Install the Zebra configuration files ?, then you
can skip this section.
Once Zebra packages are installed we need to install Koha. This installation process
creates Zebra related configuration files and installs them in Koha's configuration
folder, in our case
/etc /koha -dev/.
To install Koha with Zebra, we run Koha
Makefile. PL program:
koha @linux: /home /koha /kohaclone # perl Makefile.PL
Say
yes
to this question on installing Zebra configuration files:
Install the Zebra configuration files? (no, yes)
[yes]
We then run the other make commands complete the installation of Koha with
Zebra:
koha @1i190 -245: -/kohaclone$ make
koha @1i190 -245: -/kohaclone$ make test
koha @li190 -245:- /kohaclone$ sudo make install
If you have had to reinstall Koha, you may need to reconfigure Apache2
(see Chapter 2) as the Koha installation process may have overwritten the
Apache2 configuration file you created.
Testing Zebra
Now that we have installed Zebra, let us try out the
zebrasry
command and the
rebuild_zebra .pl program.
We will learn how to execute the
zebrasry
command from the Linux shell and as
a daemon. On production systems
zebrasry
is usually run as a daemon that runs
silently in the background.
The
rebuild_zebra .
pl command can also be executed from the Linux shell.
On production systems however the program is scheduled to run in the crontab.
[42]