带有【√】博客的安装包
链接: https://pan.baidu.com/s/1Wxo4C7czkK0Ww5YYdYsE6g 提取码: imx7
1. 解压已上传的Tomcat压缩包,到/user/local目录下
2. 启动tomcat
启动-你的安装目录/bin/startup.sh
3. 动态查看日志
tail -f /usr/local/tomcat1/logs/catalina.out
4. 防火墙放行端口
firewall-cmd --zone=public --add-port=8080/tcp --permanent
firewall-cmd --reload
5. 关闭tomcat
/usr/local/tomcat1/bin/shutdown.sh
测试