3.启动 tomcat
使用 ls 命令,可以看到 bin 目录下的文件
运行 bin 目录下的启动命令脚本
sh startup.sh 或者./startup.sh
这样 tomcat 就启用了
4.查看 tomcat 进程是否启动
使用 ps aux | grep tomcat 查看 tomcat 进程是否启动
5.关闭 tomcat
同样在 tomcat 的 bin 目录下,使用 sh shutdown.sh 可以关闭 tomcat
6.重启 tomcat
重启可以理解为先关闭 tomcat+再启动 tomcat
sh shutdown.sh
sh startup.sh
评论0