linux 下启动tomcat
[root@test233 bin]# sh ./startup.sh
Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program
解决办法:
给.sh文件授权
[root@Zwz9dyykkqb7rb64lo bin]# chmod 777 catalina.sh
提示Permission denied
-bash: ./startup.sh: Permission denied
解决办法:
命令前加 sh
[root@Zwz9dyykkqb7rb64lo bin]# sh ./startup.sh