|
Lines 11-17
Modified for Ubuntu by: Chris Nighswonger (cnighswonger AT foundations DOT edu)
Link Here
|
| 11 |
Feedback/bug reports: Koha Developer's List: |
11 |
Feedback/bug reports: Koha Developer's List: |
| 12 |
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel |
12 |
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel |
| 13 |
|
13 |
|
| 14 |
This document last modified: 11 Sep 2010 |
14 |
This document last modified: 20 Marchp 2012 |
| 15 |
|
15 |
|
| 16 |
Installation Instructions |
16 |
Installation Instructions |
| 17 |
============================= |
17 |
============================= |
|
Lines 217-223
To add a user do:
Link Here
|
| 217 |
|
217 |
|
| 218 |
Option 1: run the Zebra processes from the command line: |
218 |
Option 1: run the Zebra processes from the command line: |
| 219 |
|
219 |
|
| 220 |
1.1 Zebra Search Server |
220 |
5.1.1 Zebra Search Server |
| 221 |
|
221 |
|
| 222 |
This process send responses to search requests sent by Koha or |
222 |
This process send responses to search requests sent by Koha or |
| 223 |
Z39.50/SRU/SRW clients. |
223 |
Z39.50/SRU/SRW clients. |
|
Lines 230-236
Note: the user you run Zebra as will be the only user with write permission
Link Here
|
| 230 |
on the Zebra index; in development mode, you may wish to use your |
230 |
on the Zebra index; in development mode, you may wish to use your |
| 231 |
system user. |
231 |
system user. |
| 232 |
|
232 |
|
| 233 |
1.2 Zebra Indexer |
233 |
5.1.2 Zebra Indexer |
| 234 |
|
234 |
|
| 235 |
Added/updated/deleted records in Koha MySQL database must be indexed |
235 |
Added/updated/deleted records in Koha MySQL database must be indexed |
| 236 |
into Zebra. A specific script must be launched each time a bibliographic |
236 |
into Zebra. A specific script must be launched each time a bibliographic |
|
Lines 244-250
Option 2: run the Zebra process as a daemon, and add to startup process:
Link Here
|
| 244 |
Note that references to $SCRIPT_DIR refer to the directory where |
244 |
Note that references to $SCRIPT_DIR refer to the directory where |
| 245 |
Koha's command-line scripts are installed, e.g., /usr/share/koha/bin. |
245 |
Koha's command-line scripts are installed, e.g., /usr/share/koha/bin. |
| 246 |
|
246 |
|
| 247 |
1.1 Zebra Search Server |
247 |
5.2.1 Zebra Search Server |
| 248 |
|
248 |
|
| 249 |
$ sudo ln -s ${SCRIPT_DIR}/koha-zebra-ctl.sh /etc/init.d/koha-zebra-daemon |
249 |
$ sudo ln -s ${SCRIPT_DIR}/koha-zebra-ctl.sh /etc/init.d/koha-zebra-daemon |
| 250 |
(Note: ${SCRIPT_DIR} is /usr/share/koha/bin/ by default in a standard install) |
250 |
(Note: ${SCRIPT_DIR} is /usr/share/koha/bin/ by default in a standard install) |
|
Lines 253-259
Koha's command-line scripts are installed, e.g., /usr/share/koha/bin.
Link Here
|
| 253 |
|
253 |
|
| 254 |
$ sudo ${SCRIPT_DIR}/koha-zebra-ctl.sh start |
254 |
$ sudo ${SCRIPT_DIR}/koha-zebra-ctl.sh start |
| 255 |
|
255 |
|
| 256 |
1.2 Zebra Indexer |
256 |
5.2.2 Zebra Indexer |
| 257 |
|
257 |
|
| 258 |
Add an entry in Koha user crontab to scheduled added/updated/deleted records |
258 |
Add an entry in Koha user crontab to scheduled added/updated/deleted records |
| 259 |
indexing by Zebra with this command: |
259 |
indexing by Zebra with this command: |
|
Lines 263-268
indexing by Zebra with this command:
Link Here
|
| 263 |
See check misc/cronjobs/crontab.example for usage examples. |
263 |
See check misc/cronjobs/crontab.example for usage examples. |
| 264 |
NOTE: This job should be setup under the kohauser (the default is 'koha'). |
264 |
NOTE: This job should be setup under the kohauser (the default is 'koha'). |
| 265 |
|
265 |
|
|
|
266 |
You can also indexing in background, see: http://wiki.koha-community.org/wiki/Background_indexing_with_Zebra |
| 267 |
|
| 266 |
6. Run the Web Installer, populate the database, initial configuration of settings |
268 |
6. Run the Web Installer, populate the database, initial configuration of settings |
| 267 |
|
269 |
|
| 268 |
Point your browser to http://<servername>:8080/ |
270 |
Point your browser to http://<servername>:8080/ |
|
Lines 296-301
NOTE: This job should be setup under the kohauser (the default is 'koha').
Link Here
|
| 296 |
You need to run rebuild_zebra.pl -b -a -z as a regular cron job in orde to pick up new bibs |
298 |
You need to run rebuild_zebra.pl -b -a -z as a regular cron job in orde to pick up new bibs |
| 297 |
and items as you add them. Check misc/cronjobs/crontab.example for usage examples. See 7.0 above. |
299 |
and items as you add them. Check misc/cronjobs/crontab.example for usage examples. See 7.0 above. |
| 298 |
NOTE: This job should be setup under the kohauser (the default is 'koha'). |
300 |
NOTE: This job should be setup under the kohauser (the default is 'koha'). |
|
|
301 |
|
| 302 |
You can also indexing in background, see 5.2.2 above |
| 299 |
|
303 |
|
| 300 |
7.4 To enable public Z39.50/SRU servers, you'll need to edit your koha-conf.xml and |
304 |
7.4 To enable public Z39.50/SRU servers, you'll need to edit your koha-conf.xml and |
| 301 |
change the <listen> options to listen on a TCP port; then restart the zebra daemon. |
305 |
change the <listen> options to listen on a TCP port; then restart the zebra daemon. |
| 302 |
- |
|
|