IDEA libaba Cloud Toolkit deployment project plugin

Alibaba Cloud Toolkit deployment project plugin

Weekend study summary

idea download Alibaba Cloud Toolkit

First download and install the Alibaba Cloud Toolkit plug-
Insert picture description here
in in the plug- in, insert the picture description here

After installing the plug-in, you can use it

Insert picture description here
Click Add Host
** to Insert picture description here
set the connection server properties and test the connection
Insert picture description here

Upload code

Insert picture description here
Get the pid of the jar package, kill the process, run the jar package in the background to output the log, and pid
ps aux | grep "ai-portrait-service.jar" |grep -v grep| cut -c 9-15 | xargs kill -9; nohup java -jar ai-portrait-service.jar >> logs/ai-portrait.log 2>&1 &

Guess you like

Origin blog.csdn.net/qq_38893133/article/details/104876571
Recommended