From 6669674602784f0290db464c3c1c8d08ef0bc4d2 Mon Sep 17 00:00:00 2001 From: Siroco Date: Mon, 6 Mar 2023 01:10:16 +0000 Subject: [PATCH] Fedora 6 stable & Prepare migration 3->6 --- README.md | 15 +++++++++++++++ Tomcat.Dockerfile | 8 +++++--- fcrepo/tomcat-users.xml | 7 +++++-- 3 files changed, 25 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 850588f..6da548b 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,21 @@ $base_url = "http://myhost.drupal.net"; Server: 172.17.0.1:8080/solr +## Fedora Commons v6 + +Access: http://docker:8886/fcrepo/rest/ + +### Migration + +Fedora Export: https://wiki.lyrasis.org/display/FEDORA38/fedora-export + +Example: + + root@artxibo:/mnt/backup# /usr/local/fedora/client/bin/fedora-export.sh localhost:8080 fedoraAdmin passWord DMO info:fedora/fedora-system:FOXML-1.1 migrate /mnt/backup/ http + +Migration 3->6 : +* https://wiki.lyrasis.org/display/FEDORA6x/Migrate+to+Fedora+6 +* https://github.com/fcrepo-exts/migration-utils ## Links diff --git a/Tomcat.Dockerfile b/Tomcat.Dockerfile index 77cdc18..ffc0bb2 100644 --- a/Tomcat.Dockerfile +++ b/Tomcat.Dockerfile @@ -1,7 +1,7 @@ FROM debian:stable-slim -ENV TOMCAT_TARBALL_LINK https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.68/bin/apache-tomcat-9.0.68.tar.gz -ENV TOMCAT_DIRECTORY apache-tomcat-9.0.68 +ENV TOMCAT_TARBALL_LINK https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.73/bin/apache-tomcat-9.0.73.tar.gz +ENV TOMCAT_DIRECTORY apache-tomcat-9.0.73 RUN apt-get update && apt-get dist-upgrade -y @@ -36,10 +36,12 @@ RUN mkdir -p /opt/fcrepo/data/objects RUN mkdir -p /opt/fcrepo/config RUN chown -R tomcat:tomcat /opt/fcrepo -ENV FCREPO_WAR_URL https://github.com/fcrepo/fcrepo/releases/download/fcrepo-6.2.0/fcrepo-webapp-6.2.0.war +ENV FCREPO_WAR_URL https://github.com/fcrepo/fcrepo/releases/download/fcrepo-6.3.0/fcrepo-webapp-6.3.0.war RUN wget -O fcrepo.war $FCREPO_WAR_URL RUN mv fcrepo.war /opt/tomcat/webapps RUN chown tomcat:tomcat /opt/tomcat/webapps/fcrepo.war +## Migrationo Tools +RUN wget -O migration-utils.jar https://github.com/fcrepo-exts/migration-utils/releases/download/migration-utils-6.3.0/migration-utils-6.3.0-driver.jar ENTRYPOINT /opt/tomcat/bin/catalina.sh run diff --git a/fcrepo/tomcat-users.xml b/fcrepo/tomcat-users.xml index 22cd831..978e919 100644 --- a/fcrepo/tomcat-users.xml +++ b/fcrepo/tomcat-users.xml @@ -1,12 +1,15 @@ - - + + + +