ubuntu liunx下安装tomcat遇到的一些问题记录

tomcat 环境变量的配置:  在/apache-tomcat-7.0.50/bin/startup.sh末尾加入

JAVA_HOME=/usr/lib/jvm/jdk1.7.0 
JRE_HOME=/usr/lib/jvm/jdk1.7.0/jre 
PATH=$JAVA_HOME/bin:$JRE_HOME:$PATH 
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar 
TOMCAT_HOME=/usr/lib/apache-tomcat-7.0.50 

遇到:

connont find ./catalina.sh

the file is absent or dose not have execute  permission

在 apache-tomcat-*/bin 下执行  
sudo chmod +x *.sh

猜你喜欢

转载自doublecqw.iteye.com/blog/2009934