[Koha] Installation Log

Tonnesen Steve tonnesen at cmsd.bc.ca
Sat Dec 9 08:17:49 NZDT 2000


I'd like to post my log regarding installing Koha both to document my
experience and to get some feedback on snags I'm hitting:

Steve Tonnesen
Network Administrator
Coast Mountains School District
Terrace, BC
CANADA


----

1.  Installed required Debian packages:

    install mysql-base, mysql-server, mysql-client, libmysqlclient6
        packages
    install dbd and dbi packages
       libdbi-perl
       libdbd-mysql-perl
    install libdate-manip-perl package


2.  downloaded and untarred koha-1.06.tar.gz
    databaseinstall.sh mysqlrootpass Koha kohausername kohauserpass
    This script created the database, tables, and access account
    perfectly.


3. Edited scripts/C4/Database.pm with kohausername and kohauserpass
   Also had to set name of database to 'Koha'  <-- wasn't documented
   in INSTALL file

4. Edited scripts/C4/Output.pm set $path to location of includes
   I used /usr/local/koha/librarian/htdocs/includes

5. Copied C4 directory to /usr/lib/perl5/5.005/i386-linux

6. Created virtual servers in apache's httpd.conf:

    ------------------------------------------------
    <VirtualHost 192.168.10.230>
    ServerName opac.cmsd.bc.ca
    DocumentRoot /usr/local/koha/opac/htdocs/
    ScriptAlias /cgi-bin/ /usr/local/koha/opac/cgi-bin/
    </VirtualHost>
     
    <VirtualHost 192.168.10.231>
    ServerName koha.cmsd.bc.ca
    DocumentRoot /usr/local/koha/librarian/htdocs/
    ScriptAlias /usr/local/koha/librarian/cgi-bin/
    </VirtualHost>
    ------------------------------------------------



7. Created koha directories in /usr/local/
	/usr/local/koha/
        /usr/local/koha/opac
	/usr/local/koha/opac/htdocs/
	/usr/local/koha/opac/cgi-bin/
	/usr/local/koha/opac/cgi-bin/koha/
	/usr/local/koha/librarian/
	/usr/local/koha/librarian/htdocs/
	/usr/local/koha/librarian/cgi-bin/
	/usr/local/koha/librarian/cgi-bin/koha/

8. Copied files
    cp -a koha-1.06/opac-html/* /usr/local/koha/opac/htdocs/
    cp -a koha-1.06/scripts/*.pl /usr/local/koha/opac/cgi-bin/koha/
    cp -a koha-1.06/intranet-html/* /usr/local/koha/opac/htdocs/
    cp -a koha-1.06/scripts/*.pl /usr/local/koha/librarian/cgi-bin/koha/
    cp -a koha-1.06/scripts/acqui /usr/local/koha/librarian/cgi-bin/koha/


9. Populated Database Tables:

  insert into aqbookfund values ('1', 'Annual Book Budget', 'DIST');
  insert into aqbookfund values ('2', 'Fund Raising', 'SCH');
  insert into aqbookfund values ('3', 'Textbooks', 'SCH');
  insert into aqbudget values ('1', '2000-12-01', '2001-12-01', 5500);
  insert into aqbudget values ('2', '2000-12-01', '', 1200);
  insert into aqbudget values ('3', '2000-12-01', '2001-12-01', 8000);
  insert into branches values ('STWE', 'Stewart Elementary School',
      '4523 Sea Way', 'Stewart, BC', 'V0T 1W0', '250 636 2241',
      '250 636 2544', 'jsnair at cmsd.bc.ca', 0);
  insert into branches values ('SHE', 'South Hazelton Elementary School',
      '4521 21st Ave.', 'South Hazelton, BC', 'V0J 2R0', '250 842 6688',
      '250 842 5153', 'stonnesen at cmsd.bc.ca', 0);


Some problems that I have encountered thus far:

1.  When adding entries to basket, link to supplier points to
    whitcouls.html which is supposed to be a demo page, I gather,
    but doesn't exist in any case.
2.  When viewing basket, total is always $16.95 (hard coded in
    basket.pl) and subtotal, gst and total are always blank.
3.  When receiving an order, I can select the book that was received
    from the order and enter the appropriate information, but clicking on
    the "Save Changes" link on the next page returns an error (tries to
    load /cgi-bin/koha/acqui/, which is a directory, not a script).






More information about the Koha mailing list