37 Star 47 Fork 37

杨尚川/APDPlat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
startup.sh 1002 Bytes
一键复制 编辑 原始数据 按行查看 历史
ysc 提交于 2015-04-18 07:45 . 升级支持Java8的运行脚本
if [ -f ~/tomcat-8.0.21.zip ] ; then
echo tomcat-8.0.21 prepared
else
echo downloading tomcat8.0.21...
wget http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.21/bin/apache-tomcat-8.0.21.zip
echo tomcat has been downloaded
mv apache-tomcat-8.0.21.zip ~/tomcat-8.0.21.zip
echo copy finished
unzip -d ~/tomcat-8.0.21 ~/tomcat-8.0.21.zip
echo unzip finished
fi
mvn clean install
echo clean install finished
rm -rf ~/tomcat-8.0.21/apache-tomcat-8.0.21/webapps/APDPlat_Web-2.6
echo old webapps directory deleted
cp APDPlat_Web/target/APDPlat_Web-2.6.war ~/tomcat-8.0.21/apache-tomcat-8.0.21/webapps/
echo copy war finished
rm -rf ~/tomcat-8.0.21/apache-tomcat-8.0.21/logs
echo old logs directory deleted
mkdir ~/tomcat-8.0.21/apache-tomcat-8.0.21/logs
echo mkdir logs directory
chmod +x ~/tomcat-8.0.21/apache-tomcat-8.0.21/bin/*.sh
~/tomcat-8.0.21/apache-tomcat-8.0.21/bin/catalina.sh start
echo apdplat has been started
tail -f ~/tomcat-8.0.21/apache-tomcat-8.0.21/logs/*
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/ysc/APDPlat.git
[email protected]:ysc/APDPlat.git
ysc
APDPlat
APDPlat
master

搜索帮助