7b5e2b93a869b1b12851893620bd50227d907a90
[ZOOM-Perl-moved-to-github.git] / archive / test-server / test-server.notes
1 $Id: test-server.notes,v 1.5 2008-09-26 13:38:35 mike Exp $
2
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 z3950.indexdata.com
5 port 2100, using isam:b and recognising a normal user "user" with
6 password "frog" and an administrator "admin" with password "fish".
7
8 Long ago, when I first started to provide this, I needed to build an
9 up-to-date Zebra in a custom universe, so as not to interfere with the
10 Debian packages used elsewhere on test, and to start the server with
11 appropriate configuration.  Below are notes on how I did it, BUT NONE
12 OF THIS SHOULD BE NECESSARY ANY MORE.
13
14         ssh test
15         mkdir -p universe/src
16         cd universe/src
17         cvs -q -d ":pserver:mike@bagel.indexdata.dk:/home/cvsroot" co yaz
18         cvs -q -d ":pserver:mike@bagel.indexdata.dk:/home/cvsroot" co zebra
19         cvs -q -d ":pserver:mike@bagel.indexdata.dk:/home/cvsroot" co ZOOM-Perl
20         cd yaz
21         ./buildconf.sh
22         LDFLAGS=-L/home/mike/universe/lib CPPFLAGS=-I/home/mike/universe/include ./configure --prefix=/home/mike/universe
23         make
24         make check
25         make install
26         cd ../zebra
27         ./buildconf.sh
28         LDFLAGS=-L/home/mike/universe/lib CPPFLAGS=-I/home/mike/universe/include ./configure --prefix=/home/mike/universe
29         make
30         make check
31         make install
32         cd ../ZOOM-Perl/archive
33         sudo cp -p test-server.init /etc/init.d/zoom-perl-server
34         sudo chmod +x /etc/init.d/zoom-perl-server
35         cd /etc/rc2.d
36         sudo ln -s ../init.d/zoom-perl-server S99zoom-perl-server
37         sudo /etc/init.d/zoom-perl-server start
38
39 On test, two ranges of ports are left open through the firewall:
40         2100-2120 are open, meant for Z servers
41         8001-8020 are open, meant for web services
42 We arbitrarily choose port 2118 for this service.
43