Child pages
  • How to install DOMS system for kulturarvs-DEVEL or on your own machine
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 26 Next »

The quick and dirty guide to installing the different DOMS-system-components on DEVEL or for monkey-testing on your own machine.

Clean up an existing monkey-test install (if it exists)
 cd ~/domsmonkeytest/develtestbed/tomcat/bin ; ./shutdown.sh 
 cd ~/ ; rm -r domsmonkeytest 
cd summarise/sites/doms
bin/stop_resident.sh
cd -
rm -rf summarise
Install DOMS core (including Ingester)
 cd ~/ ; mkdir domsmonkeytest ; cd domsmonkeytest 
 wget https://sbforge.org/nexus/service/local/repositories/releases/content/dk/statsbiblioteket/doms/testbed/testbed/0.10.18/testbed-0.10.18-testbed.zip|nexus/service/local/repositories/releases/content/dk/statsbiblioteket/doms/testbed/testbed/0.10.18/testbed-0.10.18-testbed.zip 
 unzip testbed-0.10.18-testbed.zip ; cd testbed-0.10.18/bin ; ./install.sh ../../develtestbed
 cd ../../develtestbed/ingester/radio-tv-0.0.6 ; bash bin/ingest.sh -h files/hotfolder1/ 

    Continue with  hotfolder2  and  hotfolder3  if you need more objects in the DOMS.

Install DigiTV

    Not needed for monkey-testing.

Install IP Rolemapper
 cd ~/domsmonkeytest ; scp fedora@alhena:/fedora/DomsReleases/iprolemapping/0.0.7/ipRoleMapping-0.0.7-bin.zip ./ ; unzip ipRoleMapping-0.0.7-bin.zip 
 mkdir ~/domsmonkeytest/develtestbed/services/conf/iprolemapper ; cp ~/domsmonkeytest/ipRoleMapping-0.0.7/data/ipRoleMappingService/ipRangesAndRoles.xml ~/domsmonkeytest/develtestbed/services/conf/iprolemapper/ ;
cp ~/domsmonkeytest/ipRoleMapping-0.0.7/data/ipRoleMappingService/log4jproperties.xml ~/domsmonkeytest/develtestbed/services/conf/iprolemapper/ 
 cd ~/domsmonkeytest/develtestbed/tomcat/conf/Catalina/localhost/ ; gedit context.xml.default 

    before </Context> insert

    <!-- IP role mapper -->
    <Parameter name="dk.statsbiblioteket.doms.iprolemapper.webservice.IPRoleMapperService.configurationFile"
               value="${user.home}/domsmonkeytest/develtestbed/services/conf/iprolemapper/ipRangesAndRoles.xml" override="false"/>
    <Parameter name="dk.statsbiblioteket.doms.iprolemapper.log4jConfigurationFilePath"
               value="${user.home}/domsmonkeytest/develtestbed/services/conf/iprolemapper/log4jproperties.xml" override="false"/>

    and save the file.

 cp ~/domsmonkeytest/ipRoleMapping-0.0.7/wars/iprolemapping.war ~/domsmonkeytest/develtestbed/services/webapps/ 
Install Summa backend

Install

svn co "https://merkur.statsbiblioteket.dk/svn/summarise/trunk" summarise
cd summarise/sites/doms
bin/synchronize.sh
DEBUG=1 bin/setup.sh -v
bin/deploy.sh -v

edit config/storage_doms.xml DOMSWebserviceURL to http://localhost:7880/centralWebservice-service/central/?wsdl

Startup

bin/start_resident.sh

Ingest + index (test = 50 records only)

DEBUG=1 bin/ingest_full.sh
DEBUG=1 bin/index_full.sh

Ingest + index (komplet)

bin/ingest_full.sh
DEBUG=1 bin/index_full.sh

Ingest + index (update)

bin/ingest_update.sh
DEBUG=1 bin/index_update.sh

Shutdown

bin/stop_resident.sh

Test front end (search for "*"): http://localhost:57308/doms/

Install Wowza with plugins

...

Install BES

...

Install Web frontend

...

  • No labels