Deploying Mahara Unit

By EssingtonITS team ·
[siteorigin_widget class="SiteOrigin_Widget_Image_Widget"][/siteorigin_widget]

GLServer deployment and configuration

  • Deploy Mahara Unit
  • Prepare the Mahara database
  • Complete the unit configuration
  • Start the unit
  • Perform the installation

Deploy Mahara Unit

Using the GLServer command line utility

gl --deploy glitch-mahara

Prepare the Mahara Database

The Mahara platform necessitates the utilisation of either a PostgreSQL or MySQL database. One option to satisfy this requirement is to create a new database on an existing database server. An alternative solution would be to deploy the Glitch-MariaDB instance.

Please take into consideration that it may be necessary to refine access controls based on your specific circumstances. For more information on this topic, please refer to the MySQL documentation located at https://dev.mysql.com/doc/.

The procedure for creating a database and assigning user permissions may differ with your version of mysql / mariadb please see https://docs.oracle.com/en/industries/communications/cloud-native-core/2.2.0/cnc_install/create-mysql-database-and-user.html for more information.


mysql>CREATE database mahara;
mysql>CREATE USER 'myuser'@'myhostserver' IDENTIFIED WITH mysql_native_password BY 'mypassword';
mysql>GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'myhostserver' WITH GRANT OPTION;
mysql>FLUSH PRIVILEGES;

Edit the following file, adding the database details

vi /var/glitch-units/glitch-mahara/data/var/www/html/config.php


$cfg->dbtype = 'mysql';
$cfg->dbhost = 'mysqlserver';
$cfg->dbport = null; // Change if you are using a non-standard port number for your database
$cfg->dbname = 'mahara';
$cfg->dbuser = 'myuser';
$cfg->dbpass = 'mypassword';

Complete the unit configuration

Edit the following files to meet your requirements


/var/glitch-units/glitch-mahara/glitch/config/enviroment
/var/glitch-units/glitch-mahara/glitch/config/ports
/var/glitch-units/glitch-mahara/glitch/config/unit.conf

Start the unit

gl -s glitch-mahara

Perform the installation

Using your web browser visit the site

Click "Install Mahara"

Once the installation is complete click "continue"

Enter a new admin password and admin email address and click "submit"

Installation is now complete

 

Managing modern applications across servers, networks, and environments can quickly become complex and costly.

EssingtonITS GL Server is a powerful platform designed to simplify the deployment and management of containerised application Units. Whether running a single server or a large multi-environment infrastructure, GL Server helps organisations deliver secure, scalable, and resilient services without requiring in-house DevOps expertise.

person people found this useful.

Related

Knowledge base 10 Jun 2026

Personal Notebook in eLLM

The personal notebook in eLLM allows users to organise and store notes, images, and files in a private, searchable timeline. It ensures privacy by keeping contents visible only to the user, and it can be integrated with the assistant for personalised answers.

Knowledge base 9 Jun 2026

Git Commands Quick Reference Guide

This quick reference guide covers essential Git commands for repository setup, staging, branching, merging, and working with remote repositories, making it a handy tool for developers to streamline their workflow.

Knowledge base 9 Jun 2026

Organisation Skills in the eLLM Admin Console

The article explains how the eLLM Admin Console allows organisations to create and manage shared instruction sets called "organisation skills" to ensure consistent responses across teams. These skills can be customised, restricted to specific groups, and integrated with extern…

Expand 29 Jul 2026

How AI can support pupils with SEND

Explore how AI tools are aiding pupils with special educational needs and disabilities by simplifying text, breaking down tasks, and enhancing accessibility. Learn about the considerations schools should make before implementation.

Expand 29 Jul 2026

AI policy and practice in further education

Further education colleges need distinct AI policies due to their unique mix of vocational courses, diverse age groups, and specific funding and inspection requirements. This guidance highlights the importance of tailored AI approaches in FE settings.