User manual
Chapter 3
Testing zebrasry
The zebrasry program is usually installed under /usr /bin and you should be able
to invoke it from any folder location.
The zebrasry command
To learn more about how zebrasry is used, we run the command with the -help or
-h option:
linux -4yut: /home /koha # sudo zebrasry - -help
Usage: zebrasry
[ -a <pdufile> -v <loglevel> -1 <logfile> -u <user> -c
<config> -t <minutes> -k <kilobytes> -d <daemon> -p <pidfile> -C
certfile - ziDST1 -m <time - format> -w <directory> <listener -addr>...
]
To learn more about each option, use the man command:
linux -4yut: /home /koha # man zebrasry
Invoking zebrasry with Koha's configuration file
To make zebrasry use Koha's configuration file we use the -f option:
linux -4yut: /home /koha # sudo zebrasry -f /etc /koha -dev /etc /koha -conf.xml
The process starts in the shell foreground and waits for search queries to serve:
14:25:24 -22/04 [log] Loaded filter module
/usr /lib /idzebra -2.0 /modules /mod -text.so
14:25:24 -22/04 [server] Adding dynamic listener on
unix:/ etc /koha -dev /var /run /zebradb /bibliosocket id =1
14:25:24 -22/04 [server] Adding dynamic listener on
unix:/ etc /koha -dev /var /run /zebradb /authoritysocket id =2
14:25:24 -22/04 [server] Starting server zebrasry pid =11088
To stop the server and to exit to the Linux shell, use Ctrl +C to:
^c
linux-4yut:/home/koha #
[43]