Installing KOHA on Debian/No administrative no admistartive rights !!
Any procedure about installing KOHA with no root account. Need to install Perl modules required by Koha. Gracias, LIC. FELIPE ADALID ORTIZ ANZALDO Area de Medios Electrónicos Biblioteca Loyola http://www.loyola.tij.uia.mx UNIVERSIDAD IBEROAMERICANA TIJUANA Ave. Centro Universitario 2501 Playas de Tijuana Tijuana, B.C., México 22200 Tel. 664 630-1577 Ext. 623 Fax 664 630-1591 eMail adalid@tij.uia.mx "No sobreviven los más fuertes, ni los más inteligentes, sino aquellos que tienen una mayor capacidad para adaptarse a los cambios." --Charles Darwin--
Adalid Ortiz a écrit :
Any procedure about installing KOHA with no root account. Need to install Perl modules required by Koha.
it's possible. It's a complex task, but possible : The PERL5LIB must contain also the directory where your specific modules are (MARC::Record, HTML::Template...) -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
On 2004-11-26 19:04:26 +0000 Adalid Ortiz <adalid@tij.uia.mx> wrote:
Any procedure about installing KOHA with no root account. Need to install Perl modules required by Koha.
Two ways. The first one, with a shell account, is far easier: Make yourself a perl directory. Run "perl -MCPAN -e shell" and step through the config, setting PREFIX=/home/youruser/perl as the MakeMaker variable. Alternatively, copy the system CPAN config file to the other location the error tells you and edit all the directory names, then run "perl -MCPAN -e shell". Install the perl modules you want (command "install MARC::Record") or whatever. The problem you will probably have is with Net::Z3950 which requires libyaz. If you want that, I hope someone else will give instructions. Fortunately, when I've been installing, the sysadmin has installed packages like that. Next, set PERL5LIB=/home/youruser/perl/lib (or something like that), export PERL5LIB and then run the installer, setting your etcdir and prefix. The command will be something like "etcdir=/home/youruser/kohaetc prefix=/home/youruser/koha perl installer.pl" Afterwards, you are almost certainly going to need to edit the koha-httpd.conf and probably other stuff too. Every time that I have done this, this bit has been slighly different, so I can't give good general instructions. Basically, get all the system information that you can and keep the manuals open on screen while working. You really need to be able to read the access and error logs to stand any chance of debugging it quickly. The second way, without a shell account, is to set up a local debian machine that is as close to being identical to the server, do the above on it and then copy the files across. That's even trickier and I've only done it once. I hope that helps you get started. The above may seem tricky, but it's not much different to installing any complicated perl program without root access. There are probably articles on perl sites or about other applications with more detail like http://www.wellho.net/forum/Perl-Programming/CPAN-Module-without-root.html or http://www.bugzilla.org/docs/2.18/html/nonroot.html -- MJR/slef My Opinion Only and not of any group I know Creative copyleft computing - http://www.ttllp.co.uk/ Unsolicited attachments to the pipex address deleted Will HLF fund tree-killings? http://www.thewalks.co.uk/
On 2004-11-26 19:04:26 +0000 Adalid Ortiz <adalid@tij.uia.mx> wrote:
Any procedure about installing KOHA with no root account. Need to install Perl modules required by Koha.
Two ways. The first one, with a shell account, is far easier:
Make yourself a perl directory. Run "perl -MCPAN -e shell" and step through the config, setting PREFIX=/home/youruser/perl as the MakeMaker variable. Alternatively, copy the system CPAN config file to the other location the error tells you and edit all the directory names, then run "perl -MCPAN -e shell". Install the perl modules you want (command "install MARC::Record") or whatever.
The problem you will probably have is with Net::Z3950 which requires libyaz.
On Sat, 27 Nov 2004, MJ Ray wrote: libyaz is available at http://www.indexdata.dk/yaz. If you want that, I hope someone else will give instructions.
Fortunately, when I've been installing, the sysadmin has installed packages like that.
Next, set PERL5LIB=/home/youruser/perl/lib (or something like that), export PERL5LIB and then run the installer, setting your etcdir and prefix. The command will be something like "etcdir=/home/youruser/kohaetc prefix=/home/youruser/koha perl installer.pl"
Afterwards, you are almost certainly going to need to edit the koha-httpd.conf and probably other stuff too. Every time that I have done this, this bit has been slighly different, so I can't give good general instructions. Basically, get all the system information that you can and keep the manuals open on screen while working. You really need to be able to read the access and error logs to stand any chance of debugging it quickly.
The second way, without a shell account, is to set up a local debian machine that is as close to being identical to the server, do the above on it and then copy the files across. That's even trickier and I've only done it once.
I hope that helps you get started. The above may seem tricky, but it's not much different to installing any complicated perl program without root access. There are probably articles on perl sites or about other applications with more detail like http://www.wellho.net/forum/Perl-Programming/CPAN-Module-without-root.html or http://www.bugzilla.org/docs/2.18/html/nonroot.html
Kanwaljit dhindsa
participants (4)
-
Adalid Ortiz -
lib@localhost.localdomain -
MJ Ray -
Paul POULAIN