Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 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