Moodle Installation

From LemonWiki共筆
Jump to navigation Jump to search

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
  • run the {moodle}/install
    • 'note: the path of data should be file:\\aaa\\data at windows

secure the phpMyadmin

  • password or move to another verbose-named directory

系統設定 » Variables

  • lang: en -> zhtw_utf-8
  • 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