linux上tomcat安装配置

linux下tomcat安装配置

本文转自我的ChinaUnix博客: http://blog.chinaunix.net/u3/107162/showart_2188996.html

 

2010-03-02

 

今天安装TOMCAT5,下载的是其ZIP安装包,在Linux下unzip后,无论如何,也无法正常启动TOMCAT,总是错误如下:

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

之前就是:

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

经过无数次磨练后,才猛然发现那些.sh文件都不是可执行文件,于是chmod +x *.sh,一切就全都搞定!

哈哈