User:Pcharoen

How To
Before you begin, please change directory to /usr/local/sites/talonline.ca/var/sitesearch.

Add New Database (Catalogue)

 * *New database information*
 * Z39.50 host name or server IP address.
 * Z39.50 port number, default is 210.
 * Library terminal IP addresses.
 * Library name and national library code.
 * ILL department and ILL contact email address.


 * *Add new server configuration file*
 * Copy one of server ini file in ini/servers directory and rename to new server following national library code.
 * Edit new server ini file, modify hostname and port number.
 * *Add new database configuration file*


 * Copy one of database ini file in ini/dbs directory and rename to new database following national library code.
 * Edit new database ini file, modify dbName, remoteZDbName, Longname, recordSyntax, ServerName, ServerIniFile. You can find remoteZDbName, recordSyntax by using yaz-client connecting to the server.


 * *Add new database to database list*
 * Edit ini/databases.ini and add new database at the end of the list.


 * *Add new database to database groups*
 * Edit ini/interface/obiv1/ObiTopics.ini and add new database to groups depending on type and location of institution.


 * *Add new database to database category*
 * Edit ini/ALIcategorieds.ini and add new database to categories depending on location and type of institution. This configuration will show up on Custom Search page.


 * *Add search stats for new database*
 * Copy one of configuration file in scripts/sstats_work for new database following national library code.
 * Edit the configuration file and change the database to new database code.


 * *Add new database and IP addresses to MySQL database*
 * Edit scripts/add_new_database.sql and change database code, database id and library name.
 * Run command: mysql talonline_sitesearch_accessdb < add_new_database.sql.


 * *Test a connection*
 * Run command: yaz-client
 * Open connection: open &lt;server&gt;:&lt;port&gt;
 * Test search attribute: find @attr 1=1016 @attr 2=3 @attr 3=3 @attr 4=2 @attr 5=100 @attr 6=1 "term"
 * Retrieve result: show 1
 * Help: help &lt;command&gt;