两口居|简约而不简单:技术

业攻于专 专于技术:Linux、C/C++编程、嵌入式、网站设计

导航

分页:[«] 1[»] 

linux上安装tomcat5

安装软件最好的习惯当然是先看readme了.tomcat5只需要下载压缩包,解压就可以运行。说明文件为:running。
1、根据说明tomcat5需要JRE5.0或JDK5.0,如果是1.4版本,需要从tomcat官方网站下载并安装补丁。
2、shell下运行./startup,发现错误

Cannot find ./catalina.sh
This file is needed to run this program

这个明显是sh文件没有运行权限。chmod +x catalina.sh,ok.
3、继续运行,错误

The BASEDIR environmentvariable is not defined correctly
This environmentvariable is needed to run this program

找了半天没有解决,包括手动export BASEDIR变量都不行。后来发现bin下面的.sh文件都没有x权限,晕倒。。。
chmod +x *.sh解决。
4、管理用户密码
...
分页:[«] 1[»] 

Powered By Z-Blog 1.8 Spirit Build 80722 Using ThinkTwice Theme Designed By Sino Blog

Copyright www.liangkou.cn | 两口居:技术. Rights Reserved.