Moodle Print

  • 0

How do I install Moodle in Fantastico and what is this script?
Moodle is a Course Management System designed to help educators create quality online courses. Available in currently 34 languages, featuring WYSIWYG HTML Editor, teacher has full control over all settings for a course, flexible array of course activities (Forums, Journals, Quizzes, Resources, Choices, Surveys, Assignments, Chats, Workshops), user logging and tracking, mail integration and much more.

It will take 1 MySQL database to install this script from Fantastico.

This is an easy script to install. Simply click "New Installation" then configure the following options:

Installation location
Install on domain - select the domain or subdomain to install it onto using the dropdown

Install in directory - either leave blank to install into the root of the above selected domain or subdomain, or enter a folder (do not use / or anything other than just the folder's name in this field)

Admin access data
Administrator-username (you need this to enter the protected admin area) - admin username (write this down for your records)

Password (you need this to enter the protected admin area) - admin password (write this down for your records)

Base configuration
Site name - name of the site
Your site's slogan - your site slogan
Description - your site description
Admin first name - your first name
Admin last name - your last name
Admin e-mail (your email address) - email address for the admin (prefilled in with Cpanel admin account, change if you want to do so)

Run cron job every 15 minutes. (default set at 15, but only 30 recommended as all others are resource intensive; do NOT set below 15 such as 10 or 5 as this will be extremely resource intensive)

Click "Install Moodle" to continue, and you would then receive a success screen:

[Example]
Install Moodle (2/3)

The MySQL database and MySQL user Cpanelusername_mdle1 will be created and used for this installation.

- You chose to install in the domain example.onewebco.com, in a subdirectory called moodle. - The access URL will be: http://example.onewebco.com/moodle/

Click on Finish installation to continue.

You would then click "Finish Installation" and receive instructions on the installation. At the bottom of the success screen, you would have the following:

Email the details of this installation to:

In the field to enter the email address, enter a valid email and click "Send E-mail" so that you receive details on the username, password, database name, etc. for your records to keep.

Notes:

Due to servers running via suPHP, you will receive a 500 internal server error initially. You would need to log into Cpanel, click on File Manager, then on the folder icon next to public_html, then on the folder icon next to the folder where you installed Moodle.

Now, click on the file named .htaccess there (not the icon but the file's name). In the upper right, click on the Edit link, and remove the following lines:

php_flag magic_quotes_gpc 1
php_flag magic_quotes_runtime 0
php_flag file_uploads 1
php_flag short_open_tag 1
php_flag session.auto_start 0
php_flag session.bug_compat_warn 0

Create a file in that folder called php.ini and add these lines:

suPHP_ConfigPath /home/username/public_html/moodles

magic_quotes_gpc 1
magic_quotes_runtime 0
file_uploads 1
short_open_tag 1
session.auto_start 0
session.bug_compat_warn 0

We have disabled lynx and wget for security purposes. Please change the default cron job created as the result of Moodle installation to one of the following:

curl http://example.onewebco.com/moodlefolder/admin/cron.php (note: this will send the cron job report to your primary email account).

curl -s -o /dev/null http://example.onewebco.com/moodlefolder/admin/cron.php (note: this will discard the cron job report)

(Change example.onewebco.com to your domain name and moodlefolder to the folder name you installed moodle to.)


Was this answer helpful?

« Back