------------------- IMPORTANT--------------- 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) ------------------------------------------------------- (I didn't understant this
hi everybody, i'm working on installation koha. I'm using Mandrake 7.2 on my server. in fact i'm a newbie on linux. first of all I've print of out installation file and I've made all of them step by step but there are some parts which I don't understand. Of course there are some problems. For example all the virtual host are working but when I want to made a query a blank screen came across me on browser. This is the steps I've made: 1/ Create a new mysql database [OK] 2/ Set up a username and password in mysql [OK] 3/ Use the mysql script to create the tables [OK] 4/ Edit koha.conf [OK] 5/ Copy koha.conf to /etc/ [OK] paragraph perhaps the problem's reason is at that terms.) 6/ $path="/usr/local/www/koha/htdocs/includes"; [OK] Next copy the C4 directory (in scripts/) to somewhere in ur perl path eg /usr/local/lib/site_perl/i386-linux/ Right we are now ready to set up our opac 1/ Set up a webspace for the opac [OK] 2/ In your opac dir make a dir called htdocs, [OK] 3/ Again in ur opac dir make a dir called cgi-bin [OK] 4/ Your virtual host should be set up to use these dirs [OK] 5/ Ok, restart apache [OK] Now we can set up the intranet/librarian interface 1/ Set up another webspace lets call it koha [OK] 2/ In the dir you have just created make an htdocs [OK] 3/ Make sure ur virtual host is set up to use these dirs [OK] 4/ Restart apache point your browser at koha.your.site [OK] Zeki Celikbas Librarian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Istanbul Technical University e:mailto:celikbas@itu.edu.tr Faculty of Aero. & Astro. w:http://www2.itu.edu.tr/~celikbas 80626 Maslak Istanbul Turkey t:(212)2853108 f: (212)2853139 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nick Rosasco and I have been discussing the possibility of a "CDDB" type interface that would be able to lookup biblio information from the library of congress. allowing some sort of synchronization and standardization of catalogs using the LOC as the master. CDDB is a website/protocol that fills in the titles to you CD if you put on in your computer.. instead of track 1..2..3.. you get "artist - title". Apparently LOC has an existing protocol to interact with book/biblio lists in a programmatic fashion. I'd like to propose, at least adding to the to-do list, the ability to sync the index tables using the LOC and z39.50 I may try to implement the protocol myself in windows, just for S's and G's more info: http://lcweb.loc.gov/z3950/agency/
Koha's in PERL, right? http://www.staff.tecc.co.uk/mike/ North Central Working on a Perl module to allow Z39.50 clients to be built on top of Index Data's Yaz toolkit. The module provides a simple API for constructing non-blocking multicasting clients (i.e. parallel searching/retrieval across multiple databases.) It will be made available on CPAN under the usual terms and conditions for Perl modules (http://www.opensource.org/) Representative: Mike Taylor Address: 48A Carysfort Road; Crouch End; London N8 8RB ENGLAND Phone/fax/email: +44 20 8348 6768; mike@tecc.co.uk Implementor Id: 169 Last update: 6/2000; Last verification: 12/2000
Hi Zeki Sorry for taking so long to respond
------------------- IMPORTANT--------------- 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) ------------------------------------------------------- (I didn't understant this paragraph perhaps the problem's reason is at that terms.)
Ahh yes, ok, what u need to do is check what user your apache is running as. You can do this by checking the httpd.conf file. Now whatever apache runs as (say www-data for our example) should be the owner of the /etc/koha.conf (chown www-data /etc/koha.conf). Now if you want to run curses based circulation functions .. you will need to set up the file permissions so that the users that run the curses based circulation (circ) have read permissions to the /etc/koha.conf. (Else the script wont be able to read the database passwords etc and wont be able to connect to the database) So youd set up a group called for example libadmins .. and all users that will use circ will be in that group. Then you'd make change the group of /etc/koha.conf to libadmins (chgrp libadmins /etc/koha.conf) Finally make it readable and writeable by the owner, readable by the group, and no access for everybody else. (chmod 640 /etc/koha.conf) Then if you do an ls -l /etc/koha.conf the permissions should look something like this -rw-r----- 1 www-data libadmins 57 Mar 15 16:54 /etc/koha.conf I hope this is clearer. Also if you are getting a blank page when you do a search, check the apache error logs, they may give you a hint of what is going wrong Hope this helps Chris -- Chris Cormack Programmer 025 500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz
participants (3)
-
Chris Cormack -
Father - Mike Johnson -
Zeki Celikbas