1 $Id: test-server.notes,v 1.4 2005-12-14 10:27:47 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
27 LDFLAGS=-L/home/mike/universe/lib CPPFLAGS=-I/home/mike/universe/include ./configure --prefix=/home/mike/universe
31 cd ../ZOOM-Perl/archive
32 sudo cp -p test-server.init /etc/init.d/zoom-perl-server
33 sudo chmod +x /etc/init.d/zoom-perl-server
35 sudo ln -s ../init.d/zoom-perl-server S99zoom-perl-server
36 sudo /etc/init.d/zoom-perl-server start
38 On test, two ranges of ports are left open through the firewall:
39 2100-2120 are open, meant for Z servers
40 8001-8020 are open, meant for web services
41 We arbitrarily choose port 2118 for this service.