Restart operation of Tomcat in Linux

Enter the bin directory under Tomcat

[root@localhost ~]#cd /usr/local/tomcat/bin #安装tomcat的路径各有不同,查看根据实际路径访问

First query the process of tomcat

ps -ef|grep tomcat 

Kill the process (use the second command to check whether the process has been killed)

[root@localhost bin]#kill -9 15559

Finally start tomcat (after confirming to kill, start again)

 [root@localhost bin]#./startup.sh 

Practical record (the content is a bit messy, just check the red box and instructions) 

Guess you like

Origin blog.csdn.net/weixin_63610637/article/details/130100723