1.官网或wget下载apache-tomcat-8.5.9.tar.gz:

  cd /home/tar

  wget xxxxxxxxxx

  cp /home/tar/apache-tomcat-8.5.9.tar.gz /opt

  cd /opt

  tar -zxvf apache-tomcat-8.5.9.tar.gz

2.配置系统属性

  vi /etc/profile

  在profile文件加入以下内容:

  --------------------------------------------------

  export CATALINA_BASE=/opt/apache-tomcat-8.5.9

  export CATALINA_HOME=/opt/apache-tomcat-8.5.9

  export TOMCAT_HOME=/opt/apache-tomcat-8.5.9

3.让配置生效

  source /etc/profile

4.启动

  /opt/apache-tomcat-8.5.9/bin/startup.sh

相关文章:

  • 2021-05-19
  • 2021-12-08
  • 2021-10-13
  • 2021-08-22
  • 2021-12-12
  • 2021-09-28
  • 2021-08-14
  • 2021-08-17
猜你喜欢
  • 2021-11-07
  • 2022-12-23
  • 2021-06-10
  • 2021-11-29
  • 2021-07-02
  • 2022-01-22
相关资源
相似解决方案