Child pages
  • How to install DOMS system for kulturarvs-DEVEL or on your own machine

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
The quick and dirty guide to installing the different DOMS-system-components on DEVEL or for monkey-testing on your own machine.

h5. Clean up an existing monkey-test install (if it exists)
{code} cd ~/domsmonkeytest/summarise/sites/doms ; bin/ ; cd ../../../ ; rm -rf summarise {code}
{code} cd ~/domsmonkeytest/develtestbed/tomcat/bin ; ./ {code}
    Wait for Tomcat to disappear from a   {{ps ax \| grep tomcat}}
{code} cd ~/ ; rm -rf domsmonkeytest {code}

h5. Install DOMS core (including Ingester)

{code} cd ~/ ; mkdir domsmonkeytest ; cd domsmonkeytest {code}

{code} wget|\
nexus/service/local/repositories/releases/content/dk/statsbiblioteket/doms/testbed/testbed/0.10.18/ {code}

{code} unzip ; cd testbed-0.10.18/bin ; ./ ../../develtestbed{code}

{code} cd ../../develtestbed/ingester/radio-tv-0.0.6 ; bash bin/ -h files/hotfolder1/ {code}
    Continue with  {{hotfolder2}}  and  {{hotfolder3}}  if you need more objects in the DOMS.

h5. Install DigiTV

    Not needed for monkey-testing (pre-ingested objects for testing included in the above).

h5. Install IP Rolemapper

{code} cd ~/domsmonkeytest ; scp fedora@alhena:/fedora/DomsReleases/iprolemapping/0.0.7/ ./ ; unzip {code}

{code} 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/ {code}

{code} cd ~/domsmonkeytest/develtestbed/tomcat/conf/Catalina/localhost/ ; gedit context.xml.default {code}

&nbsp; &nbsp; before {{</Context>}} insert
{code}    <!-- 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"/>
&nbsp; &nbsp; and save the file.
{code} cp ~/domsmonkeytest/ipRoleMapping-0.0.7/wars/iprolemapping.war ~/domsmonkeytest/develtestbed/services/webapps/ {code}

h5. Install Summa backend

{code} cd ~/domsmonkeytest ; svn co "" summarise
 cd summarise/sites/doms ; bin/ ; DEBUG=1 bin/ -v ; bin/ -v
 gedit config/storage_doms.xml
&nbsp; &nbsp; below {{DOMSWebserviceURL}} define instead
{code} http://localhost:7880/centralWebservice-service/central/?wsdl {code}
&nbsp; &nbsp; and save the file.

{code} bin/ {code}

{code} bin/
 DEBUG=1 bin/

{htmlcomment}Ingest + index (update){code} bin/
  DEBUG=1 bin/

Ingest + index (test = 50 records only){code}
 DEBUG=1 bin/
 DEBUG=1 bin/

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

h5. Install Wowza with plugins

h6. Prerequisites

Install VLC by downloading it at&nbsp;[]&nbsp;and follow the installation instructions for the relevant OS on the page.
Install Wowza Streaming Server.
# Get a license key by filling the form&nbsp;[]
# Install Wowza version 2.2.3
## On OSX
### Get the install package
{code} scp wowza@iapetus:/home/wowza/releases/binary_packages/WowzaMediaServer-2.2.3.dmg ~/Download{code}
### Double click the installer and follow the on-screen instructions
## On Linux
### Get the install package for either as a Debian or RPM package (Warning: the DEB installer will overwrite prior versions.)
{code} scp wowza@iapetus:/home/wowza/releases/binary_packages/ ~/Download{code}
{code} scp wowza@iapetus:/home/wowza/releases/binary_packages/ ~/Download{code}
### Then install the package:
{code}sudo chmod +x WowzaMediaServer-2.2.3.deb.bin
sudo ./WowzaMediaServer-2.2.3.deb.bin{code}

h6. Install Wowza plugin

# Shutdown Wowza
# Save previous configurations (OSX)
{code}cp -r /Library/WowzaMediaServer-2.2.3/conf/doms ~/tmp
cp -r /Library/WowzaMediaServer-2.2.3/conf/domslive ~/tmp{code}
# Fetch release package (currently missing)
# Extract:
{code}unzip -d ~/tmp{code}
# Deploy
{code}cp -r ~/tmp/DOMS-Wowza-plugin-1.0rc2_install-package /Library/WowzaMediaServer-2.2.3/{code}
# Update configuration in the files
{code}/Library/WowzaMediaServer-2.2.3/conf/domslive/ {code}
# Start Wowza

h5. Install BES


h5. Install Web frontend