#Edit /etc/apt/sources.list and add
#deb http://combine.it.lth.se/ debian/
#deb http://ftp.indexdata.dk/debian sarge main
#deb-src http://ftp.indexdata.dk/debian sarge main

sudo apt-get update
sudo apt-get install combine idzebra2.0 yaz xsltproc

#INIT
sudo combineINIT --jobname atest
combineCtrl --jobname atest load < seeds.txt

#edit /etc/combine/atest/combine.cfg
#  and add 'ZebraHost = localhost:3003'
#  at the end

cd ZebraConf

#edit ZebraConf.xml and change
#  <serverInfo protocol="SRW/SRU/Z39.50">
#    <host>ldbkit06</host>
#    <port>3003</port>
#to whatever you are running on
 
make setup
make

#copy the simple UI to a Web-server (see instructions at the end of
#the README file)

#Run Zebra
rm server.log 
zebrasrv -f yazserver.xml -l server.log &
#################################

cd ..

#Run a test with Combine/Zebra
combineCtrl --jobname atest start 
sleep 15
#test searching using simplesearch.phtml
#
combineCtrl --jobname atest kill
