Tutorial on setting up Zebra: A Z39.50 Server ARD Prasad DRTC Indian Statistical Institute Bangalore.

Slides:



Advertisements
Similar presentations
Mukesh A Pund Scientist NISCAIR
Advertisements

LINUX-WINDOWS INTERACTION. One software allowing interaction between Linux and Windows is WINE. Wine allows Linux users to load Windows programs while.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
Lesson 22 – Introduction to Linux Systems Administration.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
Lecture 02CS311 – Operating Systems 1 1 CS311 – Lecture 02 Outline UNIX/Linux features – Redirection – pipes – Terminating a command – Running program.
Platforms, installation, configuration; accessing example collections Course material prepared by Greenstone Digital Library Project University of Waikato,
Installing Apache There are several ways to install the Apache web server – in CIT 370, you probably installed it from the CentOS CD-ROM although in fact,
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
Collections Management Museums EMu 3.1 / 3.2 – New Features EMu 3.1 / 3.2 New Features Bernard Marshall Chief Technology Officer KE Software.
Installing Linux softwares Sirak Kaewjamnong. 2 Software packets  When Linux developers create their software they typically bundle all the executable.
Linux Operations and Administration
NSDI/NBII Clearinghouse Server Training Slide 1 NSDI/NBII Clearinghouse Server Training Yellowstone to Yukon Initiative 7. December University of.
Using the “CLI” Unix / Linux Preparation Course May 25 Djibouti.
Module 10 – Linux Installations. Wikipedia: Red Hat Package Manager or RPM Package Manager (RPM) is a package management system. The name RPM variously.
V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 10 Topics: Coming up: –Yearbook Picture: Feb 7 12:20PM.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Lab 3 Department of Computer Science and Information Engineering National Taiwan University Lab3 - Cross Tools 2014/10/7/ 20 1.
Linux Operations and Administration
Session 5: Working with MySQL iNET Academy Open Source Web Development.
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 9 Topics: Coming up: –Yearbook Picture: Feb 7 12:20PM.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 4 Manage Software for SUSE Linux Enterprise Server.
Hands-On Virtual Computing
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
Managing User Accounts. Module 2 – Creating and Managing Users ♦ Overview ► One should log into a Linux system with a valid user name and password granted.
Unix Basics Chapter 4.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
MySQL. Dept. of Computing Science, University of Aberdeen2 In this lecture you will learn The main subsystems in MySQL architecture The different storage.
Copyright (c) by CNAPTICS Corporation. All rights reserved.1 INFO Oracle Database 11g: Administration II Presented By: Marc S. Paller,
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 8: Installing Software in Linux Chapter 13: Downloading and Installing Software By Fred R.
Guide to Linux Installation and Administration, 2e1 Chapter 7 The Role of the System Administrator.
SUSE Linux Enterprise Desktop Administration Chapter 6 Manage Software.
IBM Software Group ® Overview of SA and RSA Integration John Jessup June 1, 2012 Slides from Kevin Cornell December 2008 Have been reused in this presentation.
Linux Introduction What is Linux? How do you use it?
Managing SX.e and TWL with MARC and Scripts Jeremiah Curtis
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
Ant & Jar Ant – Java-based build tool Jar – pkzip archive, that contains metadata (a manifest file) that the JRE understands.
The Metadata Tool Custom Metadata Tool Who this tool is for: This tool designed to be used a data management system. This tool is geared more for the.
Introduction to System Admin Sirak Kaewjamnong. 2 The system administration’s job  Adding a new user  Doing backup and restoring files from backups.
Member: Wei-Jie Hsiao 、 Hui-Hsiung Chung Advisor: Quicy Wu Date: Mar.23 1.
1350 TAC Training © 2000, Cisco Systems, Inc. Wireless Lab.
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
ZHT Hands-on tutorial How to install, configure and run ZHT on a multi-nodes cluster.
CSCI 330 UNIX and Network Programming Unit XX: Linux Administration.
Linux Operations and Administration
Installing Applications in FreeBSD lctseng. Computer Center, CS, NCTU 2 Before we start  Permission issue root: the super user Like administrator in.
Configuring MQ Connections and Handlers for MQ adapter 6.5 July 2008.
WMarket For Adminstrators Manual Installation. Basic Dependencies To install your own WMarket instance, you are required to install the following software:
Using Docker in a CyVerse World. To install Docker GO TO Click “Get Started”, follow the directions.
GNU EPrints 2 Overview Christopher Gutteridge 19 th October 2002 CERN. Geneva, Switzerland.
Click to edit Master subtitle style 9/30/2016 Next Generation Catalog with Integration of VuFind and Pazpar2 Presented by Mohan Raj Pradhan Associate Professor.
Review Why do we use protection levels? Why do we use constructors?
Architecture Review 10/11/2004
bitcurator-access-webtools Quick Start Guide
RASPBERRY PI WORKSHOP.
Chapter 9 Managing Software
Implementation of Embedded OS
Installation of MySQL Objectives Contents Practical Summary
Computer System Laboratory
Install external command line softwares
File System Implementation
The Linux Operating System
Ubuntu Working in Terminal
Introduction to UNIX.
University of Texas Rio Grande Valley Systems Administration CSCI 6175
Configuration Of A Pull Network.
bitcurator-access-webtools Quick Start Guide
Computer System Laboratory
Presentation transcript:

Tutorial on setting up Zebra: A Z39.50 Server ARD Prasad DRTC Indian Statistical Institute Bangalore

Open Source Software Can be downloaded from – Written in ANSI C Can be compiled with gcc Runs on any flavor of Unix including Linux

Features of Zebra Server Can handle large files across many disks Records can be deleted or updated on the fly Can handle many input formats like SGML, XML, ISO-2709 Search supports Boolean, truncation, regular expressions, approximate matching

Features …

Extra Utilities Yaz: makes Zebra z39.50/SRW compliant Iconv: converts MARC data into various character encoding systems including UNICODE Expat: An XML parser useful for indexing records in XML format Perl Modules: for Zebra Perl filter facility Tcl: Record filters for Zebra

Two ways of Installation Using ‘rpm’ or 'deb' files Using tar.gz files ‘rpm’ / 'deb' installation is easier, but OS and version dependent tar.gz installation is complex but safer

RPM Installation Download rpm file from indexdata Issue the following command as root user –rpm –ivh idzebraxxx.rpm –Where xxx is version number

Debian Installation deb xxx main deb-src xx main NOTE: replace xxxxx by the version of debian e.g. etch lenny etc. Add the above lines in /etc/apt/sources.list

Getting the Key wget sudo apt-key add indexdata.asc

Ubuntu installation deb xxx main deb-src xxx main NOTE: replace xxx by Ubuntu version and add the above lines in /etc/apt/sources.list

Getting the Key wget sudo apt-key add indexdata.asc

tar.gz file installation Download idzebra-xxx.tar.gz file Unzip and untar –tar zxvf idzebra-xxx.tar.gz cd idzebra-xxx./configure –help./configure Make Make install

Files will be located in … /usr/bin /usr/include /usr/share/idzebra /usr/share/man

Optionally… If you are not the system administrator, you can run zebra server from you home directory. Run the following commands –tar zxvf idzebra-xxx.tar.gz –cd idzebra-xxx –./configure –prefix=$HOME –make –make install

Directory structure $HOME/bin –Will have zebraidx and zebrasrv $HOME/include –Include files $HOME/share –Manual pages

Testing with MARC21 cd idzebra-xxx/test/usmarc You should see… –zebra.cfg (configuration file) –records (directory ) Records directory will be having a file called ‘sample-marc’ ‘sample-marc’ contains MARC21 records in ISO format

Generating the index Run the following command –zebraidx update records Index files are created with the extension ‘.mf’ This is essential for search Now you can start the z39.50 server

Starting Z39.50 Server Run the following command –zebrasrv You will see the following message 09:35:09-09/12 [log] zebra_start zebra.cfg :35:09-09/12 [server] Adding dynamic listener on id=0 09:35:09-09/12 [server] Starting server zebrasrv pid= st Line: version number of the zebra server 2 nd Line: zebra server is running on port rd Line: Process id of program is 8856

Testing with MARCXML cd test/marcxml You will see marcxml files –m1.xml, m2.xml, m3.xml Create a directory called ‘records’ and copy xml files into it –cd records –cp *.xml records Note: here each record is placed in a separate file, unlike the iso-2709 files where all the records are placed in one file

Generating Index and Running the server It is similar to the earlier approach Run the following commands –zebraidx update records –zebrasrv

Main commands Zebrasrv: Server and Search Engine Zebraidx: indexing tool Normally stored in /usr/bin If you are not super user and installed from your home directory, these files will be in $HOME/bin

Z39.50 server for your data Get your MARC21 records either in ISO format or MARCXML Place them in a directory Run zebraidx and zebrasrv NOTE: In case of ISO-2709 format, all the records are in one file. Where as in case of MARCXML each record is in a separate XML file

zebraidx syntax zebraidx [ -options ] command [ file... ] Command: –update directory (update the register with the files in directory. Ex: update records means reads iso or xml files in the directory called ‘records’) –delete directory (remove the records corresponding to the files in directory)

zebraidx cont… Commands create database (Ex: ‘create drtc’. Creates a database called ‘drtc’, which can be accessed by that name using a z39.50 client. If no database name is given, the database will be called ‘default’ Drop database

zebrasrv options

iconv

Yaz-marcdump