一、软件准备
1 mysql : mysql-5.0.3-beta-win32
2 php: php-5.0.3RC2-Win32
3 phpadmin
All the softwares have been existed in your flash memory.
二、安装moodle
假设在default web site 下,建立网站命名为moodle
这里moodle 源文件放在c:/moodle目录下
三、安装 PHP :
1 将php文件放在 C:/php(这个路径可以随意,不过下面要是用到这个路径,请相应修改);
2 将C:/php目录下的所有dll文件拷到c:/Windows/system32下
3 将php.ini(在邮件中同时发送的)中的路径修改为php的安装路径:
extension_dir =“php的安装路径”,比如:extension_dir = "C:/php/ext" ;
4 将修改完的php.ini(或者邮件中附带的php.ini)放在c:/windows下
5 配置 IIS 使其支持 PHP
打开 Internet Information Services (IIS) Manager(共有四处修改)
a)打开Web Service Extensions--->Add a new web service extension---> "extension name":".php" ;;"required files":"c:/php/php5isapi.dll"
b)打开"Default web site"--->"properties"--->"home directory"--->"configuration"--->"mapping"--->"add"--->"extention":".php"
"executable":"c:/php/php5isapi.dll"
c)打开 “moodle” --à “properties” -à “virtural directory”-à” configuration”-à
” mapping”-à “add”-à “excutable”: "c:/php/php5isapi.dll"
“extension”:”.php”(注意:有个点)
d) defaultwebsite-à“properties”-à“document”-à”add”-à”index.php”
以上步骤进行完以后,就可以用localhost/moodle打开moodle 网站了。以下安装mysql
五 安装mysql
1 选择 typical
2 skip sign_up
3 选择 configure the mysql server now
4选择Detailed configuration
5 选择
server
machine
6
7
8设置ps: root
9
10 此时 mysql将会自动产生一个名为 mysql 数据库。Mysql的安装可以到此为止,在moodle的安装过程中只要选择数据库名为:moodle 用户名:root密码:root 即可。
11 为了给mysql安装图形化界面也可以按装phpadmin(phpMyAdmin-2.6.1-pl3已经在你的flash memory中)
在moodle源代码所在的目录中建立名为myphp的目录这里为(C:/moodle/myphp),将phpMyAdmin-2.6.1-pl3中的所有文件放入myphp中。
然后配置config.inc.php文件:(如果一切按照前面的路径名则可以用邮件中的附带的config.inc.php直接跳过该步)
1 搜索$cfg['PmaAbsoluteUri'],设置你的phpmyadmin的URL,如:$cfg['PmaAbsoluteUri'] = 'http://localhost/moodle/myphp';
2搜索$cfg['blowfish_secret']= 'root'
3搜索$cfg['Servers'][$i]['user'] = 'root';
4搜索$cfg['Servers'][$i]['password'] = 'root';
现在打开http://localhost/moodle/myphp 如果能够显示如下网页则成功!
六 完成moodle
本文介绍如何在本地环境中安装Moodle学习管理系统,并通过详细步骤指导安装PHP、MySQL及PHPMyAdmin,实现完整的教学平台搭建。
620

被折叠的 条评论
为什么被折叠?



