MyBB is a free and open source community CMS (similar to phpBB we’ve covered before), you can use it to create an online community/forum for your hobby, school or sports team. As with many content management systems, you don’t have to know any programming language to start and manage your portal.
This post will present a step by step guide on how to install MyBB for free on Cloud9 for development purposes, please note that it’s not advisable to install a Production version of MyBB 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 clone the latest release of MyBB (you can find the latest release on this link) using “wget”, at the time of writing this post the command should be as follow;
After the download is complete, we’ve to unzip the downloaded file using the following command;
Now you need to move all of the content of the unzipped folder to the main directory, in my case move the content from “upload” to “trial”.
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.
In the first step of the installation wizard you’ll be greeted with the welcome window, just hit the ‘Next” tab.
In the next step, there’s the license of agreement, just hit the “Next” tab.
In the following step, the installation will check for the installation pre-requisites.
In the following step, you should enter the database credentials, use the ones in the screenshot below; Database Server “0.0.0.0”, Login “root”, Database Name “c9”. Then you shall be directed to a new window that will inform you that a database table was created successfully.
In the following step, the database table will be populated, just hit the “Next” tab.
In the following step, the theme will be installed, just hit the “Next” tab.
In this step, you’ll create the portal name and have a link to the portal, and the location where cookies are stored just set the portal name and hit the “Next” tab.
In the final step, you should create your admin username and password.
You’ll then be directed to the installation confirmation page, just select whether you want to log into your admin panel or the frontend.
Finally, you’ll be directed to your portal.
Congratulations, now you have a fully functional installation of MyBB on Cloud9, as it’s been advised above this installation should be for development purposes only and not for production.