welcome: please sign in
location: Mahara

Mahara is an e-Portfolio software installed for Graduate Education

Database

  create database mahara character set UTF8;
  create user mahara@'localhost';
  set password for mahara@'localhost' = PASSWORD('xxxxxx');
  GRANT ALL ON mahara.* to 'mahara'@'localhost';

Data Dir

  mkdir /var/www/mahara.morningside.edu/maharadata
  chown apache:apache /var/www/mahara.morningside.edu/maharadata
  chmod 770 /var/www/mahara.morningside.edu/maharadata

httpd conf(.d)

  <VirtualHost 10.0.0.113:80>
         ServerName mahara.morningside.edu
         DocumentRoot /var/www/mahara.morningside.edu/mahara-1.8.0/htdocs

         ErrorLog /var/log/httpd/mahara.error.log
         CustomLog /var/log/httpd/mahara.access.log combined

         <Directory /var/www/mahara.morningside.edu/mahara-1.8.0/htdocs>
                 AllowOverride All
         </Directory>
    </VirtualHost>

php ini

  session.entropy_length = 16

config.php

--- config-dist.php     2013-10-23 22:39:39.000000000 -0500
+++ config.php  2013-11-11 14:14:31.674667451 -0600
@@ -31,12 +31,12 @@
  * database connection details
  * valid values for dbtype are 'postgres' and 'mysql'
  */
-$cfg->dbtype   = 'postgres';
+$cfg->dbtype   = 'mysql';
 $cfg->dbhost   = 'localhost';
 $cfg->dbport   = null;
-$cfg->dbname   = '';
-$cfg->dbuser   = '';
-$cfg->dbpass   = '';
+$cfg->dbname   = 'mahara';
+$cfg->dbuser   = 'mahara';
+$cfg->dbpass   = 'xxxxxx';

 /**
  * Note: database prefix is NOT required, you don't need to set one except if
@@ -82,7 +82,7 @@
  * Mahara will NOT RUN if this is inside your document root, because
  * this is a big security hole.
  */
-$cfg->dataroot = '/path/to/uploaddir';
+$cfg->dataroot = '/var/www/mahara.morningside.edu/maharadata';

 /**
  * If set, this email address will be displayed in the error message if a form
@@ -94,19 +94,19 @@
 /**
  * Set this to enable a secondary hash that is only present in the config file
  */
-// $cfg->passwordsaltmain = 'some long random string here with lots of characters';
+$cfg->passwordsaltmain = 'the quick brown fox jumps over the lazy lazy dog.';

 /**
  * When changing the salt (or disabling it), you will need to set the current salt as an alternate salt
  * There are up to 20 alternate salts
  */
-$cfg->passwordsaltalt1 = 'old salt value';
+$cfg->passwordsaltalt1 = 'thisisthemorningsidesaltvalue';

 /**
  * Uncomment the following line if this server is not a production system.
  * This will put a line up the top of the page saying that it isn't a production
  * site, and that files may not be present.
  */
-//$cfg->productionmode = false;
+$cfg->productionmode = false;

 // closing php tag intentionally omitted to prevent whitespace issues

interface ip /etc/sysconfig/network-scripts/ifcfg-eth1_113

DEVICE="eth1:113"
BOOTPROTO="none"
IPADDR=10.0.0.113
NETMASK=255.255.255.0
GATEWAY=10.0.0.1
HWADDR="00:50:56:80:15:D1"
NM_CONTROLLED="no"
ONBOOT="yes"

Cron job. Minutely

  * * * * * /var/www/mahara.morningside.edu/mahara-1.8.0/htdocs/lib/cron.php


CategoryServices

Mahara (last edited 2013-12-11 14:53:47 by meyersh)