Koha/Install

From Jon's Wiki
Revision as of 02:48, 1 October 2008 by Johnno (talk | contribs) (New page: == Source Code == Grab the Koha source: git clone git://git.koha.org/pub/scm/koha.git === PostgreSQL === I thought it had, but there's lots of noise about MySQL. Bleargh. == Z39.50 Su...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Source Code

Grab the Koha source:

git clone git://git.koha.org/pub/scm/koha.git

PostgreSQL

I thought it had, but there's lots of noise about MySQL. Bleargh.

Z39.50 Support

Add the Zebra apt repository:

deb     http://ftp.indexdata.dk/debian indexdata/lenny released 
deb-src http://ftp.indexdata.dk/debian indexdata/lenny released 

And the magic key incantation:

wget -q http://ftp.indexdata.dk/debian/indexdata.asc -O- | sudo apt-key add - 

Install:

sudo apt-get install yaz idzebra-2.0

Locale UTF8

Make sure the OS, Apache, and MySQL are all set to locale UTF8.

Apache 2
/etc/apache2/conf.d/charset needs
AddDefaultCharset UTF-8
MySQL
/etc/mysql/my.cnf needs
init-connect = 'SET NAMES utf8'
character-set-server=utf8
collation-server=utf8_general_ci
character_set_client=utf8

and possibly

skip-character-set-client-handshake

BUGS

LAME
MARC::File::XML does not work with Perl 5.10, therefore the whole shebang requires downgrading Perl to 5.8