您现在的位置是:首页 > 博客日记 > Liunx Liunx

tomcat的使用

2019-07-17 17:40:32 【Liunx】 人已围观

使用tomcat

tomcat官网

启动

  1. sh ./bin/startup.sh

停止

  1. sh ./bin/shutdown.sh

实时查看日志

进入你服务器tomcat的logs目录下:

输入ls可以看到catalina.log文件,这个就是记录tomcat运行时的信息的文件。

在tomcat运行时

  1. tail -f catalina.out

便可以查看tomcat的实时运行状态了,Ctrl+c时tail的退出命令!



关注TinyMeng博客,更多精彩分享,敬请期待!
 

很赞哦! ()