Setting up a fresh moodle instance, version 2.3

I’m setting up a new Moodle 2.3 instance on our server. Our other instance uses third-party courseware, requiring more coordination. This new site doesn’t, making the upgrade straightforward.

Moodle 2.3 Installation Steps

  1. Opened phpMyAdmin.
  2. Created a new, empty database with UTF8 collation (it will be populated during installation).
  3. Granted database privileges to the user account that the Moodle installation will use.
  4. Downloaded the Moodle 2.3 stable release zip file from moodle.org.
  5. Unzipped the file (it’s about 99MB, roughly 25MB larger than version 2.2).
  6. Copied all files from within the extracted Moodle directory.
  7. Created a new folder on the server’s webroot to house the extracted Moodle code.
  8. Pasted the Moodle source code into the new folder (this includes index.php, which initiates the installation).
  9. (Note: There isn’t a config.php file yet. The installation process generates it after database configuration.)
  10. Browsed to the new folder in a web browser (e.g., serverip/newinstancename) to start the installation.

The Moodle installer will guide you through these steps:

Ensure the web address points to your server’s IP, the directory is the Moodle code folder, and the data directory is where uploaded files will reside.

Moodle supports these database types: MySQL, Postgres, Oracle, and MSSQL.

Input your database connection details. If your database server is separate, use its IP. The database name, username, and password should match those defined previously. Make sure the user has table creation and modification privileges.

Carefully review the server checks. You might need to install missing PHP extensions, restarting PHP after each one. Once those are cleared, the remaining steps involve creating an admin account and setting up the front page. Upon completion, you’ll have a fresh Moodle installation:

Licensed under CC BY-NC-SA 4.0
Last updated on Oct 17, 2022 05:57 +0100