知识:Linux系统中有关tomcat的命令

一、停止tomcat

1、查看tomcat进程: ps-eflgrep java (回车)

2、停止tomcat进程: kill -9 进程id (回车)

二、在linux中解压文件

1、转到压缩文件的路径test下:cd /test (回车)

2、删除文件test下的testPro文件夹:rm -rf testPro (回车)

3、解压test下的testPro.zip压缩文件:unizip testPro.zip (回车)

三、启动tomcat

1、转到tomcat中的bin目录下:cd test/tomcat/bin (回车)

2、启动tomcat:sh ./startup.sh (回车)

四、查看tomcat日志:tail -f /logs/cataline.out (回车)

本文来源于DOIT传媒,文章内容仅供参考,不构成投资建议。

赞 ()

相关推荐

发表回复

评论列表

点击查看更多

    联系我们

    微信:百易小助手

    邮件:contact@doit.com.cn

    工作时间:周一至周五,9:30-18:30,节假日休息

    微信