Gyre Services ®

Technology Blog

How to install Moodle 2.0 on Windows Server 2008/R2 with MySQL

I will walk you through step by step with installing Moodle 2.0 on a Windows Server 2008/R2 with MySQL as the database backend. I will utilize Microsoft Web Platform installer to simplify the installation. This should be fun.

Get Web Platform Installer

Get_Web_Platform_Installer.png
media_1303400121114.png

Run the installation of Web platform Installer

Run_the_installation_of_Web_platform_Installer.png
media_1303400209081.png

Add "IIS 7 Recommended Configuration"

Add_IIS_7_Recommended_Configuration.png

1. Click Products

2. Click Server

3. Click "Add" to the right of "IIS Recommended Configuration"

Add PHP 5.2.17

Add_PHP_5.2.17.png

Still under products:

1. Click Frameworks

2. Click "Add" to the right of "PHP 5.3.6"

Add MySQL 5.1

Add_MySQL_5.1.png

Still under products:

1. Click Frameworks

2. Click "Add" to the right of "PHP 5.2.17"

Install "PHP Manager for IIS"

Install_PHP_Manager_for_IIS.png

Still under products:

1. Click Tools

2. Click "Add" to the right of "PHP Manager for IIS"

Install all selected features/products

Install_all_selected_featuresproducts.png

Specify the MySQL root password

Specify_the_MySQL_root_password.png

Verify the installed features/products

Verify_the_installed_featuresproducts.png

click finish

Exit "Web Platform installer"

Exit_Web_Platform_installer.png

Click exit.

Create a new MySQL database and user for Moodle with MySQL Command Line Client

Create_a_new_MySQL_database_and_user_for_Moodle_with_MySQ.png

Login to MySQL Command Line Client

Login_to_MySQL_Command_Line_Client.png

Create the Moodle database

Create_the_Moodle_database.png

Create the Moodle database user and password.

Create_the_Moodle_database_user_and_password..png

Give the database user the privileges to use the moodle database

Give_the_database_user_the_privileges_to_use_the_moodle_d.png

Download moodle for windows from http://download.moodle.org/

Download_moodle_for_windows_from_httpdownload.moodle.org.png
media_1303409617455.png
media_1303409645158.png
media_1303409774956.png
media_1303409965629.png
media_1303410253322.png
media_1303410473043.png

Create the moodle data directory

Create_the_moodle_data_directory.png

1. Right click anywhere within the root Moodle folder

2. Click "New"

3. Click "Folder"

How your directory structure should look

How_your_directory_structure_should_look.png

Assign write permissions to the moodledata directory

Assign_write_permissions_to_the_moodledata_directory.png

Rename the Moodle config file

Rename_the_Moodle_config_file.png

rename the file from config-dist.php to config.php

Open the properties of the Moodle config file

Open_the_properties_of_the_Moodle_config_file.png

Access the Security tab

Access_the_Security_tab.png

Give "Users" Full control

Give_Users_Full_control.png

Open the Moodle config file...

Open_the_Moodle_config_file....png

Use WordPad to edit the config file

Use_WordPad_to_edit_the_config_file.png

Update your database information

Update_your_database_information.png

Specify your website public URL location

Specify_your_website_public_URL_location.png

Specify your dataroot location

Specify_your_dataroot_location.png

Add Moodle as an IIS Application

Add_Moodle_as_an_IIS_Application.png

Enter "Application" name and "Physical path"

Enter_Application_name_and_Physical_path.png

Select the Moodle application

Select_the_Moodle_application.png

Open PHP Manager in the Features view

Open_PHP_Manager_in_the_Features_view.png

Configure recommended settings

Configure_Recommended_settings.png

Apply recommendations

Apply_recommendations.png

Enable PHP Extensions for Moodle

Enable_PHP_Extensions_for_Moodle.png

Select "php_intl.dll"

Select_php_intl.dll.png

Click enable under the Actions pane

Click_enable_under_the_Actions_pane.png

Test your PHP settings

Test_your_PHP_settings.png

Verify PHP version

Verify_PHP_version.png

Access the moodle site via your web browser

Access_the_moodle_site_via_your_web_browser.png

Begin the Moodle Web installation

Begin_the_Moodle_Web_installation.png

Confirm that server checks are all ok

Confirm_that_server_checks_are_all_ok.png

Complete the Installation

Complete_the_Installation.png

Fill required info

Fill_required_info.png

Update profile and that is it, whew!

Update_profile_and_that_is_it__whew_.png