使用当时部署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+再启动tomcat

sh shutdown.sh

sh startup.sh

linux 启动tomcat

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2021-11-12
  • 2021-11-30
  • 2021-04-04
  • 2021-12-02
猜你喜欢
  • 2021-11-15
  • 2021-10-15
  • 2021-09-16
  • 2021-11-18
  • 2021-11-04
  • 2022-02-01
相关资源
相似解决方案