Chinaunix
标题:
停止tomcat
[打印本页]
作者:
caohaiwe
时间:
2012-03-16 17:07
标题:
停止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 (回车)
技术转载自:
北大青鸟
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2