0 with
Microsoft Technologies
Implementing Moodle 2 with Microsoft technologies
including Windows Server, IIS, Active Directory,
Microsoft SQL and Exchange
Alex Pearce
Moodl
e2.
0wi
t
h
Mi
c
r
os
of
t
Tec
hnol
ogi
es
I
mpl
ement
i
ngMoodl
e2wi
t
hMi
c
r
os
of
t
t
ec
hnol
ogi
es
i
nc
l
udi
ngWi
ndowsSer
v
er
,
I
I
S,
Ac
t
i
v
eDi
r
ec
t
or
y
,
Mi
c
r
os
of
t
SQLandEx
c
hange
Al
exPear
c
e
2|P age
Moodle 2.0 with Microsoft Technologies
Contents
Introduction ................................................................................................................ 7
Chapter 1: Implementation of Moodle 2.0 on a single Windows Server ................... 9
Configure Windows, Roles and Features ................................................................ 9
Installing PHP to IIS ............................................................................................... 13
Testing IIS and PHP ............................................................................................... 16
Configuring the PHP.ini file ................................................................................... 17
Folders and Permissions ....................................................................................... 20
Installing SQL Server Express 2008 R2................................................................... 23
Install and Configure SQL Server 2.0 for PHP ........................................................ 26
Configure SQL Server Express ............................................................................... 28
Configure Moodle 2.0 ........................................................................................... 31
Summary ............................................................................................................... 35
Chapter 2: Implementation of Moodle 2.0 on two load balanced Window Servers 36
Understanding the Architecture ........................................................................... 36
Pre-requirements .................................................................................................. 39
Server Network Interface Cards ........................................................................ 39
Domain Users .................................................................................................... 39
Shares on SAN ................................................................................................... 40
Enabling the required Features and Role .............................................................. 40
Connecting to an iSCSI Drive ................................................................................. 43
Creating the Cluster .............................................................................................. 49
Installing SQL Server 2008 R2 as a Cluster ............................................................ 58
Configuring Moodle Web Front End Servers. ........................................................ 67
Installing PHP to IIS ............................................................................................... 71
Testing IIS and PHP ............................................................................................... 74
3|P age
Moodle 2.0 with Microsoft Technologies
5|P age
Moodle 2.0 with Microsoft Technologies
6|P age
Moodle 2.0 with Microsoft Technologies
Introduction
Over the past 30 years technology has changed the world with the internet, email,
mobile phones and communication. With these cultural changes in society so has
education with students emailing teachers their homework, lessons using projectors
and degrees in computer science and programming.
One of the largest changes in educational learner is the ability to learn from the
web, the information highway. With ever growing content available to anyone with
a computer and an internet connection it has become important for education
institutions to be able to create their own content in an easy process, allocating
work to students and the server to give student instant marks and grades. These
types of web sites and web applications are known as Virtual Learning Environments
or VLEs and this is actually what Moodle is built to do.
Moodle 2.0 was released in early 2011 increasing the features of the previous
version allowing more users to communicate with each other and work with courses
specially built for their subject.
Built as a free open source product, Moodle can be implemented on any operating
system that can run a PHP website and one of these is Microsoft stack.
Most Moodle implementations are on Linux with Apache using a MySQL database
but this e-book looks at implementing it on a Microsoft, but why?
Most of Microsoft products are top selling and help the market to stay innovate,
increasing new features from other companies and drives the boundaries where
technology can go next. Some of these are Windows Server their server based
operating system, SQL Server for databases and Exchange for email.
Each of these products has been designed and built to be more resilient than the
previous ensuring that the service is always available for the end users. This allows
websites to run across multiple servers without the end user knowing that one of
the two servers has been shut down for maintenance.
With new features and versions from Microsoft and their products, so do new
security measures ensuring your data is secure and not vulnerable to a hacker.
7|P age
Moodle 2.0 with Microsoft Technologies
This is why this book looks at how Moodle can be implemented on scalable
technologies are that used in most educational establishments such as Windows
Server, SQL Server and Active Directory.
The book will also look at connecting Moodle to other services you may have in your
organisation including Active Directory and Microsoft Exchange.
8|P age
Moodle 2.0 with Microsoft Technologies
Alex Pearce