加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Mahara安装

发布时间:2020-12-13 17:53:44 所属栏目:百科 来源:网络整理
导读:安装前,必须有 * Linux (window and mac不保证) * PHP - 5.2.0 or greater. * PostgreSQL 8.1+,or MySQL 5.0.25+ with InnoDB table support. * Apache - 2.0 or higher 1. 下载mahara latest version and extract it to web dir 2. create database "mahar

安装前,必须有
* Linux (window and mac不保证)
* PHP - 5.2.0 or greater.
* PostgreSQL 8.1+,or MySQL 5.0.25+ with InnoDB table support.
* Apache - 2.0 or higher

1. 下载mahara latest version and extract it to web dir
2. create database "mahara"
3. Create the Dataroot Directory and make it writable by the web server user. You can either change its owner to be the web server user,or you can chmod it to 777
4. modify mahara config.php file following settings:
$cfg->dbtype,$cfg->dbname,$cfg->dbuser,$cfg->dbpass
$cfg->dataroot
5. add following settings to config.php (这步骤mahara官方网站的安装指南没有,但少了它有可能出错
$cfg->directorypermissions = 0777; //or 0700?
$cfg->wwwroot = 'http://xxx.xxx.xxx/mahara/';
6. append directory in apache httpd.conf file
for example:
<Directory "/var/www/mahara/web">
AllowOverride All
</Directory>
Alias /mahara "/var/www/mahara/web"

7. restart apache with command "/etc/init.d/httpd restart"

8. run http://xxx.xxx/mahara to install


Integrate to moodle,use "Mahoodle". integration guide refers to "Mahoodle.pdf" at https://wiki.mahara.org/index.php/System_Administrator%27s_Guide/Moodle//Mahara_Integration

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读