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