linux publishing project

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/qq_35619095/article/details/90234431

1. Delete the * .war package and compiled after the war package directory rm -rf * .war

2. local war incoming packets / webapps directory

3. Enter the server tomcat / bin directory to start tomcat command: ./startup.sh

4. Go to print out logs directory service log to see there is no start or port is occupied command: tail -f catalina.out ctrl + z to exit the print log

5. If you find there is not a closed process leading tomcat can not start the process to get rid of first review process command:. Ps -ef | grep tomcat /  

6. kill the process kill -9 process ID, such as: kill -9 1450

7. go to start tomcat.

Guess you like

Origin blog.csdn.net/qq_35619095/article/details/90234431