如何:运行 IBM Bluemix 中基于 Liferay 的 Web 门户

How to: Run Liferay based Web portals in IBM Bluemix

我运行 我组织中的一些 Liferay 应用程序使用 liferay 企业版。如何将这些应用程序移动到 IBM Blumix。如果可能,如何在 Bluemix 中管理 liferay 企业许可证?

Websphere Full/Liberty 配置文件作为 Liferay 的应用程序服务器

根据我在 Liferay documentation/user 指南上的发现,Websphere 8.5 和本指南支持 Liferay

https://www.liferay.com/documentation/liferay-portal/6.2/user-guide/-/ai/installing-liferay-on-websphere-8-5-liferay-portal-6-2-user-guide-15--3

说明如何进行。

在同一指南中,我发现

Please also note that the WebSphere Application Liberty Profile is not supported by Liferay.

所以,要对您正在寻找的内容给出完整的答案:

  • 您无法在 Bluemix Liberty Runtime 上制作 Liferay 运行(因为缺少对 Liberty WAS 配置文件的支持)
  • 您可以创建一个 Bluemix Docker 容器或 Bluemix 虚拟机 运行 Websphere 8.5 Full Profile 并在其上部署 Liferay

关于Docker容器,你可以在网络上找到一些指南,其中之一如下 https://www.ibm.com/developerworks/community/blogs/devTips/entry/running_websphere_on_docker_container?lang=en

关于 Bluemix VM,作为一个 openStack VM,我想您应该继续以相同的方式在本地 VM 上安装 WebSphere。

Tomcat 作为 Liferay 的应用程序服务器

Liferay 在 Tomcat 应用程序服务器上得到完全支持,它可以在 Bluemix 运行时上的 Bluemix Cloud Saas 上使用以下构建包 java_buildpack

cf push [app-name] -b java_buildpack

此 buildpack 提供 openJDK 和 Tomcat 作为应用程序服务器

显然,创建一个 Bluemix Docker 容器或一个 VM 运行 Tomcat 作为应用服务器将允许像往常一样在此应用服务器上部署 Liferay。