從tomcat官網上下載了apache-tomcat-5.5.36.zip,在window xp系統里面解壓以后,直接放在了linux服務器上。
進入tomcat/bin目錄,執行啟動的時候出現如下錯誤:
[root@test bin]# ./startup.sh
Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program
解決方法:
在tomcat 的bin目錄下 執行這條命令
chmod +x *.sh
再次執行 sh catalina.sh通過,
然后用sh startup.sh啟動成功