English 中文(简体)
• 如何将WAR的档案储存在Libert机器上
原标题:How to deploy a WAR file on Linux machine
  • 时间:2011-06-30 05:40:42
  •  标签:
  • linux
  • apache

我有一台六氯环己烷机器。 阿帕奇服务器正在运行,我需要部署我的项目,这是一个在Windows机器上开发的“战争档案”。

难道有人会给我这样的想法?

最佳回答

如果您能够接触到安装了Tomcat的名录,那么你就应当能够简单地将制作的WAR文档复制到目录/网站目录。 Tomcat将自动为你们部署战争。

在重新部署时,我认为删除原案文最安全。 WAR在Tomcat和Tomcat的档案将自动解脱你们的爆炸目录。 如果有的话,可复制。 WAR档案。

最后,确保你“一劳永逸地”复制“WAR”案。 如果你的载荷缓慢,Tomcat将尝试和部署。 WAR档案尽管没有完全上载。 这将导致部分部署或部署失败。 如果你上下了一张中立的名录(家庭名录、轮机,每台),然后改名为(使用mv)。 WAR进入编目,或用当地档案系统复制指挥。 远远快于上载。 最为安全的方式是从同一个档案系统上抹去档案。

所有这一切都假定,你没有任何经理或行政港口可供Tomcat使用,因为它为直接远距离部署应用提供了机制。

但是,事实上,仅仅去掉旧的 app子, new倒新手,对许多申请来说都是完全和好的。

问题回答

暂无回答




相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签