Forum archive
Mahara TKLPatch
Update: The Mahara patch of the 11.0 RC of both he LAPP stack and the LAPP stack are attached below. Any feedback or suggestions are certainly encouraged. This is our first contact with Postgresql.
Mahara is an eportfolio and resume and resume-building web-based application with social networking features. It's built to integrate well with Moodle. ISO and VM for VMware and VirtualBox are up, or rather are being uploaded as I write this, to http://9while9.com.
Although Mahara prefers Postgresql, we thought it might be good form to post a patch for the LAMP stack as well. We should have that done within the week, unless someone suggests the LAPP stack is enough.
Credentials
Ubuntu
Username: root
Password: set on first boot
PostgreSQL
Root user: Postgres
Root password: set on first boot
Database Name: mahara
Mahara User: mahara
Mahara User Password: mahara
MySQL
Root user: root
Root Password: Set on install
Database: mahara
Database user: mahara
The original plan:
A Mahara TKLPatch is just around the corner (hopefully that's not hubris speaking). Working on this project are the following Chelsea School students: Jerel Moses, Steven Robinson, and Maurice Quarles. The plan: 1) Built Mahara virtual appliances for LAPP and LAMP 2) Revise and post build notes 3) Build TKLPatches for LAPP and LAMP Lucid RCs.
OK build notes are ready for the LAMP appliance. VMware appliances based on LAPP and LAMP stacks are available at http://9while9.com.
Mahara with TKL's LAMP (Lucid RC) for VMware
To get started, we downloaded and installed TurkKey Linux's LAMP stack (Lucid RC). When prompted for passwords, we used root for the Ubuntu root user and for the MySQL root user. On restart, login as root through ssh (via Putty, for example), or through the web shell (address and port appear on the services page on startup).
One caveat: to build the appliance, we had to install elinks or lynx to be able to authenticate and get through our proxy. We don't include the step here, but one or both are installed on the appliance we're providing for download.
Set Hostname
HOSTNAME=mahara (dunno why this line is indenting) echo "$HOSTNAME" > /etc/hostname sed -i "s|127.0.1.1 \(.*\)|127.0.1.1 $HOSTNAME|" /etc/hostsEnnable InnoDB
If you install Mahara without this step, it'll let you know that there's a problem with InnoDB tables. This problem is documented here. So we used the recommended work-around.
Configure Database
We used PHPMySQL to handle this; in preparation for the patch, however, we should have done it from the command line. Had we done it from the command line as we should have, it would have gone something like this:
Install Mahara
Ennable Mahara Alias
Open /etc/apache2/conf.d/mahara with your favorite available text editor.
Uncomment the line defining the alias to Mahara (line 4, according to our notes).
Edit the Confconsole Text
Use your favorite text editor to edit services.txt:
Add a line for Mahara. Use spaces rather than tabs, then enter http://$ipaddr/mahara.
Mahara with TKL's LAPP (Lucid RC) for VMware
Set Hostname
HOSTNAME=mahara echo "$HOSTNAME" > /etc/hostname sed -i "s|127.0.1.1 \(.*\)|127.0.1.1 $HOSTNAME|" /etc/hostsConfigure Postgres DB
We used phppgsql to add a user attached to database "mahara" with password "mahara".
In the script we will build, we will use these lines from the Mahara Wiki:
Install Mahara
Ennable Mahara Alias
Open /etc/apache2/conf.d/mahara with your favorite available text editor.
Uncomment the line defining the alias to Mahara (line 4, according to our notes).
Edit the Confconsole Text
Use your favorite text editor to edit services.txt:
Add a line for Mahara. Use spaces rather than tabs, then enter http://$ipaddr/mahara.