From ca3e68343b176c16151c31ded83e114635e83628 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 8 Aug 2016 23:22:50 +0300 Subject: [PATCH] Add notes for 2016-08-08 --- content/2016-08.md | 32 +++++++++++++++++++++++++++++++ public/2016-08/index.html | 37 ++++++++++++++++++++++++++++++++++++ public/index.html | 2 +- public/index.xml | 37 ++++++++++++++++++++++++++++++++++++ public/tags/notes/index.html | 2 +- public/tags/notes/index.xml | 37 ++++++++++++++++++++++++++++++++++++ 6 files changed, 145 insertions(+), 2 deletions(-) diff --git a/content/2016-08.md b/content/2016-08.md index b13e56285..8d34038cf 100644 --- a/content/2016-08.md +++ b/content/2016-08.md @@ -52,3 +52,35 @@ dspacetest=# update metadatavalue set authority='0b4fcbc1-d930-4319-9b4d-ea1553c ## 2016-08-06 - Finally figured out how to remove "View/Open" and "Bitstreams" from the item view + +## 2016-08-07 + +- Start working on Ubuntu 16.04 Ansible playbook for Tomcat 8, PostgreSQL 9.5, Oracle 8, etc + +## 2016-08-08 + +- Still troubleshooting Atmire modules on DSpace 5.5 +- Vanilla DSpace 5.5 works on Tomcat 7... +- Ooh, and vanilla DSpace 5.5 works on Tomcat 8 with Java 8! +- Some notes about setting up Tomcat 8, since it's new on this machine... +- Install latest Oracle Java 8 JDK +- Create `setenv.sh` in Tomcat 8 `libexec/bin` directory: + +``` +CATALINA_OPTS="-Djava.awt.headless=true -Xms3072m -Xmx3072m -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -Dfile.encoding=UTF-8" +CATALINA_OPTS="$CATALINA_OPTS -Djava.library.path=/opt/brew/Cellar/tomcat-native/1.2.8/lib" + +JRE_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home +``` + +- Edit Tomcat 8 `server.xml` to add regular HTTP listener for solr +- Symlink webapps: + +``` +$ rm -rf /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/ROOT +$ ln -sv ~/dspace/webapps/xmlui /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/ROOT +$ ln -sv ~/dspace/webapps/oai /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/oai +$ ln -sv ~/dspace/webapps/jspui /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/jspui +$ ln -sv ~/dspace/webapps/rest /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/rest +$ ln -sv ~/dspace/webapps/solr /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/solr +``` diff --git a/public/2016-08/index.html b/public/2016-08/index.html index 31ae14a2a..cbf2ea124 100644 --- a/public/2016-08/index.html +++ b/public/2016-08/index.html @@ -137,6 +137,43 @@ $ git rebase -i dspace-5.5
  • Finally figured out how to remove “View/Open” and “Bitstreams” from the item view
  • +

    2016-08-07

    + + + +

    2016-08-08

    + + + +
    CATALINA_OPTS="-Djava.awt.headless=true -Xms3072m -Xmx3072m -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -Dfile.encoding=UTF-8"
    +CATALINA_OPTS="$CATALINA_OPTS -Djava.library.path=/opt/brew/Cellar/tomcat-native/1.2.8/lib"
    +
    +JRE_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
    +
    + + + +
    $ rm -rf /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/ROOT
    +$ ln -sv ~/dspace/webapps/xmlui /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/ROOT
    +$ ln -sv ~/dspace/webapps/oai /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/oai
    +$ ln -sv ~/dspace/webapps/jspui /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/jspui
    +$ ln -sv ~/dspace/webapps/rest /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/rest
    +$ ln -sv ~/dspace/webapps/solr /opt/brew/Cellar/tomcat/8.5.4/libexec/webapps/solr
    +
    +