Book Image

Moodle 3 Administration - Third Edition

By : Alex Büchner
Book Image

Moodle 3 Administration - Third Edition

By: Alex Büchner

Overview of this book

Moodle is the de facto standard for open source learning platforms. However, setting up and managing a learning environment can be a complex task since it covers a wide range of technical, organizational, and pedagogical topics. This ranges from basic user and course management, to configuring plugins and design elements, all the way to system settings, performance optimization, events frameworks, and so on. This book concentrates on basic tasks such as how to set up and configure Moodle and how to perform day-to-day administration activities, and progresses on to more advanced topics that show you how to customize and extend Moodle, manage courses, cohorts, and users, and how to work with roles and capabilities. You’ll learn to configure Moodle plugins and ensure your VLE conforms to pedagogical and technical requirements in your organization. You’ll then learn how to integrate the VLE via web services and network it with other sites, including Mahara, and extend your system via plugins and LTI. By the end of this book, you will be able to set up an efficient, fully fledged, and secure Moodle system.
Table of Contents (24 chapters)
Moodle 3 Administration Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Command Line Interface (CLI)


We have already come across the CLI during the installation chapter when we also dealt with upgrades. However, the CLI has a few more tricks up its sleeve, which we will deal with next.

First of all let us look at the way you call any CLI scripts, which are either located in admin/cli/* or in the sub-folder of plugins that offer a CLI option—for example, auth/ldap/cli. To call a CLI script, follow the following notation:

sudo –u <apache_user> /usr/bin/php admin/cli/<script>.php

Your <apache_user> is usually www-data or apache. Every CLI script has a --help parameter that offers additional information and also describes calling options. The following is a list of some useful CLI commands. For all others commands, have a look in their respective CLI directories. We do not list any parameters here as these are explained well in the --help options.

PHP Script

Purpose

alternative_component_cache

Intended for clustered sites that do not want to...