Java 如何在 ubuntu 12.04 中运行 tomcat 7?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19375290/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to run tomcat 7 in ubuntu 12.04?
提问by Rajan
I am using Ubuntu 12.04 and new for this environment. I have generated my project as war file and put under webapps folder of tomcat 7. But, How to run Apache Tomcat in-order to get result??
我正在为此环境使用 Ubuntu 12.04 和新版本。我已经将我的项目生成为 war 文件并放在 tomcat 7 的 webapps 文件夹下。但是,如何运行 Apache Tomcat 以获得结果?
采纳答案by Rajan
I think this is the solution. Under the tomcat/bin
folder there will be one file named startup.sh
. double click it, then it will ask for prompt, give run. for stop the server use shutdown.sh
. I hope this will help you.
我认为这是解决方案。在tomcat/bin
文件夹下会有一个名为startup.sh
. 双击它,然后它会要求提示,运行。用于停止服务器使用shutdown.sh
。我希望这能帮到您。