Moodle Installation: Difference between revisions
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
== about Moodle == | == about Moodle == | ||
* [http://moodle.org/ Moodle - A Free, Open Source Course Management System for Online Learning]([http://docs.moodle.org/ MoodleDocs], | === for moodle users or teachers === | ||
* [http://moodle.org/ Moodle - A Free, Open Source Course Management System for Online Learning]([http://docs.moodle.org/ MoodleDocs], [http://docs.moodle.org/zh/%E9%A6%96%E9%A1%B5 中文MoodleDocs],[http://moodle.org/course/category.php?id=1 BBS]) | |||
* Moodle 討論區: | * Moodle 討論區: | ||
*# [http://moodle.hcc.edu.tw/moodle/mod/forum/view.php?f=30 Moodle加油站的「你問我答-大家來討論」討論區] {{Gd}} | *# [http://moodle.hcc.edu.tw/moodle/mod/forum/view.php?f=30 Moodle加油站的「你問我答-大家來討論」討論區] {{Gd}} | ||
| Line 10: | Line 11: | ||
** [http://moodle.club.tw/moodle/course/view.php?id=23 課程: Moodle平台使用123] (需註冊為會員) | ** [http://moodle.club.tw/moodle/course/view.php?id=23 課程: Moodle平台使用123] (需註冊為會員) | ||
** [http://163.20.160.21/xoops22/modules/tadbook2/index.php?op=view_one_book&book_sn=1 Moodle線上教學平台 電子書] - 簡介Moodle (ISBN 9861256598) 及 [http://tpc.k12.edu.tw/1001216482/index.html Moodle 1.5.3 架站錄影教學] | ** [http://163.20.160.21/xoops22/modules/tadbook2/index.php?op=view_one_book&book_sn=1 Moodle線上教學平台 電子書] - 簡介Moodle (ISBN 9861256598) 及 [http://tpc.k12.edu.tw/1001216482/index.html Moodle 1.5.3 架站錄影教學] | ||
=== for moodle site administrators or developes === | |||
* [http://xref.moodle.org/nav.html?index.html PHP Cross Reference of Moodle] | |||
* [http://docs.moodle.org/en/Release_Notes Release Notes] | |||
* [http://phpdocs.moodle.org/ Moodle Technical Documentation (phpdocumentor)] | |||
* [http://tracker.moodle.org/browse/MDL Moodle tracker] | |||
Revision as of 15:24, 19 November 2010
about Moodle
for moodle users or teachers
- Moodle - A Free, Open Source Course Management System for Online Learning(MoodleDocs, 中文MoodleDocs,BBS)
- Moodle 討論區:
- Moodle線上教學
- 宜蘭縣Moodle數位學習平台研習教學網站
- 課程: 如何使用 Moodle (教師版)
- 課程: Moodle平台使用123 (需註冊為會員)
- Moodle線上教學平台 電子書 - 簡介Moodle (ISBN 9861256598) 及 Moodle 1.5.3 架站錄影教學
for moodle site administrators or developes
- PHP Cross Reference of Moodle
- Release Notes
- Moodle Technical Documentation (phpdocumentor)
- Moodle tracker
Who use Moodle
- or my bookmarks tagged with moodle+courses
install web server ex: AppServ or XAMPP
download AppServ 2.4.x from AppServ Open Project
- select custom to check some options of installation
- (Apache) Server Name: domain name or IP or localhost
- (MySQL) change the password
download XAMPP from http://www.apachefriends.org/
install Moodle
official document: http://docs.moodle.org/en/Installing_Moodle
AppServ
download appserv AddOns for Moodle from AppServ Open Project
- install appserv-AddOns-Moodle-1.5.exe
- default: admin, passwd: admin {moodle}/config.php
- http://localhost/moodle
XAMPP
in php.ini (xampp/php/php.ini or check the location of file by using the phpinfo() function ), unmark the curl extension
extension=php_curl.dll
in moodle\lang\en_utf8\countries.php
$string['TW'] = 'Taiwan, Province Of China'; change to $string['TW'] = 'Taiwan';
upgrade Moodle
- Subscribe the latest announcement of Moodle Security Procedures forum
- backup data
- backup the (MySQL) data file
- backup the {moodle data} files
- backup the moodle php files those you modified
- download the latest version of moodle
- (optional) Restart the server to refresh the cache and load the lang pack normally.
- run the {moodle}/install.php
- note: the path of data should be file:\\aaa\\data at MS Windows
- move the {moodle}/theme/{cstomized theme files}
secure the phpMyadmin
- password protected: change the root password
系統設定 » Variables
- lang: en -> zhtw_utf-8 (Recommend: Download the lang pack from official website by yourself not your moodle.)
- langlist: en, zh_tw_utf8
- (optional) slasharguments: file.php?file=/pic.jpg
- smtphosts: ISP?
- enablerssfeeds: 是
- {moodle}/config.php
$CFG->dirroot = 'C:\AppServ\www\moodle'; -> $CFG->dirroot = "c:\appserv\www\moodle";
secure the config.php
- in windows, setting the "read-only" permission of the config.php file
cron.php maintenance script
method1 (require the admin permission)
- download from http://moodle.org/download/modules/moodle-cron-for-windows.zip
- add the URL of path/to/cron.php to HKEY_LOCAL_MACHINE\SOFTWARE\MoodleCron\Sites
- more on Moodle docs: Cron
method2 (not require the admin permission)
- download the wget for windows
- create the cron.bat as follows
REM -- run Moodle cron job
FOR /F "tokens=1-8 delims=/:. " %%J IN ("%date% %time%") DO SET timestamp=%%M-%%L-%%K_at_%%N.%%O.%%P
wget http://path.to/cron.php -q -O Moodle_cron_%timestamp%.txt
- add to the scheduled tasks (程式集 -> 附屬應用程式 -> 系統工具 -> 排定的工作)
- (optional) If you do not want to see the pop-up prompt window, you may need to install hstart. And add the following path to your scheduled tasks
path/to/hstart.exe /NOCONSOLE /IDLE path/to/cron.bat
reference: Remember The Milk - Forums / Tips & Tricks / Automatic backup (Windows script)
開放訪客註冊
- Administration / Users / Authentication / Manage authentication
- Self registration: Email-based self-registration (Moodle 1.9.7)
Message: Enabling the PHP setting display_errors is not recommended on production sites because some error messages may reveal sensitive information about your server.
- find php.ini file
original: display_errors = On after: display_errors = Off
- restart the apache service
modify the translation file
optional
setup the default course block for new course
- suggest to add the Messages block
- ref: [1]
move the data to another HD
- C:\AppServ\apache\conf\httpd.conf
move the webpages to another hard disk
DocumentRoot "C:/AppServ/www" -> DocumentRoot "D:/www"
- restart apache service
- modify {moodle}/config.php
insert the tracking script
- modify the {moodle}/theme/{default_theme_name}/footer.html
- insert the tracking script ex: Google analytics codes
other notes
Moodle Assign roles for 1.7.x
Moodle wiki syntax (markup)
- CamelWord
- Free link
[Free_link]
- or
[Description | Free_link]
