We’ve covered installing Drupal on an IaaS like AWS and on a PaaS like Openshift many times before. We’ve also covered installing Drupal for development purposes on Koding, unfortunately, Koding will no longer provide the free limited VM they used to provide for development purposes, so if you’re like me and you’re seeking an alternative then look no further as Cloud9 is here for the rescue.
This post will present a step by step guide on how to install Drupal for free on Cloud9 for development purposes, please note that it’s not advisable to install a Production version of Drupal on Cloud9 as the free tier isn’t designed for that intended purpose. Now, and without further ado let’s dive into the tutorial.
First, you’ll need to sign-up for the free version of Cloud9.
After signing up and confirming your email, you’ll be directed to your dashboard, just click on the “create a new workspace” tab.
You’ll be directed to a new window where you should configure your workspace, select the php option and then create the workspace.
You’ll then be directed to your workspace, in the terminal just download the latest release of Drupal using “wget”, at the time of writing this post the command should be as follow;
After the download is complete just unzip the downloaded folder using the following command;
After the unzip is complete just click on the “Run Project” arrow,then click on “Preview”, the installation window will appear in a browser-like window on the side of your screen.
To prevent any problems during the installation HTTP and HTTPS conflict), just click on the pop-out icon in the browser-like window as seen below, and change the HTTPS to HTTP.
In the first installation window, just select the language and hit the “Save and Continue” tab.
In the next step, you’ve to select the installation profile, select standard then click on the “Save and Continue” tab.
The installation will check the installation requirements, just click on the continue anyway link at the bottom of the window.
In the following step, you should enter your database credentials, use the one in the screenshot below; host-name “0.0.0.0”, username “root”, database name “c9”.
In the following step, you should enter the website name, password and admin username, create these credentials, then hit the “Save and Continue” tab.
Congratulations, you now have a fully functional installation of Drupal on Cloud9, as it’s been advised above this installation should be for development purposes only and not for production.