Book Image

Moodle 2 Administration

Book Image

Moodle 2 Administration

Overview of this book

Moodle has evolved from an academic project to the world's most popular virtual learning environment. During this evolution, its complexity has risen dramatically and so have the skills that are required to administer the system.Moodle 2 Administration is a complete, practical guide to administering Moodle sites. It covers how to set up Moodle in any learning environment, configuration and day-to-day admin tasks, as well as advanced options for customizing and extending Moodle.The author, who has been administering systems for over 20 years, has adopted a problem-solution approach to bring the content in line with your day-to-day operations. The practical examples will help you to set up Moodle for large groups and small courses alike. This is a one-stop reference for any task you will ever come across when administering a Moodle site of any shape and size.
Table of Contents (24 chapters)
Moodle 2 Administration
Credits
About the Author
About the Reviewers
www.PacktPub.com
PacktLib.PacktPub.com
Preface

Preface

Moodle has evolved from an academic project to the world's most popular Virtual Learning Environment (VLE). During this evolution, its complexity has risen dramatically and so have the skills that are required to administer the system.

Moodle 2 Administration is a complete, practical guide for administering Moodle sites. It covers setting up Moodle, configuration, and day-to-day admin task, as well as advanced options for customizing and extending Moodle.

The author, who has been at the cutting edge of Moodle administration 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 to set up Moodle for large groups and small courses alike.

This is a one-stop reference for any task you will ever come across when administering a Moodle site of any shape or size.

A special theme has been designed for taking screenshots in this book. Your Moodle might look slightly different, but the content will be the same.

What this book covers

Moodle has grown into a mature, sophisticated, and complex software system. As a result, Moodle administration covers a wide range of topics, which is the topic of this book. A fun way to demonstrate the various subjects is in the form of a tube/subway/metro/underground map (under Creative Commons license by Synergy Learning).

Part I Getting started

Chapter 1, Moodle Installation, tells you the most suitable Moodle setup for your organization, including software and hardware requirements. You will learn how to install Moodle in three environments, namely, LAMP/UNIX, Windows, and Mac OS, before manual and semi-automatic Moodle updates are covered in detail. Throughout, you will also learn how to perform some of the described operations using Moodle Command Line Interface (CLI).

Chapter 2, The Moodle System, covers the building blocks of the learning platform. First, we will cover the Moodle architecture, that is, the main Moodle components and where its data and code is stored. We then provide you with the skills to find your way around in Moodle via its intuitive user and administration interface. Finally, we deal with the management of files, which includes Moodle's standard file management, web host file management, and file management via the File system repository.

Part II Moodle configuration

Chapter 3, Courses, Users, and Roles, is an introductory chapter to give you an overview of Moodle courses, users, and roles. It covers the basics of these three key concepts and demonstrates how these three core elements are inherently intertwined.

Chapter 4, Course Management, tells you how to set up new courses and how to organize them in categories. 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 enrolment; for instance, via LDAP, meta courses, and payment-driven enrolments.

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

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

Chapter 7, Moodle Look and Feel, tells you how to adapt your Moodle system to bring it in line with the corporate branding of your organization. We will cover the customization of the front page, the creation of Moodle themes, and support for mobile devices. You will also learn how to support users with accessibility requirements.

Chapter 8, Moodle Plugins, brings you up-to-date with the vast array of Moodle plugins. The areas that will be covered are activities, blocks and filters, repositories, portfolios, text editors, licenses, question types and behaviors, and plagiarism prevention.

Chapter 9, Moodle Configuration, deals with the pedagogical and technical configuration of your Moodle system. Pedagogical topics covered are collaboration, localization, grades and gradebook settings, and a number of miscellaneous parameters. Technical subjects dealt with include synchronous communication (instant messaging and video conferencing), asynchronous communication (messaging and RSS feeds), and a number of experimental settings.

Part III Moodle maintenance

Chapter 10, Moodle Reporting, will equip you with the tools you require to interpret and analyze the vast amounts of usage data Moodle is collecting. You will first learn about the monitoring facilities provided by Moodle that include activity reporting, user tracking, and some basic statistics. Then, we will take a look at third-party tools that cover report generation, web log analyzers, and live data trackers, such as Google Analytics.

Chapter 11, Moodle Security and Privacy, focuses on ensuring that the data in your Moodle system is protected from any misuse. You will learn about security notifications, user security, data and content security, and system security. We conclude the chapter with information on privacy and data protection concerns.

Chapter 12, Moodle Performance and Optimization, makes sure that your Moodle system runs to its full potential. We will cover configuring, monitoring, and fine-tuning your Virtual Learning Environment for maximum speed. You will learn how to optimize Moodle content before we focus on system parameters, namely, caching settings, session handling, memory management, module settings, and miscellaneous settings. We will also present some basic performance profiling and monitoring tools.

Chapter 13, Backup and Restore, focuses on ensuring that, in the event of a disaster, your data would not be lost. We will cover course backups, site backups, system backups, and restoring data from the taken data archives.

Part IV Enhancing Moodle

Chapter 14, Installing Third-party Add-ons, explains in detail how to extend your Moodle system via third-party add-ons. You will be able to distinguish between good add-ons and not-so-good add-ons before we cover extensions that are popular with other users. We will then cover how to install, configure, and uninstall third-party add-ons.

Chapter 15, Moodle Integration via Web Services, looks at ways to integrate Moodle with other systems via web services. We provide information about the basic concepts of Moodle web services, before you learn how to set up external systems and users controlling Moodle. This also covers the support for mobile apps.

Chapter 16, Moodle Networking, tells you how to connect disparate Moodle systems either in a peer-to-peer setup or via a Moodle hub. You will also be able to apply the learned networking techniques to connect the popular open source e-portfolio system Mahara to Moodle. We will also show you how to connect to the Moodle Community Hub and how to set up your own MOOCH.

Part V Appendix

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

What you need for this book

For Moodle, you must have the following components up and running on your server:

  • Database: MySQL (version 5.0.25 or later, with InnoDB storage engine acvivated), PostgreSQL (version 8.3 or later), Microsoft SQL Server (version 2005 or later), or Oracle (version 10.2 or later)

  • Web server: Apache is the preferred web server

  • PHP: PHP 5.3.3 is required to run Moodle

  • PHP extensions: Moodle makes use of a number of PHP extensions, most of which are compiled into PHP, by default

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

Who this book is for

This book is written for technicians and systems administrators as well as academic staff, that is, basically for anyone who has to administer a Moodle system. Whether you are dealing with a small-scale local Moodle system or a large-scale multisite Virtual Learning Environment (VLE), this book will assist you with all kinds of administrative tasks. Some basic Moodle knowledge is helpful, but not essential.

VLE job functions

A Moodle administrator is basically a VLE administrator who manages a Moodle system. A quick search through recruitment agencies specializing in the educational sector reveal a growing number of dedicated job titles that are closely related to VLE administration. A few examples are:

  • VLE Administrator (or LMS Administrator or MLE Administrator)

  • VLE Support Officer

  • VLE Architect

  • VLE Engineer

  • VLE Coordinator

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

A VLE administrator usually works very closely with the staff who have responsibility for the administration of IT systems, databases, and networks. It has proven beneficial to have some basic skills in these areas. Additionally, links are likely in larger organizations where content management systems, student information management systems, and other related infrastructure is present.

Given this growing number of VLE administration-related roles, let us look at some key obligations of the job function and what skills are essential and desirable.

Obligations and skill sets of a VLE administrator

The responsibilities of the VLE administrator differ from organization to organization. However, there are some obligations that 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 VLE (sometimes 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 VLE-specific features, you are required to make sure that the virtual learning environment is secure, stable, and performs well. Backups have to be in place, monitoring has to be set up, reports about usage 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 much more. If your VLE is hosted in a managed environment, some of the tasks closer to system level will be carried out by the hosting provider. So, it is important 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.

Note

With great power comes great responsibility!

While a range of e-learning-related activities are now taught as part of the course work for some academic and vocational qualifications (for instance, instructional design or e-moderation), VLE administration, per se, is not. Most VLE administrators have a technical background and often have some system or database administration knowledge. Again, it entirely depends on whether you host your VLE locally or it is hosted externally. The administration skills of a remotely-hosted system can be learned by anybody with some technical knowledge. However, for an internally-hosted system, you will require good working knowledge of the operating system on which the VLE is installed, the underlying database that is used, the network in which the VLE has to operate, and any further components that have to work with the learning system.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows:

If the cron.php script is invoked over HTTP (either using wget or curl), more memory is used than calling directly via the php f command.

Any command-line input and output is written as follows:

mysqldump -u <user> -p <database> > backup.sql

New terms and important words are introduced in a bold-type font. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this:

Clicking on the Enabled protocols link in the Overview screen will guide you to the Manage protocols screen under Plugins | Web services.

Note

Warnings or important notes appear in a box like this.

Note

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book, what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply drop an e-mail to, making sure to mention the book title in the subject of your message.

If there is a book that you need and would like to see us publish, please send us a note in the SUGGEST A TITLE form on www.packtpub.com or e-mail.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Errata

Although we have taken every care to ensure the accuracy of our contents, mistakes do happen. If you find a mistake in one of our books maybe a mistake in text or code we would be grateful if you would report this to us. By doing this you can save other readers from frustration, and help to improve subsequent versions of this book. If you find any errata, report them by visiting http://www.packtpub.com/support, selecting your book, clicking on the let us know link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata added to the list of existing errata. The existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide the location address or website name immediately so we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and in our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with some aspect of the book, and we will do our best to address it.