Professional Documents
Culture Documents
Koha Installation
Koha Installation
/configure --prefix=/usr/local/mysql --enable-shared=yes --with-readline --enab le-thread-safe-client --enable-large-files --enable-assembler --with-client-ldfl ags=-all-static --with-mysqld-ldflags=-all-static --with-big-tables
groupadd mysql useradd -g mysql mysql make && make install ./scripts/mysql_install_db chown -R root /usr/local/mysql chgrp -R mysql /usr/local/mysql cp support-files/my-medium.cnf /etc/my.cnf chown root:sys /etc/my.cnf chmod 644 /etc/my.cnf
cd /root mkdir zebra cd /root/zebra visit http://indexdata.dk/zebra wget http://ftp.indexdata.dk/pub/zebra/idzebra-2.0.32.tar.gz tar xvfz idzebra-2.0.32.tar.gz cd idzebra-2.0.32
/etc/rc.d/init.d/mysql start
http://lists.indexdata.dk/pipermail/zebralist/2009-July/002265.html
YAZ installation
Firstly, uninstall ALL existing YAZ components that you got from kojipkg. etc.. Use rpm -ve libyaz3 .. and other commands if you have other components (say yaz). Now the procedure is as follows: wget http://ftp.indexdata.dk/pub/yaz/yaz-3.0.47.tar.gz sudo rpmbuild -ta yaz-3.0.47.tar.gz rpmbuild may fail if you don't have all the necessary components for building YAZ. Just install those then.. And run rpmbuild again. When done, you can inspect and install the result: ls /usr/src/redhat/RPMS/i386 sudo rpm - vi /usr/src/redhat/RPMS/i386/*yaz*.rpm You have now installed all YAZ components including libyaz3-devel which is required for building Zebra. Proceed with: wget http://ftp.indexdata.dk/pub/zebra/idzebra-2.0.40.tar.gz sudo rpmbuild -ta idzebra-2.0.40.tar.gz sudo rpm -vi /usr/src/redhat/RPMS/i386/*zebra*.rpm If the installation don't work-- then let us know.. YAZ and Zebra has only recently been tested on Fedora Core 9 -- of the Fedora Core variants.
mysql> create database kohadb DEFAULT CHARSET=utf8 COLLATE=utf8_turkish_ci; mysql> grant SELECT, INSERT, UPDATE, DELETE, CREATE, DROP,ALTER, LOCK TABLES on kohadb.* to 'koha'@'localhost' identified by 'koha';
mysql> FLUSH PRIVILEGES; mysql> exit Bye KOHA DATABASE user = koha pass = koha Database = kohadb
Download http://search.cpan.org/CPAN/authors/id/M/MI/MIRK/N et-Z3950-ZOOM-1.25.tar.gz tar zxf Net-Z3950-ZOOM-1.25.tar.gz cd Net-Z3950-ZOOM-1.25 perl Makefile.PL make make install or install using cpan : perl -MCPAN -eshell install Zoom