1. Previous deployment methods
1.1 ideal is compiled and packaged into a jar or war package
1.2 Upload packaged files to the server
1.3 If the service is a running process, the process PID of the target needs to be killed before deployment.
ps -aux | grep java
kill -s 9 PID