1 $Id: test-server.notes,v 1.3 2005-12-14 10:00:54 mike Exp $
3 To run the test-suite, this module needs an up-to-date Zebra server
4 (as of Tue Dec 13 17:41:05 GMT 2005) running on test.indexdata.com
5 port 2118, using isam:b and recognising a normal user "user" with
6 password "frog" and an administrator "admin" with password "fish".
8 To provide this, I needed to build an up-to-date Zebra in a custom
9 universe, so as not to interfere with the Debian packages used
10 elsewhere on test, and to start the server with appropriate
11 configuration. Here's how I did it:
16 cvs -q -d ":pserver:mike@bagel.indexdata.dk:/home/cvsroot" co yaz
17 cvs -q -d ":pserver:mike@bagel.indexdata.dk:/home/cvsroot" co zebra
18 cvs -q -d ":pserver:mike@bagel.indexdata.dk:/home/cvsroot" co ZOOM-Perl
21 LDFLAGS=-L/home/mike/universe/lib CPPFLAGS=-I/home/mike/universe/include ./configure --prefix=/home/mike/universe
26 LDFLAGS=-L/home/mike/universe/lib CPPFLAGS=-I/home/mike/universe/include ./configure --prefix=/home/mike/universe
29 cd ../ZOOM-Perl/archive
30 sudo cp test-server.init /etc/init.d/zoom-perl-server
32 sudo ln -s ../init.d/zoom-perl-server S99zoom-perl-server
33 sudo /etc/init.d/zoom-perl-server start
35 On test, two ranges of ports are left open through the firewall:
36 2100-2120 are open, meant for Z servers
37 8001-8020 are open, meant for web services
38 We arbitrarily choose port 2118 for this service.