You are on page 1of 4

Global Open Versity ICT Labs Step-by-step Install Guide for Moodle on Linux v1.

Global Open Versity


Systems Integration Hands-on Labs Training Manual

Step-by-Step Install Guide Moodle on Linux


with Sclipo Live Web Class
Kefa Rabah
Global Open Versity, Vancouver Canada
krabah@globalopenversity.org
www.globalopenversity.org

Table of Contents Page No.

STEP-BY-STEP INSTALL GUIDE MOODLE ON LINUX WITH SCLIPO WEB CLASS 2


Introduction 2

What you need to start 2

Part 1: Install CentOS5 2

Part 2: Install MySQL (skip Postgresql) 3

Part 3: Install Postgresql (skip MySQL) 4

Part 4: Install Apache 4

Part 5: Install other required software 5

Part 6: Install & Configure Moodle 5


Step 1: Download Moodle 5
Step 2: Configure Moodle website 5

Part 7: Install Moodle Live Web Class Plugin Powered by Sclipo 11


Step 1: Installation (Moodle administrator) 12
Step 2: Teaching - schedule & conduct live web classes (Moodle teacher) 12
Step 3: Other Requirements: 16

Part 8: Hands-on Labs assignments 16

© A GOV Open Knowledge Access Technical Academic Publications License


Enhancing education & empowering people worldwide through eLearning in the 21st Century

1
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org A Global Open Versity Reading Room Technical Publication


Global Open Versity ICT Labs Step-by-step Install Guide for Moodle on Linux v1.4

Global Open Versity


Systems Integration Hands-on Labs Training Manual

Step-by-step Install Guide Moodle on Linux


with Sclipo Web Class
By Kefa Rabah, krabah@globalopenversity.org May 14, 2007 GTS Institute

Introduction
Moodle is a free and open source e-learning software platform, also known as a Course Management
System, Learning Management System (LMS), or Virtual Learning Environment. Moodle is designed to
help educators create online courses with opportunities for rich interaction. Its open source license and
modular design mean that people can develop additional functionality. Development is undertaken by a
globally diffused network of commercial and non-commercial users, streamlined by the Moodle Company
based in Perth, Western Australia.

Sclipo Plug-in:- The Sclipowebclass Live Teaching plug-in allows Moodle users to teach live - classes,
webinars and conferences - directly from Moodle. Sclipo is free. 100% browser based with minimum setup
and no installation needed.

What you need to start


• Download the latest CentOS5 ISOs for DVD or CDs from: http://centos.org
• A test x86 desktop computer, keyboard, monitor, mouse, and firewalled internet connection.
• One hour of quite time and a good supply of coffee or tea – but definitely none alcoholic drink
(seriously!)
• In this article we’ve assumed that you know how to install or have installed CentOS5, if not, then
there is an excellent article by the same author that will guide you on HowTo:” Install Configure
and Upgrade Linux CentOS5 Server v1.1”

Here are the steps required to successfully install Moodle on Linux CentOS5. I have used these steps to
install Moodle on several servers and all work perfectly. I hope this guide will save others the time of
hunting around forums.

Part 1: Install CentOS5


1. Install Centos5 from DVD or CDROM configure the entire disk
2. Configure your Fully Qualified Hostname, IP address and Gateway, DNS details
3. Setup your root password
4. Setup the software. Select Server only and Customize Now
Select only the following components:
Editors
Text base Internet
Development Libraries
Development Tools
Administration Tools
Base
System Tools

5. The system will now install and will required CDs 1-6.
6. Once the system reboots disable firewall and SElinux.
7. Make sure your /etc/hosts file has the line:
2
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org A Global Open Versity Reading Room Technical Publication


Global Open Versity ICT Labs Step-by-step Install Guide for Moodle on Linux v1.4

IP address and FQDN hostname (i.e. 192.168.1.112 linuxc.monstserv.com linuxc).


8. Reboot the system (for changes to take effect).
9. Then run yum update to my sure your system is fully up to date.
10. Reboot the system.
11. OS server installation complete and ready for database and moodle installation.

Part 2: Install MySQL (skip Postgresql)

At this point we'll need to log in again to the server and type:

# yum install mysql-server php5-mysql -y

Replace the following string NewRootDatabasePassword with a secure password of your own
choosing.

There is no space between the -p and the password on the second command.

mysqladmin –u root password NewRootDatabasePassword


mysqladmin -u root -h localhost password NewRootDatabasePassword -
pNewRootDatabasePassword

We now need to create the Moodle database and Moodle user in MySQL.

The mysql command will prompt for your NewRootDatabasePassword (from above). Replace
NewMoodleDatabasePassword with a secure password of your own choosing.

mysql -u root -p
> CREATE DATABASE moodle DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
> GRANT ALL PRIVILEGES ON moodle.* TO ‘moodleuser’@’localhost’ IDENTIFIED BY
'NewMoodleDatabasePassword';
> GRANT SELECT,LOCK TABLES on moodle.* TO ‘moodlebackup’@’localhost’
IDENTIFIED BY 'MoodleBackupPassword';
> FLUSH PRIVILEGES;
> QUIT

The above also creates a backup user moodlebackup so that you can use mysqldump to make
database backups without accident.

Note: Follow the link below to access the full document.

The full document has moved to Docstoc.com. You can access and download it from
here:

http://www.docstoc.com/docs/30541162/Step-by-step-Install-Guide-for-Moodle-on-Linux

-----------------------------------------------
Kefa Rabah is the Founder and CIO, of Global Technology Solutions Institute. Kefa is highly
knowledgeable in the fields of Science & Technology, IT Security Compliance and Project
Management, and Renewable Energy Systems. He is also the founder of Global Open Versity, a
Center of Excellence in eLearning.
3
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org A Global Open Versity Reading Room Technical Publication