koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] request bulkmarcimport assistance


From: Paul POULAIN
Subject: Re: [Koha-devel] request bulkmarcimport assistance
Date: Thu Feb 3 09:11:17 2005
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]