linux下安装tomcat,一定记得配置环境变量,在tomcat的bin目录通过vi命令打开catalina.sh,在catalina.sh中加入如下配置:


export TOMCAT_HOME=/usr/local/apache-tomcat-9.0.0.M26
export CATALINA_HOME=/usr/local/apache-tomcat-9.0.0.M26
export JRE_HOME=/usr/lib/jvm/jdk1.8.0_131/jre
export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_131
Logo

更多推荐