0% found this document useful (0 votes)
122 views3 pages

Koha Installation

The document provides instructions for installing and configuring several open source library software systems - MySQL, Zebra, YAZ, Koha, and Zoom - on a Linux server. It includes commands for compiling from source, configuring users and permissions, downloading required files, and setting up configuration files.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
122 views3 pages

Koha Installation

The document provides instructions for installing and configuring several open source library software systems - MySQL, Zebra, YAZ, Koha, and Zoom - on a Linux server. It includes commands for compiling from source, configuring users and permissions, downloading required files, and setting up configuration files.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

make clean ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --di sable-maintainer-mode --with-mysqld-user=mysql --with-unix-socket-path=/tmp/mysq l.sock --without-comment --without-debug --without-bench .

/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

cp ./support-files/mysql.server /etc/rc.d/init.d/mysql chmod +x /etc/rc.d/init.d/mysql /sbin/chkconfig --level 3 mysql on

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.

/root/rpmbuild/RPMS/i386/libyaz3-3.0.47-1.i386.rpm sudo rpm -vi /root/rpmbuild/RPMS/i386/*yaz*.rpm

sudo rpm -vi /root/rpmbuild/RPMS/i386/*zebra*.rpm

KOHA Installation http://www1.gantep.edu.tr/~c_dikici/kohakur.html

groupadd koha useradd -g koha koha

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

shell> mysql db_name Or: shell> mysql --user=user_name --password=your_password db_name

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

sudo ln -s /usr/local/src/koha-3.4.02/etc/koha-httpd.conf /usr/local/apache/htdo cs/koha

You might also like