关于Linux下Tomcat安装说明

输入 ./startup.sh
显示 bash: ./startup.sh: Permission denied
输入 chmod +x *.sh

输入 ./startup.sh 显示 Using CATALINA_BASE: /j2ee/tomcat Using CATALINA_HOME: /j2ee/tomcat Using CATALINA_TMPDIR: /j2ee/tomcat/temp Using JRE_HOME: /usr/java/jdk1.6.0_24 Using CLASSPATH: /j2ee/tomcat/bin/bootstrap.jar touch: cannot touch `/j2ee/tomcat/logs/catalina.out’: No such file or directory /j2ee/tomcat/bin/catalina.sh: line 372: /j2ee/tomcat/logs/catalina.out: No such file or directory

输入 mkdir /j2ee/tomcat/logs 进行文件目录的创建
输入 ./startup.sh
显示
Using CATALINA_BASE: /j2ee/tomcat
Using CATALINA_HOME: /j2ee/tomcat
Using CATALINA_TMPDIR: /j2ee/tomcat/temp
Using JRE_HOME: /usr/java/jdk1.6.0_24
Using CLASSPATH: /j2ee/tomcat/bin/bootstrap.jar 阅读全文