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

Versions Compared

Key

  • 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/stop_resident.sh ; cd ../../../ ; rm -rf summarise {code}
{code} cd ~/domsmonkeytest/develtestbed/tomcat/bin ; ./shutdown.sh {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 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 {code}

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

{code} cd ../../develtestbed/ingester/radio-tv-0.0.6 ; bash bin/ingest.sh -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/ipRoleMapping-0.0.7-bin.zip ./ ; unzip ipRoleMapping-0.0.7-bin.zip {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"/>
{code}
&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 "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
 gedit config/storage_doms.xml
{code}
&nbsp; &nbsp; below {{DOMSWebserviceURL}} define instead
{code} http://localhost:7880/centralWebservice-service/central/?wsdl {code}
&nbsp; &nbsp; and save the file.

{code} bin/start_resident.sh {code}

{code} bin/ingest_full.sh
 DEBUG=1 bin/index_full.sh
{code}

{htmlcomment}Ingest + index (update){code} bin/ingest_update.sh
  DEBUG=1 bin/index_update.sh
 {code}

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

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




h5. Install Wowza with plugins

h6. Prerequisites

Install VLC by downloading it at&nbsp;[http://www.videolan.org/vlc/]&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;[http://www.wowzamedia.com/pro10s.php]
# 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/WowzaMediaServer-2.2.3.deb.bin.sh ~/Download{code}
{code} scp wowza@iapetus:/home/wowza/releases/binary_packages/WWowzaMediaServer-2.2.3.rpm.bin.sh ~/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
{code}/Library/WowzaMediaServer-2.2.3/bin/shutdown.sh{code}
# 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 DOMS-Wowza-plugin-1.0rc2_install-package.zip -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/doms/doms-wowza-plugin.properties{code}
{code}/Library/WowzaMediaServer-2.2.3/conf/domslive/domslive-wowza-plugin.properties {code}
# Start Wowza
{code}/Library/WowzaMediaServer-2.2.3/bin/startup.sh{code}



h5. Install BES

...


h5. Install Web frontend

...