install all locales to install Koha::Contrib::Tamil
Hi to all, I'm starting to install Koha on a Debina squeeze amd64. I work from the net-CD so a minimal systen. I want to install Koha::Contrib::Tamil to use background indexing. I see that I need to install all locales to install it with CPAN. I think the problem is in the module Locale::TextDomain. In fact is not a problem, it is quite easy to do with 'sudo dpkg-reconfigure locales' [first option of first menu]. I think this is a useful tip for all. I will update http://wiki.koha-community.org/wiki/Background_indexing_with_Zebra Bye Zeno Tajoli -- Dr. Zeno Tajoli Dipartimento Gestione delle Informazioni e della Conoscenza z.tajoli@cineca.it fax +39 02 2135520 CINECA - Sede operativa di Segrate
The package is included in squeeze-dev repo that eythian maintains i think. If you are using tar or dev installs you cuold give a try to the koha-index-daemon-ctl.sh script like this: # ln -s /usr/share/koha/bin/koha-index-daemon-ctl.sh /etc/init.d/koha-index-daemon # update-rc.d koha-index-daemon defaults # service koha-index-daemon start and let me know how did it work for you. Regards To+ On Wed, Jan 23, 2013 at 11:33 AM, Zeno Tajoli <z.tajoli@cineca.it> wrote:
Hi to all,
I'm starting to install Koha on a Debina squeeze amd64. I work from the net-CD so a minimal systen.
I want to install Koha::Contrib::Tamil to use background indexing.
I see that I need to install all locales to install it with CPAN. I think the problem is in the module Locale::TextDomain.
In fact is not a problem, it is quite easy to do with 'sudo dpkg-reconfigure locales' [first option of first menu].
I think this is a useful tip for all.
I will update http://wiki.koha-community.org/wiki/Background_indexing_with_Zebra
Bye Zeno Tajoli -- Dr. Zeno Tajoli Dipartimento Gestione delle Informazioni e della Conoscenza z.tajoli@cineca.it fax +39 02 2135520 CINECA - Sede operativa di Segrate _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Hi Tomas, Il 23/01/2013 18:47, Tomas Cohen Arazi ha scritto:
The package is included in squeeze-dev repo that eythian maintains i think. If you are using tar or dev installs you cuold give a try to the koha-index-daemon-ctl.sh script like this:
# ln -s /usr/share/koha/bin/koha-index-daemon-ctl.sh /etc/init.d/koha-index-daemon # update-rc.d koha-index-daemon defaults # service koha-index-daemon start
and let me know how did it work for you.
I'm try to use it. In general I prefer to use sudo /etc/init.d/koha-index-daemon start. Normaly I dont' use the sysvconfig package. Well in the file koha-index-daemon-ctl.sh I see those lines: USER=__KOHA_USER__ GROUP=__KOHA_GROUP__ DBNAME=__DB_NAME__ I use the 3.10.2, this script is not present so I download it from git archive. The values USER and GROUP are quite easy but could you explain main the meaning of DBNAME ? I think it is the name of MySQL db, but I'm not sure. An other question: Do you think is correct to use this script and Koha::Contrib::Tamil to setup different index daemons on the same HW ? For every Koha installation a different linux user, a different mysql db and user, differnt dirs, different envs an different index daemon in /etc/init.d/. But one daemon work only on one koha installation. Do you think it work ? Bye Zeno Tajoli -- Dr. Zeno Tajoli Dipartimento Gestione delle Informazioni e della Conoscenza z.tajoli@cineca.it fax +39 02 2135520 CINECA - Sede operativa di Segrate
On Thu, Jan 24, 2013 at 6:18 AM, Zeno Tajoli <z.tajoli@cineca.it> wrote:
Hi Tomas,
Il 23/01/2013 18:47, Tomas Cohen Arazi ha scritto:
The package is included in squeeze-dev repo that eythian maintains i think. If you are using tar or dev installs you cuold give a try to the koha-index-daemon-ctl.sh script like this:
# ln -s /usr/share/koha/bin/koha-index-daemon-ctl.sh /etc/init.d/koha-index-daemon # update-rc.d koha-index-daemon defaults # service koha-index-daemon start
and let me know how did it work for you.
I'm try to use it. In general I prefer to use sudo /etc/init.d/koha-index-daemon start. Normaly I dont' use the sysvconfig package.
Well in the file koha-index-daemon-ctl.sh I see those lines:
USER=__KOHA_USER__ GROUP=__KOHA_GROUP__ DBNAME=__DB_NAME__
I use the 3.10.2, this script is not present so I download it from git archive. The values USER and GROUP are quite easy but could you explain main the meaning of DBNAME ? I think it is the name of MySQL db, but I'm not sure.
If you installed from master, DBNAME should be the database name for that Koha instance. In fact it is intended to clearly separate one instance's script from the other (script name, working dir, etc).
An other question: Do you think is correct to use this script and Koha::Contrib::Tamil to setup different index daemons on the same HW ?
This script is just a valid (LSB) init script for Koha::Contrib::Tamil's daemon you can use for each instance you install via the usual procedure. Once it was pushed into master i was waiting for somefeedback prior to documenting it more publicly. My goal was to simplify the darkest bit of a Koha setup for the general public.
For every Koha installation a different linux user, a different mysql db and user, differnt dirs, different envs an different index daemon in /etc/init.d/. But one daemon work only on one koha installation. Do you think it work ?
We have used (another less polished version of) this init script in our 38+ instances setup for almost two years. First, with the daemon I wrote a while ago, and then moved to Tamil's as it was favoured by the dev community. Regards To+
participants (2)
-
Tomas Cohen Arazi -
Zeno Tajoli