Mahara安装

    技术2025-04-10  35

    安装前,必须有    * 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 higher1. 下载mahara latest version and extract it to web dir2. 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 7774. modify mahara config.php file following settings:    $cfg->dbtype, $cfg->dbname, $cfg->dbuser, $cfg->dbpass    $cfg->dataroot5. 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

    最新回复(0)