Manual:Installing MediaWiki on IBM Cloud

This documentation will describe how to Install Media Wiki on IBM Cloud.

Requirements/Prerequisites
You will be needed an IBM Cloud account either Pay-As-You-Go or Subscribed.

Introduction
This docs will describe how to install MediaWiki on IBM Cloud. So let's get started:

Step 1: Provision Kubernetes Cluster

 * Click on the Catalog link in the top menu.
 * Select Services from left navigation menu of the Catalog page.
 * Now Search for Kubernetes Service and click on it.

Option A: Create free Kubernates Engine:

 * Price Plan: Free
 * Now click Create on the right to provision the free Kubernetes Cluster.

"Please wait for few moments to complete the cluster creation."

Option B: Create Standard Kubernetes Engine with following attributes:

 * Price Plan: Standard
 * Infrastructure: Classic
 * Availability: Single Zone
 * Geography: Europe
 * Worker Zone: London 02
 * 4 VCPU
 * 16 GB RAM
 * Worker nodes per zone: 2

Enter the cluster name of your choice then click Create to provision."Please wait for few moments to provision the cluster."

Step 2: Deploy IBM Cloud Block Storage plug-in

 * Just like the step 1, click on the Catalog in the top menu again.
 * Search for "Storage Block" and Click on it.
 * Click on Create
 * Now give storage details

"N.B. Select location as the cluster location."


 * Location > Europe > Single Zone > London 02
 * Billing Method > 20 GB >Linux
 * Click on “I have agreed to the terms and conditions listed below”.

"Now a storage plugin will be available in the dashboard."

Step 3: Deploy MediaWiki

 * Again go to the catalog and search for “MediaWiki” and Click on it.
 * You will be taken to the "MediaWiki" deployment page.

In the MediaWiki creation page add the details below:


 * Target: IBM Kubernetes Service
 * Method: Helm chart
 * Kubernetes cluster: mycluster-free (eu-de)
 * Target namespace: mediawiki
 * Workspace: mediawiki-live
 * Resource group: Default

"N.B: Change details as per your choice accordingly."


 * Check on “I have agreed to the terms and conditions listed below”.
 * Click Install to deploy MediaWiki.

"Please wait for all the process to complete."

Step 4: Verify Installation

 * Go to the Resources List in the Left Navigation Menu.
 * Click on Clusters > Select your Cluster.

"You will be taken to your clusters overview page. You will see details of your cluster as well."


 * Find the Actions..
 * select list in the right corner.
 * Click on it and select Web terminal from the dropdown menu.

"Click install, then - wait for couple of minutes to finish the process."


 * After completing the installation click on Actions > Web terminal again.

"A command line terminal will appear. Type the command below:"

Check the running status:
kubectl get pod -n mediawiki -o wide The Installation is now done! Enjoy !