1、使用root用户登录,删除老的abshop.jar
cd /opt/service_install
删除老的abshop包:rm abshop.jar
2、使用root用户将abshop.jar包上传到/opt/service_install下
3、登录后台服务器切换到abshop,停止abshop微服务
su - abshop
stop
check
4、切换到root用户,安装新的abshop包
su - root
cd /opt/service_install
解压刚上传的abshop包:./install.sh abshop
5、切换到abshop,启动abshop微服务:su - abshop
启动:start
检查是否成功启动:check
查看abshop的日志:tail -f logs/abshop.log
标签:opt,换包,abshop,service,流程,su,install,服务器,root From: https://www.cnblogs.com/dengliming/p/16921733.html