You are here
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.
Build Notes and Virtual Appliances
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
Ennable 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
Configure 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.
Mahara for LAPP and LAMP: question about postgres
UPDATE: The patch for LAPP is done. We'll attach it to the parent post asap.
Old update: I think I've got it figured out. su -c - postgres appears to work. Will update with confirmation.
I think we've got the LAMP patch nailed, but since Mahara recommends postgres, we thought we'd try our hand at that as well.
We can't get user root to execute as postgres. One iteration of the conf script looks like this:
However, the su - postgres takes us to interactive land, which we don't want.
So at the recommendation of a helpful denizen of #postgresql, we added this to pg_hba.conf:
as the first uncommented line.
then we tried this:
only to be told that "role root does not exist". (Fatal). Any suggestions from the postgres wizards?
Awesome work!
You guys are getting good at this! :)
Community Support was incredible
Thanks Jedmeister! Sure hope it works :)
Working with Postgres, we found ourselves in terra incognita. Although there was a helpful soul at #mahara, there wasn't much from #postgresql; #mahara was quiet for the most part. Ultimately, we couldn't have done this without the support of the gentlemen at #ampache. Chris Slamar, and then later ascheel and uncon were especially helpful in overcoming some of the hurdles. Once again, we have that tremendous community to sincerely thank.
I have never played with PostgreSQL
So I have no idea about it at all really. In fact in all honesty I don't really know a lot about SQL full stop, although I have played a little with MySQL and have been recently forced (through work) to become a little aquainted with MS SQLserver (but that's a whole other story...).
Anyway I think it's a great idea offering up the 2 separate patches. I'm sure it would be an interesting exercies for the students to compare and contrast the 2 DB engines. Also it gives the devs options when it comes time to add them to the appliance range.
Great documentation Rik!
How did you guys came across Mahara? What are you using it for? (just curious)
Thank you Liraz - plus more on Mahara
We have the Mahara appliance up and running in our vSphere world, but it hasn't been demonstrated to faculty or administration, for want of time and demo content. I see three use scenarios for Mahara in our institution:
Of course there's always restrictions to how much time can be dedicated by the faculty to adopting and then developing effective strategies for using new technology. And despite the boon its been, from my curriculum and student progress, to administrative tasks like IEP management, I sense some reticence about open-source technology - I definitely feel perceived as an open-source or free software evangelist. I use vSphere infrastructure, darn it. That should be all the evidence they need.
As for how we discovered Mahara, the credit goes to Alon. Alon brought Ubuntu's School Server in a Box initiative to my attention - Mahara is one of the technologies included in the blueprint [1]. Now that I've worked with Mahara, its role in schools, especially high schools, is clear to me.
[1] https://wiki.ubuntu.com/Education/EdubuntuServer
http://9while9.com
Hello, I am verys interested in giving the TKL Mahara install a try, but I am finding that http://9while9.com
is no longer available. Can any direct me to a current download location?
I am preparing to install Drupal, Moodle, Koha and Mahara for our school next year. The Mahara piece I am having difficulties with and could really use the help of TK!
Thanks for your help!
You could install the patch
It's attached to the OP. Read the docs on how to apply a patch.
Add new comment