Moodle Installation: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
Line 22: Line 22:
* backup the (MySQL) data file
* backup the (MySQL) data file
* download the latest version of moodle
* download the latest version of moodle
* run the {moodle}/install
* (optional) Restart the server to refresh the cache and load the lang pack normally.
** '''note''': the path of data should be file:\\aaa\\data at windows
* run the {moodle}/install.php
** '''note''': the path of data should be file:\\aaa\\data at MS Windows


== secure the phpMyadmin ==
== secure the phpMyadmin ==

Revision as of 06:11, 27 June 2006

about Moodle


install AppServ

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

install Moodle

download appserv AddOns for Moodle from AppServ Open Project


upgrade Moodle

  • backup the (MySQL) data file
  • 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

secure the phpMyadmin

  • password or move to another verbose-named directory

系統設定 » 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";

cron.php maintenance script


modify the translation file

optional

  • C:\AppServ\apache\conf\httpd.conf

move the webpages to another harddisk

DocumentRoot "C:/AppServ/www"
-> DocumentRoot "D:/www"
  • restart apache service
  • modify {moodle}/config.php