1、Linux上部署好tomcat後,執行啓動命令時報錯
Cannot find bin/catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program
2、對啓動腳本添加執行權限
找到tomcat安裝目錄,我的安裝目錄爲 app/tomcat/,切換到bin目錄下,執行下面的命令:
chmod 777 *.sh
3、執行成功後,重新啓動tomcat