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 16 Oct 2026

Building a Windows 11 gold template

Learn how to create a Windows 11 gold template in Proxmox for VDI environments, allowing for efficient desktop pool management. This guide is aimed at engineers and includes steps for setting up, configuring, and testing the template.

Knowledge base 10 Oct 2026

eLLA - Settings, Options and Skills Reference

eLLA is a command-line assistant for system administration. It connects to an eLLM endpoint (any OpenAI-compatible API with tool calling), runs read-only diagnostics on its own, and asks for approval before it changes anything. This article lists every setting, command, option and bundled skill.

Knowledge base 23 Sep 2026

eSAM and exam regulations

eSAM addresses every requirement in JCQ Appendix 1 that software can address. The rest, who is sitting there, how the room is laid out, how many invigilators are watching stay with the centre, and eSAM tells you exactly which those are.

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.