Installation of Moodle On CentOS4.3
Installation of Moodle on Linux CentOS4.3
Moodle is a free and open source e-learning software platform, also known as a Course Management System, Learning Management System, or Virtual Learning Environment. It has a significant user base with 49,256 registered sites with 28,177,443 users in 2,571,855 courses (as of February, 2009). Moodle is designed to help educators create online courses with opportunities for rich interaction. Its open source license and modular design means 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.
How to install Moodle on CentOS4.3?
-download moodle
download moodle-latest-18.tgz to /usr/local/src/
-copy moodle
cd /usr/local/apache2/htdocsssl
tar -xzvf moodle-latest-18.tgz #file is extended at the current directory
-modify httpd.conf for moodle
add next in httpd.conf
<IfDefine APACHE2>
AccessPathInfo on
</IfDefine>
-modify php.ini for moodle
magic_quotes_gpc = Off #squirrelmail recommendes Off
magic_quotes_runtime = Off #necessary
file_uploads = On
session.auto_start = 0
session.bug_compat_warn = 0
post_max_size = 16M
upload_max_filesize = 16M
-make .htaccess in moodle's home directory as
DirectoryIndex index.php index.html index.htm
php_flag magic_quotes_gpc Off #squirrelmail recommendes Off
php_flag magic_quotes_runtime Off
php_flag file_uploads On
php_flag session.auto_start Off
php_flag session.bug_compat_warn Off
<IfDefine APACHE2>
AccessPathInfo on
</IfDefine>
LimitRequestBody 0
php_value upload_max_filesize 16M
php_value post_max_size 16M
-change my.cnf for moodle
in my.cnf add
sql-mode=''
-create database for moodle
su - mysql
mysql -u root -p
create database moodle;
alter database moodle default character set utf8 collate utf8_unicode_ci;
-create user for moodle
grant select, insert, update, delete, create, create temporary tables,
drop, index, alter on moodle.*
to moodleuser@localhost identified by 'password';
-make directory for moodle
mkdir /usr/local/apache2/htdocsssl/moodledata
vi /usr/local/apache2/htdocsssl/moodledata/.htaccess
deny from all
chown -R nobody.nobody moodledata
chmod -R 0750 moodledata
-install moodle
https://tkksqlphp.configureinstallsetup.com/moodle/install.php
language -> English(en)
Data Directory -> /usr/local/apache2/htdocsssl/moodledata
User -> moodleuser
Password -> password
copy Moodle Configulation File and save it as
/usr/local/apache2/htdocsssl/moodle/config.php
installation begins by continue
- 165 reads
Recent popular content



















