Fedora 6 stable & Prepare migration 3->6

This commit is contained in:
Siroco 2023-03-06 01:10:16 +00:00
parent f490921fa6
commit 6669674602
3 changed files with 25 additions and 5 deletions

View File

@ -55,6 +55,21 @@ $base_url = "http://myhost.drupal.net";
Server: 172.17.0.1:8080/solr 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 ## Links

View File

@ -1,7 +1,7 @@
FROM debian:stable-slim 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_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.68 ENV TOMCAT_DIRECTORY apache-tomcat-9.0.73
RUN apt-get update && apt-get dist-upgrade -y 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 mkdir -p /opt/fcrepo/config
RUN chown -R tomcat:tomcat /opt/fcrepo 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 wget -O fcrepo.war $FCREPO_WAR_URL
RUN mv fcrepo.war /opt/tomcat/webapps RUN mv fcrepo.war /opt/tomcat/webapps
RUN chown tomcat:tomcat /opt/tomcat/webapps/fcrepo.war 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 ENTRYPOINT /opt/tomcat/bin/catalina.sh run

View File

@ -1,12 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<tomcat-users xmlns="http://tomcat.apache.org/xml" <tomcat-users ixmlns="http://tomcat.apache.org/xml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd" xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
version="1.0"> version="1.0">
<role rolename="tomcat"/> <role rolename="tomcat"/>
<role rolename="fedoraAdmin"/> <role rolename="fedoraAdmin"/>
<role rolename="fedoraUser"/> <role rolename="fedoraUser"/>
<user username="tomcat" password="islandora" roles="tomcat"/> <role rolename="manager-gui"/>
<role rolename="admin-gui"/>
<user username="tomcat" password="islandora" roles="tomcat manager-gui admin-gui"/>
<user username="luca" password="islandora" roles="manager-gui"/>
<user username="fedoraAdmin" password="islandora" roles="fedoraAdmin"/> <user username="fedoraAdmin" password="islandora" roles="fedoraAdmin"/>
<user username="fedoraUser" password="islandora" roles="fedoraUser"/> <user username="fedoraUser" password="islandora" roles="fedoraUser"/>
</tomcat-users> </tomcat-users>