From: Adam Dickmeiss Date: Wed, 20 Jun 2007 08:22:13 +0000 (+0000) Subject: Added a section about how to install a Pazpar2 interface test1. X-Git-Tag: PAZPAR2.1.0.0~4 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=9b1c814be5e4584483921ae6610c36579b6f13bd;p=pazpar2-moved-to-github.git Added a section about how to install a Pazpar2 interface test1. --- diff --git a/doc/book.xml b/doc/book.xml index e469cba..eb6781e 100644 --- a/doc/book.xml +++ b/doc/book.xml @@ -9,7 +9,7 @@ %idcommon; ]> - + Pazpar2 - User's Guide and Reference @@ -146,13 +146,19 @@ Installation + The Pazpar2 package very small. It includes documentation as well + as the Pazpar2 server. The package also includes a simple user + interface test1 which consists of a single HTML page and a single + JavaScript file to illustrate the use of Pazpar2. + + Pazpar2 depends on the following tools/libraries: YAZ - The popular Z39.50 toolkit for the C language. YAZ must be - compiled with Libxml2/Libxslt support. + The popular Z39.50 toolkit for the C language. + YAZ must be compiled with Libxml2/Libxslt support. @@ -187,8 +193,9 @@ The latest source code for Pazpar2 is available from . Only few systems have none of the required - tools binary packages. If, for example, Libxml2/libXSLT are already - installed as development packages use these. + tools binary packages. + If, for example, Libxml2/libXSLT libraries + are already installed as development packages use these. @@ -204,6 +211,62 @@ su make install + + The make install will install manpages as well as the + Pazpar2 server, pazpar2, + in PREFIX/sbin. + By default, PREFIX is /usr/local/ . This can be + changed with configure option . + + + +
+ Installation of test1 interface + + In this section we outline how to install a simple interface that + is part of the Pazpar2 source package. Note that Debian users can + save time by just installing package pazpar2-test1. + + + A web server must be installed and running on the system, such as Apache. + + + + Start the Pazpar2 daemon using the 'in-source' binary of the Pazpar2 + daemon. + + cd etc + cp pazpar2.cfg.dist pazpar2.cfg + ../src/pazpar2 -f pazpar2.cfg -t edu.xml + + This will start a Pazpar2 listener on port 8004. It will proxy + HTTP requests to localhost - port 80, which we asssume will be the regular + HTTP server on the system. Inspect and modify pazpar2.cfg as needed + if this is to be changed. Make a new console and move to the + other stuff. For installation of Pazpar2 as a daemon, refer to the + manpage of Pazpar2. + + + + The test1 UI is located in www/test1. Ensure this + directory is available to the web server by either copying + test1 to the document root, create a symlink or + use Apache's Alias directive. + + + + The interface test1 interface should now be available on port 8004. + + + If you don't see the test1 interface. See if test1 is really available + on the same URL but on port 80. If it's not, the Apache configuration + (or other) is not correct. + + + In order to use Apache as frontend for the interface on port 80 + for public access etc., refer to + . +