Install Moodle 3.1.1+ eLearning on Windows localhost

Trabla: Install Moodle 3.1.1+ eLearning on Windows localhost ( XAMPP 5.6.23 )

Install Moodle 3.1.1+ eLearning on Windows localhost tutorial


Moodle is a free and open-source software learning ( e-learning ) management system written in PHP and distributed under the GNU General Public License. Developed on pedagogical principles,
Moodle is used for blended learning, distance education, flipped classroom and other e-learning projects in schools, universities, workplaces and other sectors.

With customizable management features, Moodle  is used to create private websites with online courses for educators and trainers to achieve learning goals.
 Moodle (acronym for modular object-oriented dynamic learning environment) allows for extending and tailoring learning environments using community sourced plugins

Latest Tutorial - Install Moodle 3.2.1 via Bitnami installer on Windows 7 localhost


Solving:


Watch on YouTube

1. Download and install XAMPP 5.6.23 from official site:
https://www.apachefriends.org/download.html

Install Moodle 3.1.1 eLearning PHP LMS on Windows tutorial 1

2. Download Moodle 3.1.1+ e-learning sources from official site:
https://moodle.org/

Install Moodle 3.1.1 eLearning PHP LMS on Windows tutorial 2

Install Moodle 3.1.1 eLearning PHP LMS on Windows tutorial 3

Install Moodle 3.1.1 eLearning PHP LMS on Windows tutorial 4

Install Moodle 3.1.1 eLearning PHP LMS on Windows tutorial 5

Install Moodle 3.1.1 eLearning PHP LMS on Windows tutorial 6


3. Create folder \moodle XAMPP htdocs folder
C:\xampp\htdocs\moodle
and copy all files from downloaded Moodle 3.1.1+ e-learning  .zip source

Install Moodle 3.1.1 eLearning PHP LMS on Windows tutorial 7


4. Run XAMPP Control Panel 

open php.ini file ( Apache ->  Config-> PHP(php.ini) )

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 8


- change max_execution_time value
from max_execution_time=30 to max_execution_time=600

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 9

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 10

- uncomment ( remove semicolon ) xmlrpc extension
from ;extension=php_xmlrpc.dll  to extension=php_xmlrpc.dll

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 11

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 12

- uncomment ( remove semicolon ) soap extension
from ;extension=php_soap.dll  to extension=php_soap.dll

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 13

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 14


- uncomment ( remove semicolon ) intl extension
from ;extension=php_intl.dll  to extension=php_intl.dll

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 15

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 16

- uncomment ( remove semicolon ) opcache.enable  and change value to 1
from ;opcache.enable=0  to opcache.enable=1

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 17

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 18

- add following string to end of file
zend_extension = "C:\xampp\php\ext\php_opcache.dll"

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 19



- save  & close php.ini
- start Apache
- start Database

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 20

5. Open in browser following url to start  Moodle 3.1.1+ e-learning  web installation
http://localhost/moodle

"Choose language" page - click "Next" button

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 21


6.  "Confirm Paths" page of Moodle 3.1.1+ e-learning  web installation
  - click "Next" button

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 22

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 23


7.  "Choose database driver" page of Moodle 3.1.1+ e-learning  web installation

- select Type - MariaDB (native/mariadb)
- click "Next" button

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 24

8.  "Database settings" page of Moodle 3.1.1+ e-learning  web installation

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 25

Now we need to create Database for  Moodle 3.1.1+ e-learning

1) Open phpMyAdmin in new browser tab (or window :) ) - http://localhost/phpmyadmin
2) Open SQL tab
3) Execute following query

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 26

CREATE DATABASE `moodle` 
DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

CREATE USER 'moodle-owner'@'localhost'; 
CREATE USER 'moodle-owner'@'127.0.0.1';
CREATE USER 'moodle-owner'@'::1';

SET PASSWORD 
FOR 'moodle-owner'@'localhost' = PASSWORD('moodle123$%');
SET PASSWORD 
FOR 'moodle-owner'@'127.0.0.1' = PASSWORD('moodle123$%');
SET PASSWORD 
FOR 'moodle-owner'@'::1' = PASSWORD('moodle123$%');


GRANT ALL PRIVILEGES ON 
`moodle`.* TO 'moodle-owner'@'localhost' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON 
`moodle`.* TO 'moodle-owner'@'127.0.0.1' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON 
`moodle`.* TO 'moodle-owner'@'::1' WITH GRANT OPTION;

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 27

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 28

Go back  to  Moodle 3.1.1+ e-learning  installation page

- type Database name -  moodle
- type Database user moodle-owner
- type Database password-  moodle123$%
- type Database port -  3306

- click "Next" button

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 29

9.  "Copyright notice" page of Moodle 3.1.1+ e-learning  web installation
- click "Continue" button

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 30


10.  "Server checks" page of Moodle 3.1.1+ e-learning  web installation

- make sure all green "OK" :)
- click "Continue" button

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 30

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 31

11.  "Installation" page of Moodle 3.1.1+ e-learning  web installation
- click "Continue" button

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 32

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 33


12.  "Installation - admin credentials" page of Moodle 3.1.1+ e-learning  web installation

- enter admin credentials
- click "Update profile" button

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 34

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 35

13.  "Installation - front page settings" page of Moodle 3.1.1+ e-learning  web installation

- set front page settings
- click "Save changes" button

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 36

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 37

Enjoy Moodle 3.1.1+ e-learning   !!!

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 38

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 39

Install Moodle 3.1.1 eLearning PHP LMS on Windows XAMPP tutorial 40

No comments:

Post a Comment