From: Adam Dickmeiss Date: Wed, 14 May 2008 09:35:46 +0000 (+0200) Subject: Added section on Pazpar2 installation on Windows. X-Git-Tag: v1.0.9~6 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=ac0bcf66d85044be0461cf2748ecd5fc1b90186f;p=pazpar2-moved-to-github.git Added section on Pazpar2 installation on Windows. --- diff --git a/doc/book.xml b/doc/book.xml index 6ed3ee0..aae3a77 100644 --- a/doc/book.xml +++ b/doc/book.xml @@ -222,6 +222,55 @@ +
+ Installation on Windows (from Source) + + Pazpar2 can be built for Windows using + Microsoft Visual Studio. + The support files for building YAZ on Windows are located in the + win directory. The compilation is performed + using the win/makefile which is to be + processed by the NMAKE utility part of Visual Studio. + + + Ensure that the development libraries + header files are + available on your system before compiling Pazpar2. For installation + of YAZ, refer to the YAZ installation chapter. + It is easiest if YAZ and Pazpar2 are unpacked in the same + directory (side-by-side). + + + The compilation is tuned by editing the makefile of Pazpar2. + The process is similar to YAZ. Adjust the various directories + YAZ_DIR, ZLIB_DIR, .. + + + Compile Pazpar2 by invoking nmake in + the win directory. + The resulting binaries of the build process are located in the + bin of the Pazpar2 source + tree - including the pazpar2.exe and necessary DLLs. + + + The Windows version of Pazpar2 is a console application. It may + be installed as a Windows Service by adding option + -install for the pazpar2 program. This will + register Pazpar2 as a service and use the other options provided + in the same invocation. For example: + + cd \MyPazpar2\etc + ..\bin\pazpar2 -install -c pazpar2.cfg -l pazpar2.log + + The Pazpar2 service may now be controlled via the Service Control + Panel. It may be unregistered by passing the -remove + option. Example: + + cd \MyPazpar2\etc + ..\bin\pazpar2 -remove + + +
+
Installation of test1 interface @@ -235,12 +284,18 @@ Start the Pazpar2 daemon using the 'in-source' binary of the Pazpar2 - daemon. + daemon. On Unix the process is: cd etc cp pazpar2.cfg.dist pazpar2.cfg ../src/pazpar2 -f pazpar2.cfg -t edu.xml + And on Windows: + + cd etc + copy pazpar2.cfg.dist pazpar2.cfg + ..\bin\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 assume will be the regular HTTP server on the system. Inspect and modify pazpar2.cfg as needed