Sunteți pe pagina 1din 11

Global Open Versity Vancouver Canada

Step-by-step Install Guide for Moodle 2 with Sclipowebclass on Linux v1.0

Global Open Versity IT System Integration Hands-on Labs Training Manual

Build and Deploy your Own Learning Management Systems using Moodle 2.x on CentOS-6 Server
Kefa Rabah Global Open Versity, Vancouver Canada
krabah@globalopenversity.org www.globalopenversity.org

Table of Contents

Page No.

BUILD AND DEPLOY YOUR OWN LEARNING MANAGEMENT SYSTEMS USING MOODLE 2.X ON CENTOS-6 SERVER 1 Introduction What you need to start Installation Part 1: Install and Configure MySQL Server Step 1: Install other required software Part 2: Install & Configure Moodle 2.x Step 1: Download Moodle Step 2: Configure Moodle website Part 3: Managing authentication on Moodle 2.3 Step 1: Moodle Users Self Registration 1. Setting the authentication method(s) 2. Authentication common settings Step 2: Self registration 1. Guest login button 2. Users Email Self Registration Part 4: Installing Joomdle for Moodle Step 1: Configuring Joomdle for Moodle Part 5: System Requirements Sclipowebclass Live Web Classes Step 1: Installation (Moodle administrator) Step 2: Teaching - schedule & conduct live web classes (Moodle teacher) Step 3: Other Requirements: Other Resources 1 1 2 2 3 3 3 12 12 12 13 13 14 14 16 16 17 17 18 22 22

A GOV Open Access Technical Academic Publications 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 Vancouver Canada

Step-by-step Install Guide for Moodle 2 with Sclipowebclass on Linux v1.0

Global Open Versity IT System Integration Hands-on Labs Training Manual

Build and Deploy your Own Learning Management Systems using Moodle 2.x on CentOS-6 Server
By Kefa Rabah, krabah@globalopenversity.org October 2012 GTS Institute

Introduction
CentOS is a community-supported, free and open source operating system based on Red Hat Enterprise Linux. It exists to provide a free enterprise class computing platform and strives to maintain 100% binary compatibility with its upstream distribution .CentOS stands for "Community ENTerprise Operating System". CentOS is the perfect server for people who need an enterprise class operating system stability without the cost of certification and support and pocket burning baggage that comes with proprietary software. And the beauty is CentOS is free. CentOS-6.0 is based on the upstream release of Red Hat EL 6.0 and includes packages from all variants. All upstream repositories have been combined into one, to make it easier for end users to work with. It exists to provide a free enterprise class computing platform and strives to maintain 100% binary compatibility with its upstream distribution, in this case Red Hat EL 6. To-date, CentOS simply remains the unrivaled champion of rock solid, and with excellent and modern capabilities, good performance and ultralong support. 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.

Hands-on Lab Session


In this Hands-on lab session, you will learn how to install Moodle 2.3 on a CentOS 6 server which is also applicable for Redhat server. You'll also learn how to extend Moodle LMS to enhance your educational management systems using Joomla CMS, Mahara Social networking and Sclipo Live Web Class.

What you need to start Installation


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!) 1
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

A Global Open Versity Reading Room Technical Publication

Global Open Versity Vancouver Canada

Step-by-step Install Guide for Moodle 2 with Sclipowebclass on Linux v1.0

In article weve assumed that you know how to install or have installed CentOS5, if not, then there is an excellent link that will guide you on howto: Step-By-Step Guide CentOS-6 Server Installation & Administration v1.1

Part 1: Install and Configure MySQL Server


1. At this point we'll need to log in again to the server and type: yum install mysql-server mysql-client php5-mysql -y 2. Replace the following string NewRootDatabasePassword with a secure password of your own choosing. 3. 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 1. We now need to create the Moodle database and Moodle user in MySQL. Note: 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 'moodlepass'; > GRANT SELECT,LOCK TABLES on moodle.* TO moodlebackup@localhost IDENTIFIED BY 'moodlebkpass'; > FLUSH PRIVILEGES; > QUIT Note: the above also creates a backup user moodlebackup so that you can use mysqldump to make database backups without accident.

Step 1: Install other required software 2. On the command line, type: yum yum yum yum install install install install ntp-simple openssh-server unattended-upgrades curl libcurl3 libcurl3-dev php5-curl php5-xmlrpc php-intl php-mbstring clamav-base clamav-freshclam clamav

Note: Press Y to continue the install after each of these apt-get commands. 2
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

A Global Open Versity Reading Room Technical Publication

Global Open Versity Vancouver Canada

Step-by-step Install Guide for Moodle 2 with Sclipowebclass on Linux v1.0

The clamav package will support virus checking on file uploads into Moodle. May have to run it again to configure properly. Additional languages are available for aspell.

Part 2: Install & Configure Moodle 2.x


Step 1: Download Moodle 1. On the command line, type:
cd /tmp wget http://download.moodle.org/download.php/direct/stable23/moodle-latest-23.tgz tar xzpf moodle-latest-23.tgz -C /var/www/html/

2. Now lets create key directories and set permissions: mkdir chown chmod chown chmod /var/www/moodledata -R root:apache /var/www/html/moodle/ -R u=rwX,g=rX,o= /var/www/html/moodle/ -R root:apache /var/www/moodledata/ -R ug=rwX,o= /var/www/moodledata/

Note: we have now done all the necessary pre-install requirement for moodle and very ready for final configuration round. 3. Start the Moodle installation wizard by visiting your new Moodle 2.2 website: http://moodle-server/moodle/ 4. To complete the wizard, you will need: Step 2: Configure Moodle website 5. Now issue the ifconfig command (look for your servers IP address on the 2nd line) 6. On another computer within the LAN open a web browser and put in your server address: http://yourdaomin/moodle or http://localhost/moodle, and then click Next button.

3
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

A Global Open Versity Reading Room Technical Publication

Global Open Versity Vancouver Canada

Step-by-step Install Guide for Moodle 2 with Sclipowebclass on Linux v1.0

Fig. 1

7. From the Confirm paths screen Fig. 2, verify the default settings,, change as desired and then scroll down and click on the Next button.

Fig. 2

4
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

A Global Open Versity Reading Room Technical Publication

Global Open Versity Vancouver Canada

Step-by-step Install Guide for Moodle 2 with Sclipowebclass on Linux v1.0

8. From Fig. 3, Choose database driver screen, accept the default selection, then click Next

Fig. 3

9. From Fig. 4, select dbase type, then type host server, database, enter user, and password, Checkmark the Unix socket, then click Next.

Fig. 4

5
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

A Global Open Versity Reading Room Technical Publication

Global Open Versity Vancouver Canada

Step-by-step Install Guide for Moodle 2 with Sclipowebclass on Linux v1.0

10. From Fig. 5, notice the instruction to create config.php file, do this and then click Next.

Fig. 5a

Fig. 5b

6
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

A Global Open Versity Reading Room Technical Publication

Global Open Versity Vancouver Canada

Step-by-step Install Guide for Moodle 2 with Sclipowebclass on Linux v1.0

11. From Fig. 6, read the displayed instructions and the click on Continue button.

Fig. 6

12. From Fig. 7, check and verify the php_extension, and install as desired, scroll down and then click Continue.

Fig. 7a

7
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

A Global Open Versity Reading Room Technical Publication

Global Open Versity Vancouver Canada

Step-by-step Install Guide for Moodle 2 with Sclipowebclass on Linux v1.0

Fig. 7b

13. From Fig. 8, sit back wait for the System to complete the current process, when done click on the Continue button.

Fig. 8a

8
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

A Global Open Versity Reading Room Technical Publication

Global Open Versity Vancouver Canada

Step-by-step Install Guide for Moodle 2 with Sclipowebclass on Linux v1.0

Fig. 8b

1. Follow the link below to access and download the full document The full document has moved to Docstoc.com. You may download it from here: Build and Deploy your own Learning Management Systems using Moodle 2.x on CentOS-6 Server

OR http://www.docstoc.com/docs/132941297/Build-and-Deploy-your-own-Learning-ManagementSystems-using-Moodle-2x-on-CentOS-6-Server-v10

Fellow us on Twitter: Global Open Versity and Kefa Rabah ----------------------------------------------Kefa Rabah is the Founder of Global Technology Solutions Institute. Kefa is knowledgeable in several fields of Science & Technology, Information Security Compliance and Project Management, and Renewable Energy Systems. He is also the founder of Global Open Versity, a place to enhance your educating and career goals using the latest innovations and technologies.

9
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org

A Global Open Versity Reading Room Technical Publication

S-ar putea să vă placă și