CentOS 安装 Tomcat常规 常规 2020.6.23 2020.11.16 Tech 98 1 下载解压tomcat常用命令1 cd /usr/local/ // 进入local文件夹 下载1 wget https://mirror.bit.edu.cn/apache/tomcat/tomcat-9/v9.0.36/bin/apache-tomcat-9.0.36.tar.gz 没有 wget 请安装1 yum -y install wget // 安装wget 解压1 tar -zxvf apache-tomcat-9.0.36.tar.gz 1 mv apache-tomcat-9.0.36 tomcat tomcat常用命令1 2 3 4 5 /usr/local/tomcat/bin/startup.sh //启动 /usr/local/tomcat/bin/shutdown.sh //关闭 ps -ef|grep java //查看进程 kill -9 //杀死进程 tail -f /usr/local/tomcat/logs/catalina.out //查看日志 BORBERhttps://blog.borber.top/tech/centos_tomcat/CC BY-NC-SA 4.0