Hi All! I wanted to report that I believe I have achieved complete success in getting marc records imported to the desired locations for my two koha installations. With the help of individuals here I was able to get bulkmarcimport.pl to work the way I wished and I have also, by creating soft links, been able to move the actual mysql databases to a different physical drive. Thanks again! Mark
-----Original Message----- From: koha-devel-admin@lists.sourceforge.net [mailto:koha-devel-admin@lists.sourceforge.net] On Behalf Of Paul POULAIN Sent: Thursday, February 03, 2005 11:09 AM To: koha-devel@lists.sourceforge.net Subject: Re: [Koha-devel] request bulkmarcimport assistance
Joshua Ferraro a écrit :
Mark,
The path /var/lib/mysql/"anything" refers to the database itself. The way to distinguish between two koha installs (provided that you want the database to be different for them) is to specify a different database name for each of them (for instance, koha1 and koha2). You'll also probably want to use a different admin account for ease of administration (e.g., kohaadmin1, kohaadmin2). You will also want to keep the koha paths different for those two installs (e.g., /usr/local/koha1, /usr/local/koha2), as well as have a seperate koha.conf file for each of them (e.g., /usr/local/koha1/etc/koha.conf, /usr/local/koha2/etc/koha.conf).
The fastest way to do this is during the initial installation of Koha, when it asks you those specific questions, though it would be possible to set it up later on. Of course, the install is not really setup to handle multiple installations so you'll still need to customize some things once you have run both installations.
For instance, afaik Koha will always put the koha.conf file in /etc. Just copy that file to wherever you want to store it and update your koha-httpd.conf accordingly.
you're right. Just define KOHA_CONF to use one or the other DB setup.
For example : the test install is in /etc/koha_test.conf the prod setup is in /etc/kohaprod.conf
Do a export/SetEnv KOHA_CONF=/etc/kohaXXX.conf before running what you want. You can have the same cgi/templates for many installs, having just the DB setup different. The DB contains template, language, MARC,... so that will work really fine.
HTH.
-- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Koha-devel mailing list Koha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/koha-devel