To help first time users install http://www.koha.org/ Koha - This is a modified copy of the INSTALL document included with http://www.koha.org/ Koha
To successfully use Koha you need some additional software:
Perl Modules:
—-
(Assumes the Use of MySQL and Apache)
1. Create a new mysql database called for example Koha From command line: mysqladmin_-uroot_-ppassword_create_koha There is a databse installation shell script included with the Koha tarball.
2. Set up a koha user and password in mysql Log in to mysql: mysql_-uroot_-ppassword
To create a user called “koha” who has full administrative rights to the “Koha” database when autheicting from “localhost”, enter the following on mysql command line:
grant_all_privileges_on_koha._to_koha_localhost_identified_by_kohapassword
Press ENTER, and if you see no errors then enter \q to quit mysql.
3. Use the mysql script to create the tables
{{ mysql -uusername -ppassword Koha < koha.mysql }}
3.1 Update your database tables
{{ perl updatedatabase -I /pathtoC4 }}
4. Edit koha.conf Set the database name to what you have called your database, hostname willprobably stay as localhost (unless you are installing the database on a different machine to the webserver) User and password should be changed to reflect the username and password you have chosen above.
You can include a line called “includes= ” with path to your includes folder instead of entering the path in Output.pm - see example in KohaHints.
5. Copy koha.conf to /etc/ The permissions on this config file should also be strict, since they contain the database password. At a minimum, the apache user needs to be able to read it, as well as any other user that runs circ. I would suggest ownership of www-data.libadmins with no access to others.libadmins contain all users that use koha (If you set the owner as www-data u will need to make sure apache is running as www-data)
6. Create directories for scripts and html documents. Here you need to decide where your scripts and html are going to live. And edit C4/Output.pm to reflect that. Set $path= where your includes live, for example: $path=”/usr/local/www/koha/htdocs/includes”;
You do not need to do that if you have already entered the includes path in koha.conf (see example above)
Next copy the C4 directory (in scripts/) to somewhere in your perl path eg /usr/local/lib/site_perl/i386-linux/
If you do not have sufficient access to copy the files to the default perl folder (maybe you are using your ISPs hosting server) then you can copy the modules to any other location and add a line to apache.conf like:
SetEnv PERL5LIB "/usr/local/www/koha/modules"
Copy the C4 directory into the modules folder (see detailed example in KohaHints)
7. Set up your Online Public Access Catalogue (OPAC)
<VirtualHost opac.your.site> ServerAdmin webmaster@your.site DocumentRoot /usr/local/www/opac/htdocs ServerName opac.your.site ErrorLog logs/opac-error_log TransferLog logs/opac-access_log </VirtualHost>
Find supplementary information and config examples in KohaHints
8. Set up the intranet/librarian interface
For example:
9. Configure SECURITY for the Librarians/Intranet Interface If you are using AuthenDBI to do your authentication, you will need to add some users to the users table in the koha database. And edit your apache conf file to use AuthenDBI on the intranet site.
Otherwise, set up htaccess files in both koha/htdocs/ and koha/cgi-bin You can use general .htaccess based security. It is important though to password protect the librarians interface because from it you can delete and add items, remove borrowers fines and generally case havoc.
10. Set up Issues, Returns and Telnet interface. Since we have already copied the files in scripts/C4 into somewhere in our perl source tree
We just need to now copy the scripts from scripts/telnet/ into somewhere in the executable path, eg /usr/local/bin
Then its done: type circ and your away, ready to issue and return.
In release 1.1.0 on there is now a webbased circulation module, So issues and returns can be done from there, or from circ.
—-