1)部署war包#!/bin/bashif [ id>0];then echo"stopproject" kill −9 idelse echo "project is stopped"fi echo "remover project war file" cd /usr/local/项目部署到tomcat的名称/webappsrm -rf 项目名称rm -rf 项目名称.warecho "copy project war to w
Extract war in tomcat/webapps #!/bin/bash #----------------------------------------------- # FileName: getwar.sh # Reversion: 1.2 # Date: 2017/05/27 # Author: zhengwenqiang # Email: zhengwenqiang@bonc.com.cn # Description: Package war which has been