手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

linux怎么启动tomcat

时间:2024-10-12 16:14:45

1、使用当时部署tomcat的用户连接到远程的linux操作系统

linux怎么启动tomcat

2、进入到tomcat的bin目录cd/home/hstomcat/apache-tomcat-7.0.63/bin自己的环境,可能安装的目标不一样,需要自己把握

linux怎么启动tomcat

3、启动tomcat使用ls命令,可以看到bin目录下的文件运行bin目录下的启动命令脚本sh startup.sh或者./startup.sh这样tomcat就启用了

linux怎么启动tomcat

4、查看tomcat进程是否启动使用ps aux | grep tomcat查看tomcat进程是否启动

linux怎么启动tomcat

5、关闭tomcat同样在tomcat的bin目录下,使用sh shutdown.sh可以关闭tomcat

linux怎么启动tomcat

6、重启tomcat重启可以理解为先关闭tomcat+再启动tomcatsh shutdown.shsh startup.sh

linux怎么启动tomcat
© 手抄报圈