User Tools

Site Tools


en:extra:koha

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:extra:koha [2018/08/27 01:12] – created kjdonen:extra:koha [2023/03/13 01:46] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +
 +
 +
 ====== Koha Installation ====== ====== Koha Installation ======
  
-=====Introduction=====+====Introduction====
 koha, the first open source integrated library system. Made in New Zealand by Katipo Communications Ltd. and maintained by a team of volunteers from around the globe, the Koha system is a full catalogue, opac, circulation and acquisitions system. koha, the first open source integrated library system. Made in New Zealand by Katipo Communications Ltd. and maintained by a team of volunteers from around the globe, the Koha system is a full catalogue, opac, circulation and acquisitions system.
  
  
-  *Download+====Download====
    http://www.koha.org/download/index.html    http://www.koha.org/download/index.html
  
-  *Installation and support+====Installation and support====
    http://www.koha.org/installation/    http://www.koha.org/installation/
  
-  *System requirements:+====System requirements====
      * A webserver (It was built to work with Apache, but there is no reason it shouldnt work with any other webserver): In toetoe, we use Apache webserver.      * A webserver (It was built to work with Apache, but there is no reason it shouldnt work with any other webserver): In toetoe, we use Apache webserver.
      * Perl      * Perl
Line 23: Line 26:
     * Z3950/YAZ     * Z3950/YAZ
  
-  *What is Z3950? see:+====What is Z3950?==== 
  http://www.loc.gov/z3950/agency/  http://www.loc.gov/z3950/agency/
  
-  *Z39.50 Setup+====Z39.50 Setup====
 Finally, you will need to start your Z39.50 daemon so you can do Z39.50 searches for catalog records. Finally, you will need to start your Z39.50 daemon so you can do Z39.50 searches for catalog records.
 <code>  [[root@localhost|koha-2.0.0]]# cd /usr/local/koha/intranet/scripts/z3950daemon <code>  [[root@localhost|koha-2.0.0]]# cd /usr/local/koha/intranet/scripts/z3950daemon
Line 36: Line 39:
 The Z39.50 server at the Library of Congress is already set up as a search target by default in Koha.  You can use your Koha System Parameters page to add and delete details about other Z39.50 targets you wish to search.  Then when you add a new bibliographic record to Koha, you can type in an ISBN or a title and click on "Z39.50 Search."  Koha will open a new window reporting on the progress of the search and returning any records found, which can then be automatically loaded into the cataloging template for editing and saving into your Koha database. The Z39.50 server at the Library of Congress is already set up as a search target by default in Koha.  You can use your Koha System Parameters page to add and delete details about other Z39.50 targets you wish to search.  Then when you add a new bibliographic record to Koha, you can type in an ISBN or a title and click on "Z39.50 Search."  Koha will open a new window reporting on the progress of the search and returning any records found, which can then be automatically loaded into the cataloging template for editing and saving into your Koha database.
  
-  *Technical issues+====Technical issues====
 MySQL: With mySQL, the system setting are as follows: MySQL: With mySQL, the system setting are as follows:
 <code>  /etc/mysql/my.cnf: The global mysql configuration file. <code>  /etc/mysql/my.cnf: The global mysql configuration file.
Line 77: Line 80:
 Also, the my.conf file should be stored ./.my.conf in order to take effect as a user-specific options. Also, the my.conf file should be stored ./.my.conf in order to take effect as a user-specific options.
  
-  *Modifying the source code+====Modifying the source code====
 <code>  * /home/chi/src/kohaXXX/installer.pl <code>  * /home/chi/src/kohaXXX/installer.pl
  #my $domainname = `hostname`; # Note: must not have any arguments (portability)  #my $domainname = `hostname`; # Note: must not have any arguments (portability)
Line 99: Line 102:
  $dbh = DBI->connect("DBI:mysql:$opt_db:$opt_host:port=$opt_port:mysql_socket=$opt_mysql_socket", $opt_user,$opt_password, { PrintError => 0})  || die $DBI::errstr;</code>   $dbh = DBI->connect("DBI:mysql:$opt_db:$opt_host:port=$opt_port:mysql_socket=$opt_mysql_socket", $opt_user,$opt_password, { PrintError => 0})  || die $DBI::errstr;</code> 
  
-  *Install:+====Install====
 Follow the instruction from the one-line document: Automated configuration: Follow the instruction from the one-line document: Automated configuration:
 <code>  *http://www.koha.org/installation/manual/book1_library_it_support.html#TO_START</code>  <code>  *http://www.koha.org/installation/manual/book1_library_it_support.html#TO_START</code> 
  
-  *Setting up the PORT for the Koha+====Setting up the PORT for the Koha====
 In Koha, the system provide two interfaces which are OPAC (Online Public Access Catalogue) and INTRANET: The suggestion is to set up these two interfaces into different ports (in toetoe, OPAC: Port 8000 INTRANET: port 8200). In Koha, the system provide two interfaces which are OPAC (Online Public Access Catalogue) and INTRANET: The suggestion is to set up these two interfaces into different ports (in toetoe, OPAC: Port 8000 INTRANET: port 8200).
  
Line 113: Line 116:
 Restart Apache server in order to take effect. Restart Apache server in order to take effect.
  
-  *Problem issues+====Problem issues====
 When the installation was failed, in the database, the user details will still be created into mysql:db table and mysql:user. You need to delete it manually. When the installation was failed, in the database, the user details will still be created into mysql:db table and mysql:user. You need to delete it manually.
  
Line 127: Line 130:
 Obviously, the koha system can't not trace up the directory of the perl_mod. I tried to modify the httpd.conf, but it is still not working. So the temporary solution, is copy all the required perl modules into /home/chi/local/koha/intranet/modules Obviously, the koha system can't not trace up the directory of the perl_mod. I tried to modify the httpd.conf, but it is still not working. So the temporary solution, is copy all the required perl modules into /home/chi/local/koha/intranet/modules
  
-  *How to start KohaStep 1: Start MySQL+==== Starting Koha==== 
 +  * Step 1: Start MySQL
 <code>  $ cd /home/chi/local/mysql <code>  $ cd /home/chi/local/mysql
  $ bin/safe_mysql --user=root --socket=/tmp/mysql.sock &</code>   $ bin/safe_mysql --user=root --socket=/tmp/mysql.sock &</code> 
en/extra/koha.1535332375.txt.gz · Last modified: 2018/08/27 01:12 by kjdon