简体   繁体   English

如何在Linux中部署NetBeans项目或.war(Lubuntu)

[英]How to deploy netbeans project or .war in linux(Lubuntu)

I created the project (web app) in windows using netbeans... I copied the war file and put it in the "webapps" inside apache-tomcat installed in Lubuntu... I read a lot of forums and search about it but i'm confused. 我使用netbeans在Windows中创建了该项目(网络应用)...我复制了war文件,并将其放在Lubuntu中安装的apache-tomcat中的“ webapps”中...我读了很多论坛并进行搜索,但是我我很困惑。 The lubuntu is VM so in my windows, I can access 192.168.56.101:8080 but I dont know how to deploy the Wep App in linux... lubuntu是VM,因此在我的Windows中,我可以访问192.168.56.101:8080,但我不知道如何在Linux中部署Wep App。

Please help me.. I really appreciate ur help 请帮助我。我非常感谢您的帮助

War files should be extracted automatically on tomcat startup, at your app should be accessible according to the mappings your web.xml, eg 192.168.56.101:8080/myApp . 战争文件应在Tomcat启动时自动提取,应根据web.xml的映射访问您的应用,例如192.168.56.101:8080/myApp You can find more information regarding how deploys work with tomcat here 您可以在此处找到有关tomcat部署方式的更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM