Moodle Installation

From LemonWiki共筆
Jump to navigation Jump to search

about Moodle


Who use Moodle

or my bookmarks tagged with moodle+courses

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
  • backup the original {moodle data} files
  • 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 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

more on Moodle docs: Cron

modify the translation file

optional

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]