Core OpenMBEE installation:
Install Model Management System and View Editor MMS and VE following the guide:
https://github.com/Open-MBEE/mms-alfresco/blob/develop/mms-ent/docs/quick-start.md
It needs centos 7, 16GB ram
System Name: uksa-mbee.ag.rl.ac.uk 130.246.189.51
System OS: CentOS Linux release 7.9.2009 (Core)
System Memory: 16GB
1. Update os
1.1 yum -y update
1.2 install OpenJDK java and java-devel
yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel
2. Install and configure ElasticSearch
2.1 rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
[root@uksa-mbee]# cat elasticsearch.repo
[elasticsearch-5.x]
name=Elasticsearch repository for 5.x packages
baseurl=https://artifacts.elastic.co/packages/5.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
yum install -y elasticsearch
Installed:
elasticsearch.noarch 0:5.6.16-1
Complete!
2.2 customise /etc/elasticsearch/elasticsearch.yml
rsync /etc/elasticsearch/elasticsearch.yml /etc/elasticsearch/elasticsearch.yml.original
vi /etc/elasticsearch/elasticsearch.yml
cluster.name: uksa-openmbee
node.name: uksa-mbee
path.data: /elasticsearch
path.logs: /elasticsearch/logs
network.host: 130.246.189.51
http.port: 9200
mkdir -p /elasticsearch/logs
chown -R elasticsearch:elasticsearch /elasticsearch/
sudo systemctl daemon-reload
sudo systemctl enable elasticsearch.service
systemctl start elasticsearch.service
[root@uksa-mbee ~]# systemctl status elasticsearch.service
â elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2022-03-15 16:49:55 GMT; 22h ago
Docs: http://www.elastic.co
Main PID: 1128 (java)
CGroup: /system.slice/elasticsearch.service
ââ1128 /bin/java -Xms2g -Xmx2g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOcc...
Mar 15 16:49:55 uksa-mbee.ag.rl.ac.uk systemd[1]: Starting Elasticsearch...
Mar 15 16:49:55 uksa-mbee.ag.rl.ac.uk systemd[1]: Started Elasticsearch.
[root@uksa-mbee classes]#
2.3 To check and confirm elasticsearh started okay
[root@uksa-mbee ~]# curl -XGET 'http://uksa-mbee:9200/_cluster/state?pretty'
{
"cluster_name" : "uksa-openmbee",
"version" : 2,
"state_uuid" : "x_kUiTUVTMOmJQuP0w_XMg",
"master_node" : "I5mrssLYTlKdBvZNNhNgBw",
"blocks" : { },
"nodes" : {
"I5mrssLYTlKdBvZNNhNgBw" : {
"name" : "uksa-mbee",
"ephemeral_id" : "1dBU0ugFRa6SRPEXPxGIvA",
"transport_address" : "130.246.189.51:9300",
"attributes" : { }
}
},
"metadata" : {
"cluster_uuid" : "I61wk4wDSqiKjy24Xz0XSA",
"templates" : {
"template" : {
"template" : "*",
"order" : 0,
"settings" : {
"index" : {
"number_of_shards" : "3"
}
},
"mappings" : {
"ref" : {
"dynamic_templates" : [
{
"id_as_keywords" : {
"match_pattern" : "regex",
"mapping" : {
"type" : "keyword"
},
"match_mapping_type" : "string",
"match" : ".*(Id|Ids)"
}
}
],
"properties" : {
"_creator" : {
"type" : "keyword"
},
"_modifier" : {
"type" : "keyword"
},
"_created" : {
"format" : "yyyy-MM-dd'T'HH:mm:ss.SSSZ",
"type" : "date"
},
"id" : {
"type" : "keyword"
},
"type" : {
"type" : "keyword"
},
"_modified" : {
"format" : "yyyy-MM-dd'T'HH:mm:ss.SSSZ",
"type" : "date"
},
"status" : {
"type" : "keyword"
}
}
},
"element" : {
"dynamic_templates" : [
{
"id_as_keywords" : {
"match_pattern" : "regex",
"mapping" : {
"type" : "keyword"
},
"match_mapping_type" : "string",
"match" : ".*(Id|Ids)"
}
},
{
"id_and_type" : {
"match_pattern" : "regex",
"mapping" : {
"type" : "keyword"
},
"match_mapping_type" : "string",
"match" : "(id|ids|type|uri|URI)"
}
},
{
"boolean" : {
"match_pattern" : "regex",
"mapping" : {
"type" : "boolean"
},
"match_mapping_type" : "*",
"match" : "is[A-Z].*"
}
},
{
"text" : {
"match_pattern" : "regex",
"mapping" : {
"type" : "text"
},
"match_mapping_type" : "string",
"match" : "(body|documentation)"
}
},
{
"value" : {
"path_unmatch" : "value",
"mapping" : {
"type" : "text",
"fields" : {
"keyword" : {
"ignore_above" : 256,
"type" : "keyword"
}
}
},
"match_mapping_type" : "*",
"match" : "value"
}
}
],
"properties" : {
"_modifier" : {
"type" : "keyword"
},
"visibility" : {
"type" : "keyword"
},
"ordering" : {
"type" : "keyword"
},
"kind" : {
"type" : "keyword"
},
"interactionOperator" : {
"type" : "keyword"
},
"_qualifiedName" : {
"type" : "keyword"
},
"_qualifiedId" : {
"type" : "keyword"
},
"aggregation" : {
"type" : "keyword"
},
"messageKind" : {
"type" : "keyword"
},
"mustIsolate" : {
"type" : "boolean"
},
"concurrency" : {
"type" : "keyword"
},
"mode" : {
"type" : "keyword"
},
"messageSort" : {
"type" : "keyword"
},
"_creator" : {
"type" : "keyword"
},
"effect" : {
"type" : "keyword"
},
"_created" : {
"format" : "yyyy-MM-dd'T'HH:mm:ss.SSSZ",
"type" : "date"
},
"_elasticId" : {
"type" : "keyword"
},
"_modified" : {
"format" : "yyyy-MM-dd'T'HH:mm:ss.SSSZ",
"type" : "date"
},
"direction" : {
"type" : "keyword"
}
}
},
"commit" : {
"properties" : {
"deleted" : {
"properties" : {
"previousElasticId" : {
"type" : "keyword"
},
"id" : {
"type" : "keyword"
},
"type" : {
"type" : "keyword"
}
}
},
"_creator" : {
"type" : "keyword"
},
"added" : {
"properties" : {
"id" : {
"type" : "keyword"
},
"_elasticId" : {
"type" : "keyword"
},
"type" : {
"type" : "keyword"
},
"contentType" : {
"type" : "keyword"
}
}
},
"_created" : {
"format" : "yyyy-MM-dd'T'HH:mm:ss.SSSZ",
"type" : "date"
},
"_elasticId" : {
"type" : "keyword"
},
"updated" : {
"properties" : {
"previousElasticId" : {
"type" : "keyword"
},
"id" : {
"type" : "keyword"
},
"_elasticId" : {
"type" : "keyword"
},
"type" : {
"type" : "keyword"
}
}
},
"_projectId" : {
"type" : "keyword"
}
}
},
"profile" : {
"dynamic_templates" : [
{
"id_as_keywords" : {
"match_pattern" : "regex",
"mapping" : {
"type" : "keyword"
},
"match_mapping_type" : "string",
"match" : ".*(Id|Ids)"
}
},
{
"id_and_type" : {
"match_pattern" : "regex",
"mapping" : {
"type" : "keyword"
},
"match_mapping_type" : "string",
"match" : "(id|ids|type|uri|URI)"
}
}
],
"properties" : {
"username" : {
"type" : "keyword"
}
}
},
"artifact" : {
"properties" : {
"_modifier" : {
"type" : "keyword"
},
"_created" : {
"format" : "yyyy-MM-dd'T'HH:mm:ss.SSSZ",
"type" : "date"
},
"checksum" : {
"type" : "keyword"
},
"id" : {
"type" : "keyword"
},
"type" : {
"type" : "keyword"
},
"_elasticId" : {
"type" : "keyword"
},
"artifactLocation" : {
"type" : "keyword"
},
"contentType" : {
"type" : "keyword"
},
"_refId" : {
"type" : "keyword"
},
"_modified" : {
"format" : "yyyy-MM-dd'T'HH:mm:ss.SSSZ",
"type" : "date"
},
"_projectId" : {
"type" : "keyword"
}
}
}
}
}
},
"indices" : { },
"index-graveyard" : {
"tombstones" : [ ]
}
},
"routing_table" : {
"indices" : { }
},
"routing_nodes" : {
"unassigned" : [ ],
"nodes" : {
"I5mrssLYTlKdBvZNNhNgBw" : [ ]
}
}
}
3. Install Alfresco installer on Tomcat
Download:
the 64-bit Linux Installer
https://download.alfresco.com/release/community/201605-build-00010/alfresco-community-installer-201605-linux-x64.bin
ls -ls alfresco-community-installer-201605-linux-x64.bin
789348 -rw-r--r-- 1 root root 808291492 May 17 2016 alfresco-community-installer-201605-linux-x64.bin
Noting the simpleinstall-community-lin.html is not found!
http://docs.alfresco.com/community/tasks/simpleinstall-community-lin.html
3.1 The following steps are also needed:
add en_GB.UTF-8 locale by
localedef -c -i en_GB -f UTF-8 en_GB.UTF-8
localectl set-locale LANG=en_GB.utf8
export LANG="en_GB.utf8"
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64
export JRE_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre
according to:
https://centos-admin.tumblr.com/
echo 127.0.0.1 alfresco >> /etc/hosts
echo 130.246.189.51 alfresco >> /etc/hosts
yum -y install fontconfig libSM libICE libXrender libXext
useradd alfresco
passwd alfresco # set password to alfresco_password
chmod +x alfresco-community-installer-201605-linux-x64.bin
3.2 invoke the alfresco installer
.alfresco-community-installer-201605-linux-x64.bin
English
Advanced:
default: java
postgreSQL
LibreOffice
Alfresco Community
no Solr1
yes Solr4
Alfresco Office services
no web quick start
yes Google docs integration
select yes to all of the above, including Solr and web quick start
Destination: /opt/alfresco-community
Database server port: 5432
Tomcat configuration:
Web server domain; 130.246.189.51
Tomcat server port: 8080
Tomcat shutdown port: 8005
Tomcat SSL port: 8443
Tomcat AJP port: 8009
LibreOffice Server Port: 8100
FTP port: 21
Admin password: alfresco_password
Install Alfresco community as a service? Yes
SMTP TCP Port inuse: 25
Folder: /opt/alfresco-community
The installer completed and displayed two web pages:
http://localhost:8080/
http://localhost:8080/share/page
They both appear okay.
3.3 enable local host firewall
trusted_port_list="21/tcp 21/udp 5432/tcp 8000-8010/tcp 8080-8110/tcp 8443/tcp 9200-9300/tcp"
for port in $trusted_port_list
do
firewall-cmd --permanent --zone=trusted --add-port=${port}
done
firewall-cmd --reload
4. Configure Postgresql
4.1 Set up mms account, password and role:
su - postgres
postgres=# CREATE USER "mms" WITH ENCRYPTED PASSWORD 'alfresco_password';
postgres=# ALTER ROLE "mms" WITH CREATEDB;
postgres=# \du
List of roles
Role name | Attributes | Member of
-----------+------------------------------------------------+-----------
alfresco | | {}
mms | Create DB | {}
postgres | Superuser, Create role, Create DB, Replication | {}
4.2 Set up database "mms" owned by "mms"
postgres=# CREATE DATABASE "mms" WITH OWNER "mms";
postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+------------+------------+-----------------------
alfresco | alfresco | UTF8 | en_GB.utf8 | en_GB.utf8 |
mms | mms | UTF8 | en_GB.utf8 | en_GB.utf8 |
postgres | postgres | UTF8 | en_GB.utf8 | en_GB.utf8 |
template0 | postgres | UTF8 | en_GB.utf8 | en_GB.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_GB.utf8 | en_GB.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
(5 rows)
4.3 to ease login, add the passwords in .pgpass
echo "localhost:*:*:postgres:alfresco_password" >> .pgpass
echo "localhost:*:*:mms:alfresco_password" >> .pgpass
echo "uksa-mbee:*:*:mms:alfresco_password" >> .pgpass
chmod 600 .pgpass
4.4 to test postgres access:
[root@uksa-mbee classes]# psql -h uksa-mbee -U mms mms -l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+------------+------------+-----------------------
alfresco | alfresco | UTF8 | en_GB.utf8 | en_GB.utf8 |
mms | mms | UTF8 | en_GB.utf8 | en_GB.utf8 |
postgres | postgres | UTF8 | en_GB.utf8 | en_GB.utf8 |
template0 | postgres | UTF8 | en_GB.utf8 | en_GB.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_GB.utf8 | en_GB.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
(5 rows)
[root@uksa-mbee classes]#
5. Upload Schemas for ElasticSearch and Postgres
5.1 download mapping_template.json, mms_mappings.sh and mms.sql and save all to the same directory
wget https://raw.githubusercontent.com/Open-MBEE/mms-alfresco/develop/mms-ent/repo-amp/src/main/resources/mapping_template.json
wget https://raw.githubusercontent.com/Open-MBEE/mms-alfresco/develop/mms-ent/repo-amp/src/main/resources/mms_mappings.sh
wget https://raw.githubusercontent.com/Open-MBEE/mms-alfresco/develop/mms-ent/repo-amp/src/main/resources/mms.sql
5.2 Run mms_mappings.sh
bash mms_mappings.sh
[root@uksa-mbee]# bash mms_mappings.sh
creating element mappings: {"acknowledged":true}
[root@uksa-mbee]#
5.3 Upload mms.sql to Postgres:
psql -h uksa-mbee -p 5432 -U mms -d mms -v schema=public < mms.sql
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
6. Install ActiveMQ (Optional, only used for VE realtime updates)
6.1 According to quick start guie, get activemq binaries from:
wget http://www.us.apache.org/dist/activemq/5.12.1/apache-activemq-5.12.1-bin.tar.gz
The above didnt work anymore, instead:
firefox https://activemq.apache.org/components/classic/download/
clicked on classic apache-activemq-5.16.3-bin.tar.tz
ls apache-activemq-5.16.3-bin.tar.gz
tar -zxf apache-activemq-5.16.3-bin.tar.gz
mv apache-activemq-5.16.3 /opt
ln -s /opt/apache-activemq-5.16.3 /opt/activemq
adduser --system activemq
chown -R activemq: /opt/activemq
chown -R activemq: /opt/apache-activemq-5.16.3
6.2 start activemq:
[root@uksa-mbee]# /opt/activemq/bin/activemq start
INFO: Loading '/opt/apache-activemq-5.16.3//bin/env'
INFO: Using java '/usr/bin/java'
INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details
INFO: pidfile created : '/opt/apache-activemq-5.16.3//data/activemq.pid' (pid '13047')
6.3 enable activemq at the next system start up
ln -s /opt/activemq/bin/activemq /etc/init.d/
chkconfig --add activemq
7. install MMS Moulde Management System
7.1 Grab the latest mms-amp and mms-share-amp from the github release page:
cd /root/openmbee
wget https://github.com/Open-MBEE/mms-alfresco/releases/download/3.4.2/mms-amp-3.4.2.amp
wget https://github.com/Open-MBEE/mms-alfresco/releases/download/3.4.2/mms-share-amp-3.4.2.amp
ln -s mms-amp-3.4.2.amp mms-amp.amp
ln -s mms-share-amp-3.4.2.amp mms-share-amp.amp
7.2 update mms-amp.amp to alfresco.war and mms-share-amp.amp to share.war
[root@uksa-mbee]# locate alfresco.war
/opt/alfresco-community/tomcat/webapps/alfresco.war
[root@uksa-mbee mbee]# locate share.war
/opt/alfresco-community/tomcat/webapps/share.war
YOUR_PATH=/root/mbee
cd /opt/alfresco-community/tomcat/webapps
java -jar ../bin/alfresco-mmt.jar install $YOUR_PATH/mms-amp.amp alfresco.war -force
- WARNING: The file '/WEB-INF/lib/java-property-utils-1.9.1.jar' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/01f2d1a5-8740-11ec-b5ab-6ffd3bde1eed.bin'
- WARNING: The file '/WEB-INF/web.xml' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/01f6a236-8740-11ec-b5ab-6ffd3bde1eed.bin'
- WARNING: The file '/WEB-INF/lib/httpcore-4.4.3.jar' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/01f8c517-8740-11ec-b5ab-6ffd3bde1eed.bin'
- WARNING: The file '/WEB-INF/lib/slf4j-api-1.7.12.jar' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/01f98868-8740-11ec-b5ab-6ffd3bde1eed.bin'
- WARNING: The file '/WEB-INF/lib/hazelcast-2.4.jar' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/01f9fd99-8740-11ec-b5ab-6ffd3bde1eed.bin'
- WARNING: The file '/WEB-INF/lib/commons-logging-1.2.jar' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/01fb5d2a-8740-11ec-b5ab-6ffd3bde1eed.bin'
- WARNING: The file '/WEB-INF/lib/httpclient-4.5.1.jar' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/01fbf96b-8740-11ec-b5ab-6ffd3bde1eed.bin'
- WARNING: The file '/WEB-INF/lib/ST4-4.0.8.jar' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/01fdf53c-8740-11ec-b5ab-6ffd3bde1eed.bin'
- WARNING: The file '/WEB-INF/lib/commons-lang-2.6.jar' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/01ff2dbd-8740-11ec-b5ab-6ffd3bde1eed.bin'
- WARNING: The file '/WEB-INF/lib/commons-codec-1.10.jar' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/0200663e-8740-11ec-b5ab-6ffd3bde1eed.bin'
- WARNING: The file '/WEB-INF/lib/antlr-2.7.7.jar' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/0201509f-8740-11ec-b5ab-6ffd3bde1eed.bin'
java -jar ../bin/alfresco-mmt.jar install $YOUR_PATH/mms-share-amp.amp share.war -force
- WARNING: The file '/components/documentlibrary/documentlist-view-detailed.js' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/489147b3-8740-11ec-ac69-0f6eab7cf1e5.bin'
- WARNING: The file '/components/documentlibrary/tree.js' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/4894ca24-8740-11ec-ac69-0f6eab7cf1e5.bin'
- WARNING: The file '/components/documentlibrary/documentlist-view-detailed-min.js' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/48953f55-8740-11ec-ac69-0f6eab7cf1e5.bin'
- WARNING: The file '/components/documentlibrary/tree-min.js' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/4895b486-8740-11ec-ac69-0f6eab7cf1e5.bin'
- WARNING: The file '/WEB-INF/classes/alfresco/messages/slingshot.properties' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/4896c5f7-8740-11ec-ac69-0f6eab7cf1e5.bin'
- WARNING: The file '/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/documentlibrary/data/surf-doclist.lib.js' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/489a4868-8740-11ec-ac69-0f6eab7cf1e5.bin'
- WARNING: The file '/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/footer/footer.get_en.properties' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/489b0bb9-8740-11ec-ac69-0f6eab7cf1e5.bin'
- WARNING: The file '/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/footer/footer.get.html.ftl' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/489ba7fa-8740-11ec-ac69-0f6eab7cf1e5.bin'
7.3 Create and edit the mms.properties file in the $TOMCAT_HOME/shared/classes directory (You can copy mms.properties.example and update as appropriate)
YOUR_PATH=/root/mbee
cd $YOUR_PATH
wget https://raw.githubusercontent.com/Open-MBEE/mms-alfresco/develop/mms-ent/mms.properties.example
WEBAPPS_DIR=/opt/alfresco-community/tomcat/webapps
TOMCAT_HOME=/opt/alfresco-community/tomcat
rsync -v $YOUR_PATH/mms.properties.example $TOMCAT_HOME/shared/classes/mms.properties
vi $TOMCAT_HOME/shared/classes/mms.properties # change defaults to
# CUSTOM PROPERTIES # defaults
#Application Settings
app.name=OpenMBEE # APPNAME
app.title=OpenMBEE # APPTITLE
app.url=http://uksa-mbee.ag.rl.ac.uk:8080 # http://localhost:8080
app.port=8080
app.email.from=root@uksa-mbee.ag.rl.ac.uk # EMAIL@EXAMPLE.COM
app.domain.name=ag.rl.ac.uk # EXAMPLE.COM
app.email.admin=root@uksa-mbee.ag.rl.ac.uk # ADMIN@EXAMPLE.COM
app.logo.url=SOMELOGOURL
app.logo.alt=SOMELOGOALT
app.org.name=uksa # SOMEORGANIZATIONNAME
app.inst.name=stfc # SOMEINSTITUTIONNAME
app.user=admin
app.pass=alfresco_password # admin
#Postgres Settings
pg.host=jdbc:postgresql://127.0.0.1/
pg.name=mms # POSTGRESDBNAME
pg.user=mms # POSTGRESUSERNAME
pg.pass=alfresco_password # POSTGRESPASSWORD
pg.conn.max=96
pg.limit.insert=5000
pg.limit.select=1000
pg.secured=false
#Document Store Settings
#docstore.impl for Elastic Search: gov.nasa.jpl.view_repo.db.ElasticImpl
docstore.impl=gov.nasa.jpl.view_repo.db.ElasticImpl
#Elasticsearch Settings
elastic.host=http://uksa-mbee.ag.rl.ac.uk:9200 # http://localhost:9200
elastic.index.element=mms
elastic.limit.insert=80
elastic.limit.result=10000
elastic.limit.term=10000
#JMS Setting
jms.ctxfactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory
jms.connfactory=ConnectionFactory
#jms.username=
#jms.password=
jms.destination=master
jms.uri=tcp://localhost:61616
#Pandoc Settings
pandoc.output.dir=/tmp
pandoc.output.filename=tmp.output
pandoc.exec=/usr/bin/pandoc # /usr/local/bin/pandoc
pandoc.pdfengine=prince
pandoc.princeexec=/usr/bin/prince # /usr/local/bin/prince
7.4 to support pandoc and prince
yum -y install pandoc # from standard epel
wget https://www.princexml.com/download/prince-14.2-1.centos7.x86_64.rpm
yum -y localinstall prince
8. Install View Editor VE
8.1.Get the latest VE release zip from github release page
wget https://github.com/Open-MBEE/ve/releases/download/3.6.1/ve-3.6.1.zip
unzip ve-3.6.1.zip
[root@uksa-mbee]# ls dist
assets bower.json css docs fonts index.html js lib mms.html
8.2 Copy ve kit to /opt/alfresco-community/tomcat/webapps/alfresco/ve
rsync -a dist/ /opt/alfresco-community/tomcat/webapps/alfresco/ve
[root@uksa-mbee]# ls /opt/alfresco-community/tomcat/webapps/alfresco/ve
assets bower.json css docs fonts index.html js lib mms.html
9. start tomcat
[root@uksa-mbee ve]# systemctl start alfresco
[root@uksa-mbee ve]# echo $?; systemctl status alfresco
0
â alfresco.service - SYSV: Alfresco Community
Loaded: loaded (/etc/rc.d/init.d/alfresco; bad; vendor preset: disabled)
Active: active (exited) since Tue 2022-03-15 09:52:42 GMT; 18s ago
Docs: man:systemd-sysv-generator(8)
Process: 8911 ExecStart=/etc/rc.d/init.d/alfresco start (code=exited, status=0/SUCCESS)
Mar 15 09:52:35 uksa-mbee.ag.rl.ac.uk systemd[1]: Starting SYSV: Alfresco Com...
Mar 15 09:52:35 uksa-mbee.ag.rl.ac.uk alfresco[8911]: /opt/alfresco-community...
Mar 15 09:52:40 uksa-mbee.ag.rl.ac.uk alfresco[8911]: /opt/alfresco-community...
Mar 15 09:52:42 uksa-mbee.ag.rl.ac.uk systemd[1]: Started SYSV: Alfresco Comm...
Hint: Some lines were ellipsized, use -l to show in full.
[root@uksa-mbee ve]#
10. The ve login url would be http://uksa-mbee:8080/alfresco/ve/mms.html
Get the username and password prompt, by after entering that,
it prompts for Org and Project.
But there is no option inthe Org drop-down menu.