Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: CentOS Linux installation.

CentOS Linux installation

From MoodleDocs
Revision as of 21:13, 8 February 2011 by Darko Miletic (talk | contribs)

Template:Moodle 2.0

Installing Moodle 2.0 on stock version of CentOS 5.x is not that straightforward due to a limitations imposed by the software available in the default repositories.

So let us go step by step in configuring and installing Moodle 2.0 on CentOS 5.5.

Asumptions

  • We have just a minimal OS installation
  • PHP is not installed
  • No RDBMS is installed
  • Apache is not installed
  • We plan on using MySQL as Moodle RDBMS

Requirements

As you may or may not know Moodle 2.0 requires following versions of software:

Element Version
PHP 5.2.8 (5.3.3 or more recent recommended)
MySQL 5.0.25 (5.5.x recommended)
Apache 2.2.x (CentOS ships with 2.2.3)

PHP

By default CentOS 5.5 ships with PHP 5.1.6. It is very old version and unsupported by Moodle 2. To avoid recompiling PHP I recommend use of certified PHP build -Zend Server 5.x Community Edition .

Before being able to download it you will need to register and login on the site which is free of charge. Site offers several options for installing the product and the one I recommend is the RPM installer.

You can find detailed description of this process here.