How to Install Moodle 2.3 on Ubuntu Server 12.04

In How To 2061 views

Moodle (Modular Object-Oriented Dynamic Learning Environment) is a free and opensource software course management system web based, developed in PHP Script and MySQL database that allows the creation and management of courses via web. It designed to help educators create quality online courses. One of the main advantages of Moodle over other systems is a strong grounding in social constructionist pedagogy.

Moodle has features that allow it to scale to very large deployments and hundreds of thousands of students, yet it can also be used for a primary school or an education hobbyist. Many institutions use it as their platform to conduct fully online courses, while some use it simply to augment face-to-face courses

Many of Moodle users love to use the activity modules such as forums, databases and wikis to build richly collaborative communities of learning around their subject matter (in the social constructionist tradition), while others prefer to use Moodle as a way to deliver content to students (such as standard SCORM packages) and assess learning using assignments or quizzes.

Moodle has been released in 2.3.2 stable version on 10th September, 2012. comes with many features and changes, for more detail about it you can see at moodle 2.3 release notes .Moodle currenly available in the officialy ubuntu repository, but it still in version 1.9. On ubuntu server 12.04,  there are two methods to install moodle, First method using the apt-get. Second method,  installing moodle 2.3 manually.

Step by Step to installing  moodle using apt-get

Step 1. First, Make sure Apache2 web server,Mysql database and PHP5 (called LAMP Server) already installed on ubuntu server 12.04.

sudo apt-get install lamp-server^

or, install lamp server using command tasksel

sudo tasksel

Select  LAMP server

tasksel - lamp server

Step 2. Install moodle with following command:

sudo apt-get install moodle

Enter URL for moodle site

Moodle URL Site

Next  instalation procedure will ask you with database manger  you will use, recommended use MySQL Database

Configure database manager

Step 3. Now moodle installation finished and Moodle already in use by opening web browser then type http://hostname/moodle

Step by Step Installing moodle 2.3 manually

Step 1.Make sure LAMP server has been installed on Ubuntu Server 12.04.

sudo apt-get install lamp-server^ php5-intl

Step 2. Download the installation archive from the Moodle download page, download it using wget command

wget -O moodle-latest.tgz

Step 3. Extract moodle-latest.tgz and copy or move in to directory /var/www

tar -zxvf moodle-latest.tgz
sudo mv moodle /var/www

Step 4. Change an ownership of all Drupal installation files to user and group (www-data).

sudo chown -R www-data:www-data moodle/

Step 5. Create directory for moodle data, then set access directory moodle data to user and group (www-data)

sudo mkdir /var/moodledata
sudo chown -R www-data:www-data /var/moodledata

Step 6. Create a MySQL database for moodle installation. Log in to mysql server as root user:

mysql -u root -p

Create mysql database with name “dbmoodle”

ALTER DATABASE dbmoodle charset=utf8;

Create mysql database user with username “moodleuser”

CREATE USER moodleuser;

Set password for user “moodleuser”

SET PASSWORD FOR moodleuser = PASSWORD("moodlepass");

Set privillage for “moodleuser”, then log out from mysql server

GRANT ALL PRIVILEGES ON dbmoodle.* TO moodleuser@localhost IDENTIFIED BY "moodlepass";

Step 7. Now moodle ready to install via web browser, open your favorite browser then navigate to [http://ipserver/moodle].

Note: This guide also work on ubuntu server 12.10, ubuntu server 11.10,ubuntu server 11.04  and Debian Server

Link Reference:

Tags: #Apache2 #Education #Moodle #MySQL #PHP

How to Install LAMP in Ubuntu Server 14.04 LTS
How to Install LAMP in Ubuntu Server 14.04 LTS
This tutorial will explains basic step how
Must read×