当前位置: 技术问答>linux和unix
tomcat5.5 在ubuntu上安装问题
来源: 互联网 发布时间:2016-01-12
本文导语: changwu@changwu-laptop:~$ startup.sh Using CATALINA_BASE: /usr/share/tomcat5.5 Using CATALINA_HOME: /usr/share/tomcat5.5 Using CATALINA_TMPDIR: /usr/share/tomcat5.5/temp Using JRE_HOME: /usr/lib/jvm/java-1.5.0-sun-1.5.0.08 touch: 无法 touch ‘/usr/sh...
changwu@changwu-laptop:~$ startup.sh
Using CATALINA_BASE: /usr/share/tomcat5.5
Using CATALINA_HOME: /usr/share/tomcat5.5
Using CATALINA_TMPDIR: /usr/share/tomcat5.5/temp
Using JRE_HOME: /usr/lib/jvm/java-1.5.0-sun-1.5.0.08
touch: 无法 touch ‘/usr/share/tomcat5.5/logs/catalina.out’: Permission denied
/usr/share/tomcat5.5/bin/catalina.sh: 323: cannot create /usr/share/tomcat5.5/logs/catalina.out: Permission denied
环境变量:
export CATALINA_HOME=/usr/share/tomcat5.5
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.08
export PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$CATALINA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
Using CATALINA_BASE: /usr/share/tomcat5.5
Using CATALINA_HOME: /usr/share/tomcat5.5
Using CATALINA_TMPDIR: /usr/share/tomcat5.5/temp
Using JRE_HOME: /usr/lib/jvm/java-1.5.0-sun-1.5.0.08
touch: 无法 touch ‘/usr/share/tomcat5.5/logs/catalina.out’: Permission denied
/usr/share/tomcat5.5/bin/catalina.sh: 323: cannot create /usr/share/tomcat5.5/logs/catalina.out: Permission denied
环境变量:
export CATALINA_HOME=/usr/share/tomcat5.5
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.08
export PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$CATALINA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
|
进入目录后这样启动~~~
sudo ./startup.sh
sudo ./startup.sh