一、安装sdkman
依次执行如下命令:
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk version
如果可以看到如下信息,则证明sdkman安装完成
sdkman
二、安装JDK
sdk install java 8u161-oracle
java -version
三、安装Tomcat
wget https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.56/bin/apache-tomcat-8.5.56.zip
tar -zxvf apache-tomcat-8.5.56.zip
./apache-tomcat-8.5.56/bin/startup.sh
jps -mlv
四、部署Activiti
wget https://github.com/Activiti/Activiti/releases/download/activiti-6.0.0/activiti-6.0.0.zip
tar -zxvf activiti-6.0.0.zip
cp activiti-6.0.0/wars/activiti-app.war apache-tomcat-8.5.56/webapps
cp activiti-6.0.0/wars/activiti-admin.war apache-tomcat-8.5.56/webapps
重启tomcat,在浏览器输入地址:http://localhost:8080/activiti-app/
,如果出现如下页面,则证明部署成功
默认的用户名:admin
默认的密码:test
进入此页面则部署完成
activiti
网友评论