Hi everyone, So, you want to get involved in Koha 3.0 development, but you're not sure how to install Koha HEAD right? Well now you're out of excuses :-). Here's a brief overview of the steps involved. 1. Install Koha 2.2.4 (or use an existing 2.2.x install, upgrading to 2.2.4 doesn't really matter). Ideally, this Koha will have data, if not, insert some MARC records or if you don't have any, ping the list and I'll send you a bunch. Remember, you have to be running the MARC=ON version of Koha (for now). NOTE: This will completely destroy your pre-existing Koha install, so use at your own risk, certainly do not do this on a production system! Again, DON'T DO THIS ON A PRODUCTION KOHA SYSTEM. (for those of you completely new, there are installation directions at http://kohadocs.org) 2. Download the latest CVS stuff from Savannah: bash# export CVS_RSH="ssh" bash# cvs -z3 -d:ext:anoncvs@savannah.nongnu.org:/cvsroot/koha co koha 3. Install MARC::File::XML bash# perl -MCPAN -e 'install MARC::File::XML' 4. Symlink your existing 2.2.x Koha to the CVS tree as described in the "Updating Koha" document: http://www.kohadocs.org/Updating_Koha.html 5. cd /path/to/my/cvs/koha (wherever your CVS version lives) 6. One of: bash# ln -s misc/zebra/usmarc zebra bash# ln -s misc/zebra/unimarc zebra (unless you're in France, you probably have usmarc records) 7. Now, you need to install zebra (http://indexdata.dk/zebra) 8. Create a zebra database (from within the misc/zebra/u(s|ni)marc dir) bash# cd /path/to/my/cvs/koha/misc/zebra/usmarc/ (or unimarc) bash# zebraidx init 9. run the updatedatabase script bash# cd /path/to/my/cvs/koha/updater bash# perl -I /path/to/my/cvs/koha updatedatabase 10. depending on how many records you've got, go grab a pizza and a movie and relax :-) Cheers, -- Joshua Ferraro VENDOR SERVICES FOR OPEN-SOURCE SOFTWARE President, Technology migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
Hi again everyone, OK ... You've eaten your pizza and watched the movie and are ready to get back to Koha (I know I have). Here's what to do next: 11. Make sure zebraidx is in the right spot: bash# ls /usr/local/bin/zebraidx if it's not there, find it and symlink it: bash# whereis zebraidx bash# ln -s /where/is/zebraidx /usr/local/bin/zebraidx 12. make sure tab dir is in the right spot: bash# ls /usr/share/idzebra/tab if it's not there, find it and symlink it: bash# find / -name tab -print bash# mkdir /usr/share/idzebra bash# ln -s /where/is/tab /usr/share/idzebra/tab 13. run rebuild_zebra.pl: bash# cd /path/to/my/cvs/koha/misc/migration_tools/ bash# perl -I /path/to/my/cvs/koha rebuild_zebra.pl -c 14. run the zebra index engine: boot# cd /path/to/my/cvs/koha/zebra boot# mkdir lock boot# zebraidx update biblios boot# rm -f biblios/* 15. start the zebra server: boot# zebrasrv @2100 16. test it, searching should work by author and title, everything else will be keyword. Adding biblios should work. 17. develop your feature(s), test them on your running HEAD, and commit back so we can included it in 3.0 :-) If you've any questions or problems, post to koha-devel and we'll try to get them sorted out. Cheers, -- Joshua Ferraro VENDOR SERVICES FOR OPEN-SOURCE SOFTWARE President, Technology migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
Joshua Ferraro a écrit : Just to add that those notes are useful for the DEV process only. Will be -highly- automated for official releases. And some things like
if it's not there, find it and symlink it: bash# whereis zebraidx bash# ln -s /where/is/zebraidx /usr/local/bin/zebraidx will disappear, of course !
Other note : the bulkmarcimport should (may ?) work in HEAD too, so you can try bulkimporting record after setting up an empty version. If you do, pls report success & speed here please. With Koha 2.2, bulkmarcimport imported 8-10 biblios per sec. With zebra, I expect this being highly faster. Something like 10x or 20x. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
Hi Paul,
Other note : the bulkmarcimport should (may ?) work in HEAD too, so you can try bulkimporting record after setting up an empty version.
If you do, pls report success & speed here please. With Koha 2.2, bulkmarcimport imported 8-10 biblios per sec. With zebra, I expect this being highly faster. Something like 10x or 20x.
I think we'll try out the bulkmarcimport on HEAD. On 2.2.4, it took almost 11 hours for us to import 97,594 records. In that time I could eat pizza, watch a movie, and get a good night's sleep! I'll let you know how it works out. Cindy -- _________________________ Cindy Murdock Network Administrator Meadville Public Library | Crawford County Federated Library System meadvillelibrary.org | ccfls.org
When we imported our library it tooks about 6 hours, we have nearly 47000 biblio and 60000 items. We tested doing imports in parallel with miked results. On the other hand we had to improve/fix some perl modules, concurrency was not very well handled. Andres Cindy Murdock wrote:
Hi Paul,
Other note : the bulkmarcimport should (may ?) work in HEAD too, so you can try bulkimporting record after setting up an empty version.
If you do, pls report success & speed here please. With Koha 2.2, bulkmarcimport imported 8-10 biblios per sec. With zebra, I expect this being highly faster. Something like 10x or 20x.
I think we'll try out the bulkmarcimport on HEAD. On 2.2.4, it took almost 11 hours for us to import 97,594 records. In that time I could eat pizza, watch a movie, and get a good night's sleep! I'll let you know how it works out.
Cindy
participants (4)
-
Andres Tarallo -
Cindy Murdock -
Joshua Ferraro -
Paul POULAIN