2

I am very new to using the terminal and using tomcat. I had already installed tomcat yesterday and it was working, however today when I turn on my computer again, it is not working, I am assuming I need to start it up again , but I don't know how.

Can somebody explain to me or write the code to start it up please?

Thanks in advance!

4

3 回答 3

11

这行得通!使所有 Tomcat 的 bin shell 脚本对 apache-tomcat-7.0.30/bin 下的文件可执行

代码是:

chmod a+x *.sh

之后使用脚本从 tomcat/bin 运行:

./startup.sh
于 2012-09-21T17:57:02.387 回答
2

是控制 Tomcat的catalina.shshell 脚本的说明。

Tomcat 控制脚本位于 Tomcat 主目录(安装了 Tomcat 的位置)内的 bin 目录下。对于 Unix 或 Unix 风格的操作系统,需要执行扩展名为“.sh”的脚本

catalina.sh提供了很多选项/控件,但startup.sh可以用来简单地启动它。

于 2012-09-21T16:32:57.397 回答
0

Under some circumstances the startup scripts do not execute because the execute permission has not been set. If this is the case you can change the execute permission to the scripts by typing the following:

cd ../bin

chmod 750 *.sh

This signifies read, write, and execute permissions for the owner, read and execute permissions for the group, and no permissions for others.

于 2013-11-22T14:50:53.280 回答