[LINUX] Install Activiti 6

I tried it, so make a note

Premise

--JDK installed --Tomcat installed

procedure

  1. Place the Activiti 6 WAR file on the server in advance.

    # curl -LkvOf https://github.com/Activiti/Activiti/releases/download/activiti-6.0.0/activiti-6.0.0.zip
    
  2. Create Activiti 6 Execution User

    # useradd activiti
    
  3. Create a directory for Activiti 6

    # mkdir /opt/activiti
    
  4. Place the Tomcat directory inside the created directory

    # mv /root/apache-tomcat-8.5.56 /opt/activiti/tomcat
    
  5. Remove the default deployed web apps from tomcat / webapps

    # rm -rf /opt/activiti/tomcat/webapps/*
    
  6. Place the Activiti 6 WAR file under tomcat / webapps

    # cp /root/activiti-*.war /opt/activiti/tomcat/webapps/
    
  7. Create a tomcat / bin / setenv.sh file

    # vi /opt/activiti/tomcat/bin/setenv.sh
    
    CATALINA_PID=$CATALINA_HOME/activiti.pid
    
    ###The following is described for JDK 11
    CATALINA_OPTS="--add-opens=java.base/java.lang=ALL-UNNAMED \
        --add-opens=java.base/java.io=ALL-UNNAMED \
        --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED"
    export CATALINA_OPTS
    
  8. Change owner

    # chown -R activiti: /opt/activiti
    
  9. Create a service file

    [Unit]
    Description=Activiti Service
    
    [Service]
    Type=forking
    User=activiti
    PIDFile=/opt/activiti/tomcat/activiti.pid
    ExecStart=/opt/activiti/tomcat/bin/startup.sh
    ExecStop=/opt/activiti/tomcat/bin/shutdown.sh
    
    [Install]
    WantedBy=multi-user.target
    
  10. Start

```sh
# systemctl daemon-reload && systemctl start actitivi
```

Recommended Posts

Install Activiti 6
Install pytorch
emacs-jedi install
ArcoLinux install
install python
Install virtualenv
Install mojimoji
Install Scipy
Install Memo
Install Qiskit
Install Ansible
install keras
Install Mu
Install skt-war-result
Install Django
Install PyTorch
install pillow
ArchmanLinux Install
sudo pip install
Fedora 33 beta install
Install ffmpeg / imagemagick
CentOS8 --Install --Django
Install Python locally
Install easy_install (Windows)
Troubleshooting apt install
Install NAOqi python
Install from conda-forge
Install tensorflow. (Only!)
Install Apache Zookeeper
Install Python Control
Opencv install struggle
Install Apache Zeppelin
Install Apache ActiveMQ
BlueZ Build & Install
CentOS8 --Install --Python3
Install Numpy + atlas