[Koha-devel] Installing on disconnected box

Krishnan Mani krishnanm75 at yahoo.com
Tue Oct 21 12:14:23 CEST 2008


Hello,

i am trying to help someone who has no internet access to setup and run Koha on a fresh box.

i break the install process into four major pre-requisites:
Installing the OS, Apache, and MySQL, and lastly, getting the Perl modules

While we managed the first three relatively easily, its the fourth one (Perl modules) that i need help with.

One ("brute force"?) approach i thought i'd try is to just copy over the contents of the Perl paths that contain the modules from my own running install of Koha. (The modules are at /usr/lib/perl5 and /usr/local/lib/perl5). If the OS and everything else is pretty similar, there is some chance this will work, given that the modules were compiled for a similar architecture (an x86 PC)?

i haven't tried this yet, but before i do, i am sure there are better ways to do this. For e.g., cpan still has the sources for all the modules i fetched at /root/.cpan/sources
Perhaps, i can compile and install cpan on the new box, copy over the sources, and give CPAN a "local file url" (like file://...?) to go look for stuff? Or is it possible to (temporarily and relatively easily) create a CPAN mirror on a box on the local network?

Otherwise there are perhaps just too many modules and dependencies required to satisfy them to try and do this one at a time.

Also, i hear there's a way to get a "tarball" of modules for specific needs, has someone tried doing one for Koha? Or can i create one from what i already have?

Hoping to hear some good useful advice from you all, as always. This one's for you, Prashant...




      Cricket on your mind? Visit the ultimate cricket website. Enter http://beta.cricket.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20081021/85213e15/attachment-0003.htm>


More information about the Koha-devel mailing list