Bookmark: The Essential Project
https://enterprise-architecture.org/os_download.php
I think I've gotten close to getting a Docker version of this up and going. Which would make it easier to try out on a broader scale.
UPDATE:
Yup, got it running. Was a heck of a thing.
- You have to use version 8 Java JDK, as it was the last one that was compiled with XML as part of the base Java.
docker-compose.yml
1version: "3"
2services:
3 essential:
4 build:
5 context: .
6 args:
7 - DISPLAY
8 ports:
9 - "8080:8080"
10 environment:
11 - DISPLAY=host.docker.internal:0
Dockerfile
1FROM debian:latest
2
3RUN apt-get -y update \
4 && apt-get -y upgrade \
5 && apt-get install -y curl unzip libxext6 libxrender1 libxtst6 software-properties-common gpg-agent wget \
6 && wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - \
7 && add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ \
8 && apt-get -y update \
9 && apt-get install -y adoptopenjdk-8-hotspot \
10 && rm -rf /var/lib/apt/lists/* \
11 && touch /tmp/wait
12
13# Get Essential
14RUN curl -L https://essential-cdn.s3.eu-west-2.amazonaws.com/protege/install_protege_3.5-Unix-Any.bin -o /tmp/install.bin \
15 && chmod u+x /tmp/install.bin \
16 && /tmp/install.bin
17 # Installed in /root/Protege_3.5
18# Get Apache Tomcat
19RUN curl -L https://apache.mirror.digitalpacific.com.au/tomcat/tomcat-9/v9.0.40/bin/apache-tomcat-9.0.40.tar.gz -o /usr/local/tomcat.tar.gz \
20 && cd /usr/local \
21 && tar xvf tomcat.tar.gz
22# Get Essential extras
23RUN cd /tmp \
24 && echo "ESSUP" \
25 && curl -L https://essential-cdn.s3.eu-west-2.amazonaws.com/essential-widgets/essentialinstallupgrade67.jar -o essup.jar \
26 && echo "Base" \
27 && curl -L https://essential-cdn.s3.eu-west-2.amazonaws.com/meta-model/essential_baseline_v6.11.1.zip -o /tmp/essential_baseline_v6.11.1.zip \
28 && unzip /tmp/essential_baseline_v6.11.1.zip \
29 && echo "Viewer" \
30 && curl -L https://essential-cdn.s3.eu-west-2.amazonaws.com/viewer/essential_viewer_6112.war -o /usr/local/apache-tomcat-9.0.40/webapps/essential_viewer.war \
31 && echo "Utility" \
32 && curl -L https://essential-cdn.s3.eu-west-2.amazonaws.com/import-utility/essential_import_utility_23.war -o /usr/local/apache-tomcat-9.0.40/webapps/essential_import.war \
33 && echo "Import" \
34 && curl -L https://essential-cdn.s3.eu-west-2.amazonaws.com/import-utility/essentialImportConfig-6.7.eic -o /tmp/essentialImportConfig-6.7.eic
35
36# Java installed via default-jdk above
37RUN echo 'JAVA_HOME="/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64"' >> /etc/environment \
38 && ln -s /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/jre
39
40ENV DISPLAY :0
41ENTRYPOINT ["tail", "-f" , "/tmp/wait"]
42#ENTRYPOINT ["/usr/local/apache-tomcat-9.0.40/bin/catalina.sh","run"]
43
44# RUN (be sure and run an XWindow mirror)
45## X11 Mac: brew install xquartz
46### After installing XQuartz, start it and open XQuartz -> Preferences from the menu bar. Go to the last tab, Security, and enable both "Allow connections from network clients" and "Authenticate connections" checkboxes and restart XQuartz.
47### export DISPLAY=127.0.0.1:0
48### xhost + 127.0.0.1
49## X11 Win: choco install vcxsrv, then run it
50# Go into the box and run
51### cd /tmp ; java -jar essup.jar (Need X11 running as it's got a GUI that requires user interaction :( )
52### cd /root/Protege_3.5 ; ./run_protege.sh and complete the install
53# Once it's installed you can use catalina to start rather than /tmp/wait
54# URLS
55# http://localhost:8080/essential_viewer/
56# http://localhost:8080/essential_import/ [admin@admin.com/admin]
57# MANUAL
58# https://www.enterprise-architecture.org/essential_import_utility.php#os