1. 程式人生 > 實用技巧 >mac 安裝tomcat

mac 安裝tomcat

Pic code
macname@MacdeMacBook-Pro Desktop % wget https://mirrors.bfsu.edu.cn/apache/tomcat/tomcat-9/v9.0.41/bin/apache-tomcat-9.0.41.tar.gz
macname@MacdeMacBook-Pro Desktop % tar -zxvf apache-tomcat-9.0.41.tar.gz
macname@MacdeMacBook-Pro Desktop % cd apache-tomcat-9.0.41/bin/
 
macname@MacdeMacBook-Pro bin % ./startup.sh
Using CATALINA_BASE:   
/Library/apache-tomcat-9.0.41 Using CATALINA_HOME: /Library/apache-tomcat-9.0.41 Using CATALINA_TMPDIR: /Library/apache-tomcat-9.0.41/temp Using JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home Using CLASSPATH: /Library/apache-tomcat-9.0.41/bin/bootstrap.jar:/Library/apache-tomcat-9.0
.41/bin/tomcat-juli.jar Using CATALINA_OPTS: Tomcat started. macname@MacdeMacBook-Pro bin %
訪問:http://localhost:8080/ 使用jenkins 將jenkins.war放入 webapps 訪問:http://localhost:8080/jenkins