moodle在一个服务器上安装了,而且还设置了课程,怎样在其他的服务器上拿来用

moodle在一个服务器上安装了,而且还设置了课程,怎样在其他的服务器上拿来用,第1张

1.在其他服务器上同时配置好moodle的安装环境以及moodle平台后,将你整个文件夹覆盖过去,这样两边的设置就是一模一样的了;

2同样在一台服务器上安装好moodle的环境以及moodle平台,将你的moodle课程打包后在这台服务器的moodle平台上恢复,课程同样可以用,这是比较常用的方法

如何在IIS下运行moodle服务器

我们都知道:在安装moodle前要把IIS服务给停止掉.

有时候我就在考虑一个问题:如果你的服务器上已经用IIS发布过站点了,

而且现在也在运行之中,为了节省资金我可不可以在这台服务器上

再发布一个moodle课程让外地学生来使用呢??

昨天在moodle的官方网站已经有老外解决了,下面是参考方法:

Installing moodle on IIS

by Phillip Lynch - Tuesday, 13 March 2007, 10:09 AM

These are the instructions I provide for php, mssql &moodle installs running under IIS (on the same server).

PHP

* Extract the php archive to C:\Progam Files\php

* Rename C:\Program Files\php\php.ini-recommended to php.ini

* Add C:\Program Files\php and C:\Program Files\php\ext to the Default Path

* Add Global Environment Variable PHPRC=C:\Program Files\php

* Edit php.ini

* Enable (uncomment) extensions php_mysql, php_gd2, php_mbstring, php_ldap

* Set cgi.force_redirect=0

* Set SMTP=<smtp domain>

* Set smpt_port=25

* Set sendmail_From=<mail user>

* Set date.Timezone=<Country/City>

* Enable PHP in IIS

* Add and Enable php5isapi.dll as a web service extension

* Add php extension mapping (may do this for each web site)

* Restart IIS

MySQL

* Run the installer

* Select lCustomr setup type

* Change the installation directory to C:\Program Files\MySQL\

* Elect to Configure MySQL instance

* Select lDetailed Configurationr

* Select lServer Machiner

* Select lMulti-Functional Databaser

* Set the INNODB table space to D:/MySQL/

* Select Online Transaction Processing

* Enable TCP/IP networking

* Disable Strict Mode

* Select lutf8r Default Character Set

* Select lInstall as a Windows Servicer

* Select lInclude BIN Directory in Windows Pathr

* Set root password <password>

* Set lEnable root access from remote machinesr

* Disable lCreate an Anonymous Accountr

* Edit my.ini

* datadir=D:\MySQL

* key_buffer_size=132M (64Mb per 256Mb free memory)

* default-storage-engine=INNODB

* innodb_buffer_pool_size=300M (30% free memory)

* innodb_file_per_table

* Finalise Setup

* Stop mySQL service

* Copy D:\Program Files\mySQL\data\ to D:\mySQL (and sub directories)

* Restart mySQL

Moodle

* Extract Moodle archive into D:\Web

* Create D:\Web\MoodleData

* Ensure the IIS user has full rights to D:\Web\Moodle and D:\Web\MoodleData

* Create a mySQL database (moodle) and account to access (muser)

o Create Database moodle Character Set utf8 Collate utf8_unicode_ci

o Grant Select,Insert,Update,Delete,Create,Drop,Index,Alter,Lock Tables on moodle.* to muser@localhost Identified by l<password>r

* Create web site in IIS

o Set Path to D:\Web\Moodle

o Add Index.php to Default Documents

o Enable php extension mapping (GET,HEAD,POST)

o Enable Script execute permissions

* Launch the web site in the browser and follow the prompts.

I also advise them to test the php and mySQL components separately (and not to proceed until the expected results are obtained), viz.

PHP

* Create Website under IIS

* Create Index.php containing single line <?php phpinfo()?>

* Launch browser and access the web site. Confirm that the phpinfo screen is displayed and the enabled extensions are included.

MySQL

* Launch mySQL locally (all is ok if it launches)

moodle是教学行业使用的一种网络工具。它可以对教学起到一个很好的管理作用。它的名称叫:moodle课程管理系统

再来说说它和php之间的关系:

关系很大:

1、moodle平台是用php编写的。

2、moddle平台需要运行在php组件下。

再来说说它们之间的差异:

1、moodle平台是一种行业性很强的模块组件。而php是一种行业扩展性很强的服务器脚本语言。

2、moodle平台就和phpcms、phpwind、Discuz!等网页模板很相似,而它们是以php为基础语言开发的具有专业性质的‘套件’。

3、moodle平台模块是‘套件’,具有完整性,而php则是具有基础性,函数、代码零散。


欢迎分享,转载请注明来源:夏雨云

原文地址:https://www.xiayuyun.com/zonghe/357255.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-05-09
下一篇2023-05-09

发表评论

登录后才能评论

评论列表(0条)

    保存