Moodle Installation

MOODLE (Installation)

Register365 Hosting

STEP 1 – UPGRADE HOSTING TO LINUX / APACHE

(1) Go to Register365 Control Panel
(2) Click on Domain Names
(3) Click on gerardkilkenny.ie

STEP 2 – ADD A MYSQL DATABASE AND A USER

(1) Go to Register365 Control Panel
(2) Click on Domain Names
(3) Click on gerardkilkenny.ie
(4) Click on MySQL Databases
(5) Click ADD DATABASE
Database name RGP21485_moodle11g
MySQL server mysql11.mylogin.ie
(MySQL 5.5, 64 bit, Cores: 32, Memory: 64GB)
Default charset latin (cp1252 West European)
Username moodle11g
Password MupHaW2j
Remote access? No
(6) Click on the SAVE button

STEP 3 – DOWNLOAD MOODLE COMPRESSED FILE FROM MOODLE.ORG

(1) Go to http://download.moodle.org/
(2) Choose Moodle 3.1+ (built on 23rd June 2016)
(3) Click on ‘Download tgz’
(4) This downloads a file named moodle-latest-31.tgz (37.1 MB)
(5) Extract the files from this compressed file

STEP 4 – UPLOAD MOODLE DECOMPRESSED FILES TO GERARDKILKENNY.IE

(1) Upload the extracted files to gerardkilkenny.ie/web/moodle using FileZilla FTP software

STEP 5 – PERFORM MOODLE INSTALLATION AND CONFIGURATION

(1) Go to www.gerardkilkenny.ie
(2) The MOODLE Installation page appears
(3) Click Next to confirm (default) English as your choice of language.
(4) A Confirm Paths screen appears.
Click Next to confirm
Web address as http://www.gerardkilkenny.ie/moodle
Moodle directory as /var/www/web/moodle
Data directory as /var/www/moodledata

Notes:

Web address
The full address where Moodle will be accessed i.e. the address that users will enter into the address bar of their browser to access Moodle.

Moodle directory
The full path to the directory containing the Moodle code.

Data directory
A directory where Moodle will store all file content uploaded by users.
This directory should be both readable and writeable by the web server user (usually ‘www-data’, ‘nobody’, or ‘apache’).
It must not be directly accessible over the web.
If the directory does not currently exist, the installation process will attempt to create it.

(5) A Choose Database Driver screen appears.
Click Next to confirm Database Driver as (default) Improved MySQL (native/mysqli)
(6) A Database Settings screen appears.
Fill in the 7 Database settings as follows:
Database host FROM localhostTO mysql11.mylogin.ie
Database name FROM moodle TO RGP21485_moodle11g
Database user FROM ‘blank’ TO moodle11g
Database password FROM ‘blank’ TO PassWord
Tables prefix FROM mdl_ TO mdl_
Database port FROM ‘blank’ TO ‘blank’
Unix socket FROM ‘blank’ TO ‘blank’

Click Next to confirm

(7) An Installation / Moodle – Modular Object-Oriented Dynamic Learning Environment / Copyright notice screen appears.
Click Continue to confirm that you have read and understood these conditions.
(8) An Installation – Moodle 3.1+ (Build: 20160623) / Server Checks screen appears.

A list of 27 Server checks appear.

All checks were OK with the exception of

php_setting opcache.enable PHP setting should be changed.
PHP opcode caching improves performance and lowers memory requirements,
OPcache extension is recommended and fully supported.
Status = Check
For the other 26 checks, Status = OK
In relation to two of the more important items (MySQL and PHP versions), here are the details:

database mysql (5.5.48-log) version 5.5.31 is required and you are running 5.5.48
php version 5.4.4 is required and you are running 5.6.22

At the end of the list, the following line is visible:
Your server environment meets all minimum requirements.

Click Continue

(9) An Installation screen appears.
A long list of 384 items is presented on 55 screens.

For the first check called ’System’, here are the details:

Unexpected id generated for the Admin account. Your database configuration or clustering setup may not be fully supported
Nonconsecutive id generated for the Admin account. Your database configuration or clustering setup may not be fully supported.
Success
For the other 383 items, Status = Success

Click Continue

(10) You will reach a screen with the title below:
Installation
You are informed of the following:

On this page you should configure your main administrator account which will have complete control over the site.
Make sure you give it a secure username and password as well as a valid email address.
You can create more admin accounts later on.

You should populate the following text boxes:

Username (Leave as admin)
New password (Choose PassWord*)
Force password change (Leave unchecked)
First name (Choose Gerard)
Surname (Choose Kilkenny)
Email address (Choose moodle@gerardkilkenny.ie)
Email display (Choose Hide my email address from everyone)
City/town (Choose Dublin)
Select a country (Choose Ireland)
Timezone (Choose Server timezone (Europe/London)
Description (Enter some text about yourself). I entered the following:
My name is Gerard Kilkenny and I teach Mathematics and ICT in Palmerstown Community School. I am particularly interested in eLearning and the effective use of technology to enhance teaching and learning.)

Click Update profile

(11) You will reach a screen with the title below:
Installation

New settings – Front page settings
==============================================
Full site name (Choose Global School of Mathematics)
Short name for site (eg single word) (Choose Moodle-G)
Front page summary
The following courses will be available on this site:

Junior Certificate Mathematics (Higher Level)
Junior Certificate Mathematics (Ordinary Level)
Junior Certificate Mathematics (Foundation Level)
Leaving Certificate Mathematics (Higher Level)
Leaving Certificate Mathematics (Ordinary Level)
Leaving Certificate Mathematics (Foundation Level)
New settings – Location settings
==============================================
Default timezone (Leave as Europe/London)

New settings – Manage authentication
==============================================
Self registration (Leave as Disable)

Click Save Changes

(12) That’s it!

NOTE: Now there is an extra file in /gerardkilkenny.ie/web/moodle.
This file is config.php
So, there are now 72 files & directories rather than 71.

25 files and 46 directories = 71 files / directories (Note: palmerstowncs.ie has 30 files and 46 directories for some, as yet, unknown reason).
26 files and 46 directories = 72 files / directories (+ config.php)