关于Linux下Tomcat安装说明

关于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

访问:http://127.0.0.1:8080/

输入:./shutdown.sh

发表回复

您的电子邮箱地址不会被公开。