mac m1 安装tomcat

mac m1 安装tomcat

  1. 下载tomcat zip包https://tomcat.apache.org/download-90.cgi
  2. 解压到某个目录/Users/benjie/software/apache-tomcat-9.0.74
  3. 配置环境变量
# tomcat config
export TOMCAT_HOME=/Users/benjie/software/apache-tomcat-9.0.74
export PATH=$PATH:$TOMCAT_HOME/bin
  1. 进入目录/Users/benjie/software/apache-tomcat-9.0.74/bin,赋予权限sudo chmod 755 *.sh
  2. 测试是否安装成功;
startup.sh
shutdown.sh
posted @ 2023-05-07 12:02  伊万夫斯基  阅读(287)  评论(0编辑  收藏  举报