<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.planetoid.info/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=220.169.248.21</id>
	<title>LemonWiki共筆 - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.planetoid.info/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=220.169.248.21"/>
	<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php/Special:Contributions/220.169.248.21"/>
	<updated>2026-05-18T20:11:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.planetoid.info/index.php?title=Moodle_Installation&amp;diff=3152</id>
		<title>Moodle Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php?title=Moodle_Installation&amp;diff=3152"/>
		<updated>2008-10-22T10:42:32Z</updated>

		<summary type="html">&lt;p&gt;220.169.248.21: /* about Moodle */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;70grid10c.txt;10;15&lt;br /&gt;
&lt;br /&gt;
== install AppServ ==&lt;br /&gt;
download AppServ 2.4.x from [http://www.appservnetwork.com/ AppServ Open Project]&lt;br /&gt;
* select custom to check some options of installation&lt;br /&gt;
** (Apache) Server Name: domain name or IP or localhost&lt;br /&gt;
** (MySQL) change the password&lt;br /&gt;
&lt;br /&gt;
== install Moodle ==&lt;br /&gt;
download appserv AddOns for Moodle from AppServ Open Project&lt;br /&gt;
* install appserv-AddOns-Moodle-1.5.exe&lt;br /&gt;
** default: admin, passwd: admin {moodle}/config.php&lt;br /&gt;
** http://localhost/moodle&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== upgrade Moodle ==&lt;br /&gt;
* Subscribe the latest announcement of [http://moodle.org/mod/forum/view.php?id=7128 Moodle Security Procedures] forum&lt;br /&gt;
* backup data&lt;br /&gt;
** backup the (MySQL) data file&lt;br /&gt;
** backup the {moodle data} files&lt;br /&gt;
** backup the moodle php files those you modified&lt;br /&gt;
* download the latest version of moodle&lt;br /&gt;
* (optional) Restart the server to refresh the cache and load the lang pack normally.&lt;br /&gt;
* run the {moodle}/install.php&lt;br /&gt;
** &#039;&#039;&#039;note&#039;&#039;&#039;: the path of data should be file:\\aaa\\data at MS Windows&lt;br /&gt;
* move the {moodle}/theme/{cstomized theme files}&lt;br /&gt;
&lt;br /&gt;
== secure the phpMyadmin ==&lt;br /&gt;
* password or move to another verbose-named directory&lt;br /&gt;
&lt;br /&gt;
=== 系統設定 » Variables ===&lt;br /&gt;
* lang: en -&amp;gt; zhtw_utf-8 (&#039;&#039;&#039;Recommend:&#039;&#039;&#039; Download the lang pack from official website by yourself not your moodle.)&lt;br /&gt;
* langlist: en, zh_tw_utf8&lt;br /&gt;
* (optional) slasharguments: file.php?file=/pic.jpg&lt;br /&gt;
* smtphosts: ISP?&lt;br /&gt;
* enablerssfeeds: 是&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* {moodle}/config.php&lt;br /&gt;
&lt;br /&gt;
 $CFG-&amp;gt;dirroot   = &#039;C:\AppServ\www\moodle&#039;;&lt;br /&gt;
 -&amp;gt; $CFG-&amp;gt;dirroot = &amp;quot;c:\appserv\www\moodle&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
=== cron.php maintenance script ===&lt;br /&gt;
==== method1 (require the admin permission) ====&lt;br /&gt;
* download from http://moodle.org/download/modules/moodle-cron-for-windows.zip&lt;br /&gt;
* add the URL of path/to/cron.php to HKEY_LOCAL_MACHINE\SOFTWARE\MoodleCron\Sites&lt;br /&gt;
: more on [http://docs.moodle.org/en/Cron Moodle docs: Cron]&lt;br /&gt;
&lt;br /&gt;
==== method2 (not require the admin permission) ====&lt;br /&gt;
* download the [http://gnuwin32.sourceforge.net/packages/wget.htm wget for windows]&lt;br /&gt;
* create the cron.bat as follows &lt;br /&gt;
&amp;lt;pre&amp;gt;REM -- run Moodle cron job&lt;br /&gt;
FOR /F &amp;quot;tokens=1-8 delims=/:. &amp;quot; %%J IN (&amp;quot;%date% %time%&amp;quot;) DO SET timestamp=%%M-%%L-%%K_at_%%N.%%O.%%P &lt;br /&gt;
wget http://path.to/cron.php -q -O Moodle_cron_%timestamp%.txt &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* add to the scheduled tasks (程式集 -&amp;gt; 附屬應用程式 -&amp;gt; 系統工具 -&amp;gt; 排定的工作)&lt;br /&gt;
** (optional) If you do not want to see the pop-up prompt window, you may need to install [http://www.ntwind.com/software/utilities/hstart.html hstart]. And add the following path to your scheduled tasks&lt;br /&gt;
&amp;lt;pre&amp;gt;path/to/hstart.exe /NOCONSOLE /IDLE path/to/cron.bat &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
reference: [http://www.rememberthemilk.com/forums/tips/4662/?hl=zh-TW Remember The Milk - Forums / Tips &amp;amp; Tricks / Automatic backup (Windows script)]&lt;br /&gt;
&lt;br /&gt;
== modify the translation file ==&lt;br /&gt;
* [[Translation of Moodle]]&lt;br /&gt;
&lt;br /&gt;
== optional ==&lt;br /&gt;
&lt;br /&gt;
=== move the data to another HD ===&lt;br /&gt;
* C:\AppServ\apache\conf\httpd.conf&lt;br /&gt;
&lt;br /&gt;
move the webpages to another hard disk&lt;br /&gt;
&lt;br /&gt;
 DocumentRoot &amp;quot;C:/AppServ/www&amp;quot;&lt;br /&gt;
 -&amp;gt; DocumentRoot &amp;quot;D:/www&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* restart apache service&lt;br /&gt;
&lt;br /&gt;
* modify {moodle}/config.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== insert the tracking script ===&lt;br /&gt;
* modify the {moodle}/theme/{default_theme_name}/footer.html&lt;br /&gt;
* insert the tracking script ex: [http://www.google.com/analytics/ Google analytics] codes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== other notes ==&lt;br /&gt;
[[Moodle Assign roles]] for 1.7.x&lt;br /&gt;
&lt;br /&gt;
Moodle wiki syntax (markup)&lt;br /&gt;
* CamelWord&lt;br /&gt;
* Free link&lt;br /&gt;
** &amp;lt;pre&amp;gt;[Free_link]&amp;lt;/pre&amp;gt;&lt;br /&gt;
** or &amp;lt;pre&amp;gt;[Description | Free_link]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]] [[Category:elearning]] [[Category:OSS]] [[Category:LMS]]&lt;/div&gt;</summary>
		<author><name>220.169.248.21</name></author>
	</entry>
</feed>