[Koha] Installing KOHA on Debian/No administrative no
admistartive rights !!
mjr at dsl.pipex.com
Sun Nov 28 00:11:11 NZDT 2004
On 2004-11-26 19:04:26 +0000 Adalid Ortiz <adalid at tij.uia.mx> wrote:
> Any procedure about installing KOHA with no root account. Need to
> 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
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
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/
More information about the Koha