Hi all,
As discussed at our last meeting, Zebra/ZOOM-Perl will be available
as a plugin for rel_2_2 as a 'drop-in replacement' for the current
MARC-in-SQL design. Of course, you don't _need_ to use Zebra in
rel_2_2, but it is available as an option. So ... how do you get
it going? Here's a brief installation overview for those of you
who'd like to start testing:
PREPARE THE SERVER
1. Install Koha 2.2.5
2. Install the latest versions of Yaz, Zebra, and Net::Z3950::ZOOM
2. Create two CVS repositories on your server, one for HEAD and one
for rel_2_2
3. Symlink the Koha 2.2.5 installation to the rel_2_2 CVS repo as
outlined in the 'Updating Koha' document on kohadocs.org
UPDATE YOUR DATABASE
ALTER TABLE biblioitems ADD marcxml TEXT NOT NULL;
ALTER TABLE itemtypes ADD imageurl char(200);
ALTER TABLE biblio ADD frameworkcode VARCHAR( 4 ) NOT NULL AFTER biblionumber;
CONFIGURE ZEBRA
1. cd /path/to/rel_2_2_cvs/koha
2. ln -s /path/to/rel_2_2_cvs/kohahris/koha-head/misc/zebra/usmarc/ zebra
3. edit koha.conf add:
zebradb=localhost:2100/kohaplugin
4. Start Zebra:
sudo zebraidx create kohaplugin
sudo zebrasrv localhost:2100
SYNC THE PLUGIN FILES WITH HEAD
The following files in your rel_2_2 Koha need to be replaced with
HEAD versions:
Modules:
Biblio.pm
Context.pm
SearchMarc.pm
Amazon.pm
Review.pm
Search.pm
Intranet:
addbiblio.pl
additem.pl
detail.pl
MARCdetail.pl
ISBNdetail.pl
OPAC:
opac-detail.pl
opac-MARCdetail.pl
opac-ISBDdetail.pl
You need to edit the new files to change the path from 'cataloging'
back to 'acqui.simple' (in 3.0 the path will change).
At this point, you should be able to import fresh batches of records
using the bulkmarcimport.pl script in HEAD. Searching and acquisitions
should also work.
Once you get it going, you can easily keep it up to date by keeping your
HEAD cvs repo up to data and copying over the above files each time.
Let me know if these instructions don't work for you or if you have any
questions.
沒有留言:
張貼留言