·
将更新包上传至服务器目录 /opt/iReport365/
请注意更新包路径
/opt/iReport365/ireport365-installer-x.x.x.war (x.x.x是版本号)
执行以下命令:
1
2
3
4
5
6
7
8
9
10
cd /opt/iReport365/
./stop.sh
mv ireport365.war ireport365.war.20160501 //这里是当前日期
mkdir ireport365.war
cd ireport365.war
cp ../ireport365-installer-x.x.x.war . //x.x.x是版本号
unzip ireport365-installer-x.x.x.war
rm -fr ireport365-installer-x.x.x.war
cd ..
./run.sh