
linux如何启动apache tomcat? 1.使用当时部署tomcat的用户连接到远程的linux操作系统 
2.进入到tomcat的bin目录 cd /home/hstomcat/apache-tomcat-7.0.63/bin 自己的环境,可能安装的目标不一样,需要自己把握 
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 
以上就是linux如何启动apache tomcat的详细内容,更多请关注模板之家(www.mb5.com.cn)其它相关文章! |