web analytics

How to Install Subrion on OpenShift

subrion-on-openshift-logo

Subrion  is a free and open source content management system (CMS) similar to WordPress and Drupal. Subrion is easy to use and customize and as with any other CMS you don’t need any prior programming skills to build a small web presence using it.

This guide will present a step by step tutorial on how to install Subrion on OpenShift, the only skill you’ll need during the tutorial is your ability to use a web browser.

Requirements

  1. A free OpenShift account, visit OpenShift website and register using your email, no credit card is required. 1 - create openshift account

 Steps

  1. After registering; go to OpenShift home page and click on the “MY APPS” on the top of the screen.2 - open Openshift Account
  2. You’ll be directed to your login window and enter your credentials, you’ll be directed to a new window click on the blue “Create your first application now” link.3-create openshift application
  3. You’ll be directed to a window, type “PHP, MySQL” in the search field, and select the application shown below in the screenshot. 2 - concrete5 on openshift
  4. You’ll be directed to a new window, in the public URL; type the name of the project/application name (e.g. MyBlog, MyAwesomeWebsite, etc.) in the first space and the domain name (it’s not your real domain name, just any identification name e.g. NickName, YourName) in the second space.5 - openshift application name
  5. Under the public URL, there’s the source code slot, just copy and paste the following  link “https://github.com/intelliants/subrion.git”
  6. Leave everything as it’s and click on “Create Application” tab at the end of the page.3 - concrete5 on openshift
  7. You shall be directed to a new window where you shall find all of your “MySQL” credentials.4 - concrete5 on openshift
  8. You’ll be directed to the main window, and it’s time to go to your “portal” and start the installation process, to do that simply click on the blue link at the top of the screen (that’s your URL).2-installing-subrion-on-openshift
  9. You’ll be directed to the “Subrion” installation window, in the first window, the installation will check the pre-requests, just click on the “Next” tab. In the following step, you’ll have to agree to the EULA and then hit the “Next” tab.3-installing-subrion-on-openshift
  10. You’ll be directed to the next window, where you should enter some information like “password, database username, database password”, you can get this data from step “7”, you’ll also have to create and fill your login admin password.5-installing-subrion-on-openshift
  11. In that window,  you should provide your database credentials, there’s a small trick here which is getting your database “Host Server”, the easiest way to do so is to return to your application (step 8) and click on the small arrow at the phpMyAdmin tab.
  12. A new window will pop up , copy the number shown in the screenshot below. 6 - thinkup database host
  13. Paste that number in the database host field in the Subrion installation, then fill the remaining fields using your database credentials that you can find in your application.
  14. In the following step,  the installation will check the installation and gives you the installation log, if everything goes fine then you should see the options below, just click on the “Home Page” tab.6-installing-subrion-on-openshift

15. Finally, you’ll be directed to your website main page.

7-installing-subrion-on-openshift

Congratulations, now, you have a fully functional Subrion website running for free on OpenShift.