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

Installation in a Windows environment


XAMPP is a free Apache distribution that contains MySQL and PHP (as well as Perl) and exists for a number of operating systems. The Moodle distribution for Windows makes full use of XAMPP and is located at download.moodle.org/windows. The installation works on all the latest Windows PC and server variants.

The XAMPP-based Moodle distribution is only suitable for servers with a small number of users. For larger Windows installations you have to install Moodle manually. This involves installing a database server (MS SQL or any other support system), a web server (Microsoft IIS or Apache), and PHP, separately. You find details about this process at docs.moodle.org/en/Windows_installation.

Once downloaded, take the following steps:

  1. 1. Copy the distribution to a folder on your PC and unzip the archive in your folder of choice.

  2. 2. Make sure any software that uses port 80 is not running or change its settings to point it to an alternative port.

  3. 3. Double-click on Start Moodle.exe.

  4. 4. If you have a firewall installed, allow any shown services to be executed.

  5. 5. The XAMPP service will run in the Windows background.

  6. 6. Go to your web browser and enter http://localhost to your address bar.

  7. 7. You will see the same installer being launched as the one described for the LAMP environment. All values have already been populated; all you have to do is navigate through all the screens until you see the familiar Setup administrator account. This process will take a few minutes.

  8. 8. Enter the administrator details and select Update profile.

  9. 9. Enter the Front Page settings for your site.

  10. 10. Check that no warnings are displayed in the Notifications section of the Site administration area in the Settings block.

That's it! Your Moodle system is now up and running and you are now able to use Moodle locally, or from a web browser on another machine, as long as your IP address is accessible via the network you are on.

To stop using Moodle, double-click on Stop Moodle.exe. If you have a firewall installed, you might have to allow the program to be executed.

Instead of starting and stopping Moodle manually, you can start Apache and MySQL automatically as Windows services. In the server directory of your Moodle system, you find an executable called service.exe which you have to run with the -install parameter as administrator, as in the following example:

C:/moodle/server/service.exe -install