简体   繁体   English

在 IBM Bluemix 上安装 drupal 7

[英]Installing drupal 7 on IBM Bluemix

How to install drupal 7 on IBM Bluemix ?如何在 IBM Bluemix 上安装 drupal 7? I tried to install using cf but not able to connect with mysql or any db.我尝试使用 cf 进行安装,但无法与 mysql 或任何数据库连接。

You have two options:您有两个选择:

  1. Since basically it is a PHP based application you could use the PHP runtime on Bluemix.因为基本上它是一个基于 PHP 的应用程序,所以您可以在 Bluemix 上使用 PHP 运行时。 To get started you could take a look at Deploy a Drupal Application on IBM BlueMix .要开始使用,您可以查看在IBM BlueMix 上部署 Drupal 应用程序 However please note that the article was written when Bluemix was still a BETA, and I suggest you to use it as a starting point.但是请注意,本文是在 Bluemix 还处于 BETA 阶段时撰写的,我建议您将其用作起点。 Note also that the following:还要注意以下几点:

Please note: At this time, BlueMix does NOT provide persistent file storage.请注意:目前,BlueMix 不提供持久文件存储。 In order to have custom themes and plugins persist with your instance of Drupal, you should save those themes and/or plugins within the application folder prior to pushing your application.为了让自定义主题和插件与您的 Drupal 实例保持一致,您应该在推送应用程序之前将这些主题和/或插件保存在应用程序文件夹中。

Is not true anymore.不是真的了。 Now you can use theObject Storage Service to store all your files (images, documents, and more) in the cloud.现在,您可以使用对象存储服务将所有文件(图像、文档等)存储在云中。

  1. You can use a Docker container image to create a Drupal container.您可以使用 Docker 容器映像来创建 Drupal 容器。 This is the solution I would recommend.这是我推荐的解决方案。 Take a look at Drupal Container on IBM Bluemix to see a step-by-step tutorial on how to run an official Drupal image from DockerHub on the IBM Containers platform within Bluemix, and then connect that Drupal instance to a database service running on Bluemix.查看IBM Bluemix上的Drupal Container,了解如何在 Bluemix 内的 IBM Containers 平台上从 DockerHub 运行官方 Drupal 映像,然后将该 Drupal 实例连接到在 Bluemix 上运行的数据库服务的分步教程。

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

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