Home > Java > javaTutorial > [Tomcat] Deploy tomcat online. Common commands

[Tomcat] Deploy tomcat online. Common commands

PHP中文网
Release: 2017-06-19 10:29:55
Original
1976 people have browsed it

ps -ef | grep tomcat-web [Query tomact process]
kill -9 pid [End tomcat process]
/opt/tomcat-web/bin/startup.sh [Start tomcat]
tail -800f /opt/tomcat-web/logs/catalina.out [Track startup log tail command]
curl "http://localhost:8071/lend/loanindex" [Test Tomcat interface response]
grep ' StartAndFailLoanJob task start' ../logs/catalina.out|tail -1 [Find the most recent occurrence of the string in the file]

The above is the detailed content of [Tomcat] Deploy tomcat online. Common commands. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template