View | Details | Raw Unified | Return to bug 7759
Collapse All | Expand All

(-)a/INSTALL (+1 lines)
Lines 128-133 WHAT NEXT? Link Here
128
4. Schedule regular index updates
128
4. Schedule regular index updates
129
    run rebuild_zebra.pl -b -a -z as a regular cron job, check misc/cronjobs/crontab.example
129
    run rebuild_zebra.pl -b -a -z as a regular cron job, check misc/cronjobs/crontab.example
130
    for usage examples
130
    for usage examples
131
    You can also setup indexing in background, see http://wiki.koha-community.org/wiki/Background_indexing_with_Zebra
131
132
132
5. To enable public Z39.50/SRU servers, you'll need to edit your koha-conf.xml and
133
5. To enable public Z39.50/SRU servers, you'll need to edit your koha-conf.xml and
133
    change the <listen> options to listen on a TCP port; then restart the zebra daemon.
134
    change the <listen> options to listen on a TCP port; then restart the zebra daemon.
(-)a/INSTALL.debian (-3 / +7 lines)
Lines 8-14 Some parts copyright 2011 MJ Ray and software.coop Link Here
8
Feedback/bug reports: Koha Developer's List:
8
Feedback/bug reports: Koha Developer's List:
9
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
9
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
10
10
11
This document last modified: 2011-06-19
11
This document last modified: 2012-March-20
12
12
13
Installation Instructions
13
Installation Instructions
14
=============================
14
=============================
Lines 280-285 For Zebra indexing, you are looking for the example that begins with Link Here
280
280
281
It may be easiest to copy/paste the example into your own crontab and modify as necessary.
281
It may be easiest to copy/paste the example into your own crontab and modify as necessary.
282
282
283
You can also indexing in background, see: http://wiki.koha-community.org/wiki/Background_indexing_with_Zebra
284
283
285
284
7. What next?
286
7. What next?
285
287
Lines 306-316 Authority data in MARC21 format Link Here
306
    Once the indexing has completed, you will be able to search for records in your system.
308
    Once the indexing has completed, you will be able to search for records in your system.
307
    NOTE: This script should be run as the kohauser (the default is 'koha', this is the user we set up in step 2.3).
309
    NOTE: This script should be run as the kohauser (the default is 'koha', this is the user we set up in step 2.3).
308
310
309
7.3 Schedule regular index updates
311
7.3 Schedule regular index updates or setup indexing in background
310
    You need to run rebuild_zebra.pl -b -a -z as a regular cron job in orde to pick up new bibs
312
    You need to run rebuild_zebra.pl -b -a -z as a regular cron job in orde to pick up new bibs
311
    and items as you add them. Check misc/cronjobs/crontab.example for usage examples. See 7.0 above.
313
    and items as you add them. Check misc/cronjobs/crontab.example for usage examples. See 7.0 above.
312
    NOTE: This job should be setup under the kohauser (the default is 'koha', this is the user we set up in step 2.3).
314
    NOTE: This job should be setup under the kohauser (the default is 'koha', this is the user we set up in step 2.3).
313
315
    
316
    To setup indexing in background see 6.2.2 
317
    
314
7.4 To enable public Z39.50/SRU servers, you'll need to edit your koha-conf.xml and
318
7.4 To enable public Z39.50/SRU servers, you'll need to edit your koha-conf.xml and
315
    change the <listen> options to listen on a TCP port; then restart the zebra daemon.
319
    change the <listen> options to listen on a TCP port; then restart the zebra daemon.
316
320
(-)a/INSTALL.fedora7 (+5 lines)
Lines 1-3 Link Here
1
THIS FILE IS TOO OLD AND NOT UPDATED.
2
CHECK KOHA WIKI:http://wiki.koha-community.org
3
CHECK OTHERS INSTALL FILES
4
ASK IN KOHA MAILING LIST
5
1
=============================
6
=============================
2
Installation Guide for Installing Koha on Fedora Core 7
7
Installation Guide for Installing Koha on Fedora Core 7
3
=============================
8
=============================
(-)a/INSTALL.opensuse (-1 / +23 lines)
Lines 9-15 Feedback/bug reports: Koha Developer's List: Link Here
9
9
10
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
10
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
11
11
12
This document last modified: 15 Oct 2010
12
This document last modified: 20 Mar 2012
13
13
14
== Installation Instructions ==
14
== Installation Instructions ==
15
15
Lines 1355-1357 If not you may have forgotten to open the 8080 port. Link Here
1355
1355
1356
You may now login with your koha administrator username and password and reply to the several questions you will be asked.
1356
You may now login with your koha administrator username and password and reply to the several questions you will be asked.
1357
1357
1358
== Add Zebra Indexer ==
1359
1360
Add an entry in Koha user crontab to process scheduled added/updated/deleted records
1361
indexing by Zebra. <script_dir>cronjobs/crontab.example contains examples for these cron jobs (and many more).
1362
1363
NOTE: The cronjobs should be setup under the kohauser (the default is 'koha', but
1364
this is the user you set up in section 'Create the Koha User and Group').
1365
1366
Edit the crontab for the koha user by running
1367
    $ sudo -u <kohauser> crontab -e
1368
1369
For Zebra indexing, you are looking for the example that begins with
1370
    
1371
    # ZEBRA INDEX UPDATES with -z option, incremental index updates throughout the day
1372
    # for both authorities and bibs
1373
1374
It may be easiest to copy/paste the example into your own crontab and modify as necessary.
1375
1376
You can also indexing in background, see: http://wiki.koha-community.org/wiki/Background_indexing_with_Zebra
1377
1378
1379
(-)a/INSTALL.ubuntu (-5 / +9 lines)
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: 19 May 2010
14
This document last modified: 20 March 2010
15
15
16
Installation Instructions
16
Installation Instructions
17
=============================
17
=============================
Lines 283-289 To add a user do: Link Here
283
283
284
Option 1: run the Zebra processes from the command line:
284
Option 1: run the Zebra processes from the command line:
285
285
286
1.1 Zebra Search Server
286
5.1.1 Zebra Search Server
287
287
288
This process send responses to search requests sent by Koha or
288
This process send responses to search requests sent by Koha or
289
Z39.50/SRU/SRW clients.
289
Z39.50/SRU/SRW clients.
Lines 296-302 Note: the user you run Zebra as will be the only user with write permission Link Here
296
      on the Zebra index; in development mode, you may wish to use your
296
      on the Zebra index; in development mode, you may wish to use your
297
      system user.
297
      system user.
298
298
299
1.2 Zebra Indexer
299
5.1.2 Zebra Indexer
300
300
301
Added/updated/deleted records in Koha MySQL database must be indexed
301
Added/updated/deleted records in Koha MySQL database must be indexed
302
into Zebra. A specific script must be launched each time a bibliographic
302
into Zebra. A specific script must be launched each time a bibliographic
Lines 310-316 Option 2: run the Zebra process as a daemon, and add to startup process: Link Here
310
Note that references to $SCRIPT_DIR refer to the directory where
310
Note that references to $SCRIPT_DIR refer to the directory where
311
Koha's command-line scripts are installed, e.g., /usr/share/koha/bin.
311
Koha's command-line scripts are installed, e.g., /usr/share/koha/bin.
312
312
313
1.1 Zebra Search Server
313
5.2.1 Zebra Search Server
314
314
315
    $ sudo ln -s ${SCRIPT_DIR}/koha-zebra-ctl.sh  /etc/init.d/koha-zebra-daemon
315
    $ sudo ln -s ${SCRIPT_DIR}/koha-zebra-ctl.sh  /etc/init.d/koha-zebra-daemon
316
    (Note: ${SCRIPT_DIR} is /usr/share/koha/bin/ by default in a standard install)
316
    (Note: ${SCRIPT_DIR} is /usr/share/koha/bin/ by default in a standard install)
Lines 319-325 Koha's command-line scripts are installed, e.g., /usr/share/koha/bin. Link Here
319
319
320
    $ sudo ${SCRIPT_DIR}/koha-zebra-ctl.sh start
320
    $ sudo ${SCRIPT_DIR}/koha-zebra-ctl.sh start
321
321
322
1.2 Zebra Indexer
322
5.2.2 Zebra Indexer
323
323
324
Add an entry in Koha user crontab to scheduled added/updated/deleted records
324
Add an entry in Koha user crontab to scheduled added/updated/deleted records
325
indexing by Zebra with this command:
325
indexing by Zebra with this command:
Lines 329-334 indexing by Zebra with this command: Link Here
329
See check misc/cronjobs/crontab.example for usage examples.
329
See check misc/cronjobs/crontab.example for usage examples.
330
NOTE: This job should be setup under the kohauser (the default is 'koha').
330
NOTE: This job should be setup under the kohauser (the default is 'koha').
331
331
332
You can also indexing in background, see: http://wiki.koha-community.org/wiki/Background_indexing_with_Zebra
333
332
6. Run the Web Installer, populate the database, initial configuration of settings
334
6. Run the Web Installer, populate the database, initial configuration of settings
333
335
334
    Point your browser to http://<servername>:8080/
336
    Point your browser to http://<servername>:8080/
Lines 362-367 NOTE: This job should be setup under the kohauser (the default is 'koha'). Link Here
362
    You need to run rebuild_zebra.pl -b -a -z as a regular cron job in orde to pick up new bibs
364
    You need to run rebuild_zebra.pl -b -a -z as a regular cron job in orde to pick up new bibs
363
    and items as you add them. Check misc/cronjobs/crontab.example for usage examples. See 7.0 above.
365
    and items as you add them. Check misc/cronjobs/crontab.example for usage examples. See 7.0 above.
364
    NOTE: This job should be setup under the kohauser (the default is 'koha').
366
    NOTE: This job should be setup under the kohauser (the default is 'koha').
367
    
368
    You can also indexing in background, see 5.2.2 above
365
369
366
7.4 To enable public Z39.50/SRU servers, you'll need to edit your koha-conf.xml and
370
7.4 To enable public Z39.50/SRU servers, you'll need to edit your koha-conf.xml and
367
    change the <listen> options to listen on a TCP port; then restart the zebra daemon.
371
    change the <listen> options to listen on a TCP port; then restart the zebra daemon.
(-)a/INSTALL.ubuntu.lucid (-6 / +9 lines)
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
- 

Return to bug 7759