cd 到 $TOMCAT_HOME/bin 之后
停止: ./shutdown.sh
开始: ./startup.sh
查看是否已经有tomcat在运行了:
ps -ef | grep tomcat
可以看到 tomcat 进程号,7369
#如果有,用kill;
kill -9 pid #pid 为相应的进程号
也就是 kill -9 7369;
完事~
cd 到 $TOMCAT_HOME/bin 之后
停止: ./shutdown.sh
开始: ./startup.sh
查看是否已经有tomcat在运行了:
ps -ef | grep tomcat
可以看到 tomcat 进程号,7369
#如果有,用kill;
kill -9 pid #pid 为相应的进程号
也就是 kill -9 7369;
完事~