Mahara安装

安装前,必须有
* 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

相关文章

来源:http://www.postgres.cn/docs/11/ 4.1.1.&#160;标识符和关键词 SQL标识符和关键词必须以一个...
来源:http://www.postgres.cn/docs/11/ 8.1.&#160;数字类型 数字类型由2、4或8字节的整数以及4或8...
来源:http://www.postgres.cn/docs/11/ 5.1.&#160;表基础 SQL并不保证表中行的顺序。当一个表被读...
来源:http://www.postgres.cn/docs/11/ 6.4.&#160;从修改的行中返回数据 有时在修改行的操作过程中...
来源:http://www.postgres.cn/docs/11/ 13.2.1.&#160;读已提交隔离级别 读已提交是PostgreSQL中的...
来源:http://www.postgres.cn/docs/11/ 9.7.&#160;模式匹配 PostgreSQL提供了三种独立的实现模式匹...