2.3 手动安装 - ise.thss.tsinghua.edu.cn

Post on 28-Mar-2022

7 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT


DWF
JDK 1.8, jar Node 10.16 Python 3 tomcat 8 Web,war PostgreSQL 9.5DWF

2Jar
1 deployfiles db-pure.sql
2 deployfiles application.properties
7 web helps
DWF

2JDK
3JDK
java -version
Tomcat
/opt/apache-tomcat/bin/startup.sh tomcat( /opt/apache-tomcat/bin/shutdown.sh)
http://IP:8180 http://192.168.1.137:8180
3
sudo -u postgres /usr/lib/postgresql/10/bin/psql -d postgres -w -c "ALTER USER postgres WITH SUPERUSER PASSWORD '123456'"
-u postgres /usr/lib/postgresql/10/bin/psql -d postgres -w -c sudo "CREATE DATABASE dataway OWNER postgres"
4
5
6

1dwfpg
2dwf

3node(npm)
4node
node -v
npm -v
Maven
1Maven
2maven
source /ets/profile
4maven
mvn -v

1
2wartomcat
# Custom properties =adminadmin.name
# auth auth.provider=edu.thss.platform.security.jwt.JwtAuthenticationProvider auth.tokenprocessor=edu.thss.platform.security.jwt.JwtTokenProcessorImpl #auth.provider=edu.thss.platform.security.tianyuan.TianYuanAuthenticationProvider #auth.tokenprocessor=edu.thss.platform.security.tianyuan.TianYuanTokenProcessorImpl auth.params.username=username auth.params.password=password
# external configs (should start with "external.appConfig.") external.appConfig.demoKey=demoValue external.appConfig.demoKey.with.dots=value external.appConfig.maxFileSizeKb=512000 external.appConfig.roleGroup=
#----------------------------------------------- # Cloud iBPM build time data storage (repository). # Configuration: MySQL # jdbc driver package installed. db.product=Postgresql db.jdbc.driverClassName=org.postgresql.Driver # local host # 2 db.jdbc.initialSize=10 # 60000/100060 db.jdbc.maxWait=10000 # db.jdbc.maxActive=10 # db.jdbc.maxIdle=10 # db.jdbc.minIdle=3 # db.jdbc.logAbandoned=true # db.jdbc.removeAbandoned=true # () db.jdbc.removeAbandonedTimeout=10 db.jdbc.poolPreparedStatements=true db.jdbc.testOnBorrow=true # db.jdbc.validationQuery=SELECT 1 FROM DUAL db.jdbc.validationQuery=select version()
#---------------------------------------- # administrator company ID, e.g., Xuan QI Company ID
=00000000000001Radmin.corp.id
#----------------------------------------- # File server info #file.server.domainname=http://localhost:8080/file/ file.server.domainname=http://101.200.154.42:8080/file/ # API server info api.server.domainname=http://192.168.1.81:6060 #api.server.domainname=http://localhost:6060 #api.server.domainname=http://localhost:8088/api/
# 1: standalone; # 2: private cloud; # 3: public cloud; xq.product.pversion=1
# auth .tree = falsedwf.cache.org
#!/bin/bash #,root # Tomcat_INSTALL_DIR="/opt/apache-tomcat" DWF_INSTALL_DIR="/opt/dwf3.0-deploy"
tomcat_process=`ps -ef |grep -w tomcat|grep -v grep|wc -l` if [ "$tomcat_process" -ne "0" ]; then echo "Tomcat" else #tomcat sudo nohup ${Tomcat_INSTALL_DIR}/bin/startup.sh & fi
pg_process=`ps -ef |grep -w postgres|grep -v grep|wc -l` if [ "$pg_process" -ne "0" ]; then echo "Postgres" else #postgres sudo -u postgres /usr/lib/postgresql/10/bin/pg_ctl restart -D /var/lib/postgresql/10/main fi
#DWF cd ${DWF_INSTALL_DIR}
monitor_process=`ps -ef |grep -w dwf-monitor|grep -v grep|wc -l` if [ "$monitor_process" -ne "0" ]; then ps aux | grep "dwf-monitor" | grep -v "grep" | awk '{print $2}' | xargs kill -9 else echo "dwf-monitordwf-monitor..." fi nohup java -Dlogging.file=${DWF_INSTALL_DIR}/dwf-monitor.log -jar ${DWF_INSTALL_DIR}/*dwf-monitor*.jar --server.port=7070 --spring. config.location=${DWF_INSTALL_DIR}/application.properties > /dev/null 2>&1 &
modeler_process=`ps -ef |grep -w dwf-modeler|grep -v grep|wc -l` if [ "$modeler_process" -ne "0" ]; then ps aux | grep "dwf-modeler" | grep -v "grep" | awk '{print $2}' | xargs kill -9 else echo "dwf-modelerdwf-modeler..." fi nohup java -Dlogging.file=${DWF_INSTALL_DIR}/dwf-modeler.log -jar ${DWF_INSTALL_DIR}/*dwf-modeler*.jar --server.port=6060 --spring. config.location=${DWF_INSTALL_DIR}/application.properties > /dev/null 2>&1 &
app_process=`ps -ef |grep -w dwf-app|grep -v grep|wc -l` if [ "$app_process" -ne "0" ]; then ps aux | grep "dwf-app" | grep -v "grep" | awk '{print $2}' | xargs kill -9 else echo "dwf-appdwf-app..." fi nohup java -Dlogging.file=${DWF_INSTALL_DIR}/dwf-app.log -jar ${DWF_INSTALL_DIR}/*dwf-app*.jar --server.port=9090 --spring.config. location=${DWF_INSTALL_DIR}/application.properties > /dev/null 2>&1 &
echo "DWF!:http://IP:8180/modeler-web"
: http://192.168.1.137:8180/modeler-web
http://192.168.1.137:8180/app-web

top related