Preface

Since its launch in 2002, Moodle has become the benchmark that every learning management system is measured against. It has won a wide range of international accolades and established itself as an ecosystem for educational tools and services.

There are two versions of Moodle: Moodle LMS and Moodle Workplace.

Moodle LMS is the original version of Moodle, targeted at educational institutions such as schools, colleges, universities, and training providers. Moodle Workplace is designed for corporate and organizational training, resulting in a powerful and flexible platform for workplace learning.

While this book covers the administration of Moodle LMS, it can also be used with Moodle Workplace, since the latter is an extension of the former. References to Moodle Workplace and samples will be provided throughout.

A fun way to demonstrate the various Moodle subjects is in the form of a tube/subway/metro/underground map, where any icon(ic) stations represent Moodle Workplace-only features (you can download higher-quality versions in multiple languages and up-to-date features from www.openumlaut.com):

Figure P.1 – Moodle and Moodle Workplace map

Moodle 4 Administration is a complete, practical guide to administering Moodle sites. It covers setting up Moodle, configuration, day-to-day administrative tasks, and advanced options to customize and extend Moodle.

The author, who has been at the cutting edge of Moodle since its advent, has adopted a problem-solution approach to bring the content in line with your day-to-day operations. The practical examples will help you set up Moodle for large organizations and small entities alike.

This is a one-stop reference for tasks you will encounter when administering a Moodle site of any shape or size. It not only covers core Moodle functionality but also some third-party tools and add-ons that will increase your flexibility and efficiency even further when dealing with administrative duties.

The fourth edition of this title has been written from scratch to align with Moodle’s latest version. It has been further augmented with over 120 diagrams, checklists, and workflows. I hope you find its content useful when administering your Moodle system. Happy Moodling!

Who is this book for

This book is written for technicians and systems administrators as well as academic staff – that is, basically anyone who has to administer a Moodle system. Whether you are dealing with a small-scale local Moodle system or a large-scale multi-site Learning Management System (LMS), this book will assist you with any administrative tasks.

Some basic Moodle knowledge would be helpful but is not essential.

LMS job functions

A Moodle administrator is an LMS administrator who manages a Moodle system. A quick search through recruitment agencies specializing in the educational sector reveals a growing number of dedicated job titles closely related to LMS administration. A few examples are as follows:

  • LMS administrator (or VLE administrator or MLE administrator)
  • LMS support officer
  • LMS architect
  • LMS engineer
  • LMS coordinator

The list does not include functions that regularly act in an administrative capacity, such as IT support. It also does not include roles in the pedagogical field that often take on the work of an LMS administrator, such as learning technologists or e-learning coordinators.

An LMS administrator usually works closely with the staff responsible for IT systems, databases, and networks. It has been proven beneficial to have some basic skills in these areas. Additionally, links with other departments are more likely in larger organizations where content management systems, student information management systems, and other related infrastructure are present.

Given this growing number of LMS administration-related roles, let’s look at some key obligations of the job functions and what skills are essential and desirable.

Obligations and skill sets of an LMS administrator

The responsibilities of an LMS administrator differ from organization to organization. However, some obligations are common across installations and setups:

  • User management (learners, teachers, and others)
  • Course management (prospectus mapping)
  • Module management (functionality provided to users)
  • Look and feel of the LMS (often carried out by a web designer)
  • Year-end maintenance (if applicable)
  • Beginning-of-year setup (if applicable)
  • Support teaching staff and learners

In addition to these generic LMS-specific features, you must ensure that your system is secure, stable, and performs well. Backups have to be in place, monitoring has to be set up, usage reports have to be produced, and regular system maintenance has to be carried out.

If you host your own system, you will be responsible for all of the listed tasks and many more. If your LMS is hosted in a managed environment, the hosting provider will carry out some tasks closer to the system level, so it is essential that they have a good understanding of Moodle. Either way, you will be the first person to be contacted by staff and learners if anything goes wrong, if they require new functionality, or if some administrative task has to be carried out.

With great power comes great responsibility!

What this book covers

The book is organized in five parts, as shown in the following diagram:

Figure P.2 – Book structure

Part 1: Getting Started

These two initial chapters will get you off the ground. You will learn different techniques on how to install Moodle and how to keep it up to date. You will further familiarize yourself with the Moodle system and its user interface. This part comprises the following chapters.

Chapter 1, Installing Moodle, tells you about the most suitable Moodle setup for your organization, including software and hardware requirements. You will learn how to install Moodle in a LAMP environment before Moodle update options are covered in detail. Throughout the chapter, you will learn how to perform the described operations using the Moodle Command-Line Interface (CLI), Git, and the third-party Moodle Shell (Moosh).

Chapter 2, Exploring the Moodle System, covers the building blocks of the learning platform. First, we present the Moodle architecture – that is, the main Moodle components – and where its data and code are stored. You will then acquire the skills to find your way around Moodle via its intuitive user and administration interface and where to find help if required. Finally, you will learn how Moodle’s file management works and how to configure the recycle bin.

Part 2: Courses, Users, and Roles

Courses, users, and roles form the backbone of Moodle. You will learn how to manage courses and categories and different options to enrol users in courses. We will then deal with the management of users and cohorts and how to set up different authentication methods. Finally, you will learn how to manage permissions by applying roles and capabilities in different contexts. This part comprises the following chapters.

Chapter 3, Exploring Courses, Users, and Roles, gives you an overview of Moodle courses, users, and roles. It covers the basics of the key concepts and demonstrates how the three core elements are inherently intertwined.

Chapter 4, Managing Courses and Enrolments, shows you how to set up new courses (manually and in bulk) and organize them in categories. You will learn how to add custom course fields and deal with course requests. The remainder of the chapter deals with an array of enrolment options, covering Moodle’s internal enrolment (manual, self, and guest), cohort enrolment and synchronization, and database-driven enrolments – for instance, via LDAP, meta courses, and payment-driven enrolments.

Chapter 5, Managing Users, Cohorts, and Authentication, explains how to manage users on your system. We first cover what user profiles look like and how they can be extended before presenting (manual and bulk) standard user actions. We then explain how to add users to Moodle manually – that is, one by one and via batch upload – before dealing with cohorts. Then, we will learn about a plethora of authentication mechanisms that Moodle equips us with. Finally, we will discuss the best practices of user-naming schemes.

Chapter 6, Managing Permissions, Roles, and Capabilities, guides you through permission management. This applies roles and capabilities to users in different contexts. We will cover the assignment of roles, modification of existing roles, and the creation of new roles before we deal with any administrative role- and context-related settings, including context freezing.

Part 3: Enabling Learning and Teaching

This part is about how you, as an administrator, ensure the best possible environment for your learners and teachers. You will learn different enhancement options for Moodle’s look and feel and how to manage Moodle plugins, covering educational and technical features. This part comprises the following chapters.

Chapter 7, Enhancing Moodles Look and Feel, tells you how to adapt your Moodle system to align with your organization’s corporate branding. We will cover the customization of the appearance of your system, where you will learn how to change the layout of key pages before we deal with different login workflows and how to adjust the header. We will further deal with some appearance tools that impact the look and feel throughout the site: the block drawer, the Atto HTML editor, video and audio, and finally, user tours. We will briefly cover theme customization before you learn how to support users with accessibility requirements.

Chapter 8, Understanding Moodle Plugins, explains in detail what plugins are and how to extend your Moodle system via third-party add-ons. We will cover how to manage Moodle plugins, which includes their installation, configuration, and removal. Finally, you will be able to distinguish between good add-ons and not-so-good add-ons before we cover some popular extensions.

Chapter 9, Configuring Educational Features, deals with the educational configuration of your Moodle system. Pedagogical topics that are covered are collaboration tools (blogs, comments, and tags), content creation features (the content bank and H5P, LTI platforms and tools, filters, plagiarism prevention, and licenses), grades and assessments, and the management of skills and incentives (competencies, learning plans, badges, and certificates).

Chapter 10, Configuring Technical Features, deals with the technical configuration of your Moodle system. Technical subjects that are dealt with include synchronous and asynchronous communication (chats and BigBlueButton, messages, notifications, and RSS feeds), localization (languages, calendars, and time zones), repositories, and portfolios.

Chapter 11, Enabling Mobile Learning, teaches you how to prepare, configure, and customize the Moodle app. We will cover the different subscriptions Moodle offers, including the branded mobile app, before dealing with the preparatory steps you must take before your learners can use the app. The app configuration covers mobile features, notifications, the app policy, and the app’s look and feel.

Chapter 12, Gaining Insights through Reporting and Analytics, equips you with the tools required to interpret and analyze the vast amount of usage data that Moodle collects. We will first focus on Moodle‘s custom report builder, covering data sources, report building, report audiences, and schedules. After a detailed overview of the underlying Moodle logging framework with its components, events, and log stores, you will then learn how to interact with Moodle logs. Finally, we will deal with two more reporting techniques that use logs as their basis: Moodle statistics and Moodle analytics.

Part 4: Under the Bonnet

This part covers all topics that are mostly invisible to learners and teachers but are critical to guarantee the smooth operation of your Moodle system. You will learn how to ensure security, comply with data protection regulations, optimize Moodle’s performance, implement a solid backup and restore strategy, and work with helpful admin tools. This part comprises the following chapters.

Chapter 13, Ensuring Moodle Security, focuses on ensuring that the data in your Moodle system is protected from any misuse. You will learn about security notifications, user security, content security, and system security.

Chapter 14, Complying with Data Protection Regulations, deals with data privacy and the protection of personal data. You will learn about Moodle’s implementation of the General Data Protection Regulation, covering designating a privacy officer, managing policies, configuring the data registry, and handling subject access requests.

Chapter 15, Optimizing Moodle Performance, ensures your Moodle system runs to its full potential. We will cover configuring, monitoring, and fine-tuning your learning management system for maximum speed. You will learn how to optimize Moodle feature performance and discuss the trade-off between improved speed and potentially reduced functionality. We will then cover the powerful Moodle Universal Cache (MUC), including cache types, stores, and definitions. Finally, you will learn how to configure various system-related performance settings, namely session handling, cron management, scheduled tasks, global search, and system paths.

Chapter 16, Avoiding Sleepless Nights – Moodle Backup and Restore, focuses on ensuring that your data would not be lost in the event of a disaster. We will cover course backups, site backups, system backups, and restoring data from the taken data archives. You will learn about two procedures that use backup and restore facilities: planning year-end procedures and implementing course templates.

Chapter 17, Working with Moodle Admin Tools, covers Moodle tools that assist you with specific administrative tasks. These include site admin presets, database tools, as well as CLI scripts. We will also look at some add-ons, especially the powerful Moodle Shell, Moosh.

Part 5 – Beyond Moodle

No Moodle is an island. While many Moodle systems are operated in isolation, there are scenarios where your LMS must cooperate with external entities, whether exchanging data with other systems via web services, connecting disparate Moodle instances, or supporting multiple tenants. This part deals with setting up such topologies and comprises the following chapters.

Chapter 18, Integrating External Systems Using Web Services, looks at ways to integrate Moodle with other systems via web services. We will provide information about the basic concepts of Moodle web services before you learn how to set up external systems and users controlling Moodle.

Chapter 19, Setting Up Moodle Networking, tells you how to connect disparate Moodle systems in a peer-to-peer setup or via a Moodle hub. You will further learn how to enable MoodleNet, a platform to find, share and curate open educational resources.

Chapter 20, Supporting Multi-Tenancy, discusses different approaches and models to design and implement a multi-tenancy in Moodle. We distinguish between different multi-tenancy setups: multi-tenancy by categories, multi-tenancy by isolated systems, and multi-tenancy in Moodle Workplace.

Appendix, Configuration Settings, provides you with a list of parameters that can be modified in Moodle’s configuration file and the impact each of these values will have. The areas covered are administration settings and system settings.

To get the most out of this book

For Moodle, you must have the following components up and running on your server (at the time of writing for version 4.0):

  • Database: MySQL (version 5.7 or later utilizing the ACID-compliant InnoDB storage engine), PostgreSQL 10+, MariaDB 10.2.29+, Aurora MySQL (on Amazon Web Services), Microsoft SQL Server 2017+, and Oracle 11.2+.
  • Web server: Apache is the preferred web server option, but Moodle works well with any other web server that supports PHP, such as Microsoft IIS.
  • PHP 7.3.0 is the minimum PHP version to run Moodle 4; PHP 7.4.0 is the minimum version from Moodle 4.1 onwards. PHP 8 is also supported.
  • PHP extensions: Moodle makes use of a number of PHP extensions, most of which are compiled in PHP by default: curl, ctype, dom, fileinfo, gd, hash, iconv, intl, json, mbstring, openssl, pcre, simplexml, spl, xml, xmlreader, zip, and zlib.

Depending on your specific setup, additional software might be required.

If you don’t have access to the preceding components, ensure that you have full administrator access to a Moodle system. You won’t be able to carry out any system-level operations but will be able to administer Moodle via its web interface fully.

Download the color images

We also provide a PDF file that has color images of the screenshots and diagrams used in this book. You can download it here: https://packt.link/PnRUP

Conventions used

There are a number of text conventions used throughout this book.

Code in text: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “To prevent dataroot from being accessible, move the directory outside the web directory and modify config.php accordingly by changing the $CFG->dataroot entry.”

A block of code is set as follows:

/* Change toolbar background color to orange */
.toolbar-background
{
  background: orange;
}

Bold: Indicates a new term, an important word, or words you see on screen. For example, words in menus or dialog boxes appear in the text like this. An example is “Go to General | Advanced features and tick the Enable web services for mobile devices option.”

Tips or Important Notes

Appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: If you have questions about any aspect of this book, email us at [email protected] and mention the book title in the subject of your message.

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packtpub.com/support/errata and fill in the form.

Piracy: If you come across any illegal copies of our works in any form on the internet, we would be grateful if you would provide us with the location address or website name. Please contact us at [email protected] with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Share Your Thoughts

Once you’ve read Moodle 4 Administration, we’d love to hear your thoughts! Please click here to go straight to the Amazon review page for this book and share your feedback.

Your review is important to us and the tech community and will help us make sure we’re delivering excellent quality content.

Download a free PDF copy of this book

Thanks for purchasing this book!

Do you like to read on the go but are unable to carry your print books everywhere? Is your eBook purchase not compatible with the device of your choice?

Don’t worry, now with every Packt book you get a DRM-free PDF version of that book at no cost.

Read anywhere, any place, on any device. Search, copy, and paste code from your favorite technical books directly into your application.

The perks don’t stop there, you can get exclusive access to discounts, newsletters, and great free content in your inbox daily

Follow these simple steps to get the benefits:

  1. Scan the QR code or visit the link below

https://packt.link/free-ebook/9781801816724

  1. Submit your proof of purchase
  2. That’s it! We’ll send your free PDF and other benefits to your email directly
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.80.209