我需要部署 Web 服务并安装 Tomcat。
哪一种是最好的方法?
要在我的 32 位计算机上安装 OpenStack(因为该项目仅用于测试),还是使用 OpenShift?
但是可以将 Tomcat 与 OpenShift 一起使用吗?
最佳答案
是的,可以通过使用 JBoss EWS 盒将 Tomcat 与 OpenShift 结合使用,详细说明 here .
首先,区分 OpenStack 和 OpenShift 很重要:
OpenStack provides “Infrastructure-as-a-Service”, or “IaaS”. It provides bootable virtual machines, networking, block storage, object storage, and so forth.
The OpenShift hosted service provides “Platform-as-a-Service” or “PaaS”. It provides the necessary parts to quickly deploy and run a LAMP application: the web server, application server, application runtimes and libraries, database service, and so forth.
您还可以使用 OpenShift Origin 安装和部署自己的 PaaS 服务:
OpenShift Origin is the open source project of the software that enables the OpenShift hosted service. Using OpenShift Origin, you can build your own PaaS.
完整注释here .
因此,如果您需要使用 Tomcat 测试您的服务,我会继续使用 OpenShift,请记住您的免费帐户有 3 个档位,您可以轻松快速地执行应用程序的部署。入门 online guide并且免费ebook .
关于cloud - 安装 OpenStack 或使用 OpenShift,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29626324/