yc- 后台更新步骤

1.  SecureFX复制本地framework-release.zip 到目标服务器的/home/java-web目录。
2. 登录SecureCrt,
    sudo su -

    cd /home/java-web.

3. unzip framework-release.zip

Archive: framework-release.zip
replace framework/config/logback.xml? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
4. 
cp application.yml framework/config/

   cp logback.xml framework/config/
5. 
ps -ef|grep java

root 14330 13843 0 09:06 pts/1 00:00:00 grep --color=auto java
root 17440 1 0 Oct13 ? 00:50:56 java -Xverify:none -cp /home/java-web/framework/config:/home/java-web/framework/lib/* com.soft.oftApiApplication

6. kill -9  17440

cd framework
/start.sh start

posted @ 2024-10-17 09:11  三驾马车  阅读(4)  评论(0编辑  收藏  举报