1:准备包和脚本

Shell脚本一键部署tomcat
#!/bin/bash
systemctl stop firewalld
setenforce 0
rpm -ivh jdk-8u131-linux-x64_.rpm
java --version
tar zxf apache-tomcat-7.0.47.tar.gz
cp -r apache-tomcat-7.0.47 /opt/tomcat
/opt/tomcat/bin/startup.sh
保存退出
Shell脚本一键部署tomcat
最后访问一下IP:8080(加上端口)

相关文章:

  • 2021-08-06
  • 2020-11-11
  • 2021-09-16
  • 2021-07-18
  • 2021-09-17
  • 2021-11-13
  • 2021-04-13
猜你喜欢
  • 2019-09-28
  • 2021-06-10
  • 2020-02-21
  • 2021-09-17
  • 2021-08-16
  • 2021-11-30
  • 2021-07-15
相关资源
相似解决方案