<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-8592141475295700939</atom:id><lastBuildDate>Mon, 08 Mar 2010 19:30:54 +0000</lastBuildDate><title>Mahara installation on CentOS</title><description>This blog is written to help others to successfully install Mahara on CentOS (a RedHat Enterprise Linux clone).</description><link>http://www.linuxtraining.org.uk/blogger2.html</link><managingEditor>noreply@blogger.com (clive)</managingEditor><generator>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8592141475295700939.post-8915765292991759734</guid><pubDate>Thu, 30 Apr 2009 10:51:00 +0000</pubDate><atom:updated>2009-09-08T00:31:45.076-07:00</atom:updated><title>DSpace, LAMS, Mahara and OpenSim install on CentOS</title><description>There are five blogs in this series.&lt;br /&gt;&lt;br /&gt;Please select the link below as required:-&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.linuxtraining.org.uk/blogger.html"&gt;DSpace Install Blog&lt;/a&gt;   &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.linuxtraining.org.uk/blogger1.html"&gt;LAMS Install Blog&lt;/a&gt;   &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.linuxtraining.org.uk/blogger2.html"&gt;Mahara Install Blog&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.linuxtraining.org.uk/blogger4.html"&gt;OpenSim Install Blog&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.linuxtraining.org.uk/blogger3.html"&gt;Server Syncronisation Blog&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8592141475295700939-8915765292991759734?l=www.linuxtraining.org.uk%2Fblogger2.html' alt='' /&gt;&lt;/div&gt;</description><link>http://www.linuxtraining.org.uk/2009/04/dspace-lams-and-mahara-install-on.html</link><author>noreply@blogger.com (clive)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8592141475295700939.post-5526336158742499626</guid><pubDate>Thu, 23 Apr 2009 12:35:00 +0000</pubDate><atom:updated>2010-03-08T11:30:54.478-08:00</atom:updated><title>Mahara install on Centos 5.x</title><description>This blog was written after installing Mahara 1.1.2 on a CentOS 5.3 box already running Moodle, LAMS and DSpace.&lt;br /&gt;&lt;br /&gt;The process I followed is explained below:&lt;br /&gt;&lt;br /&gt;Login as root&lt;br /&gt;su - postgres&lt;br /&gt;&lt;br /&gt;Create the Mahara user and database in postgresql:&lt;br /&gt;Note that postgresql was already installed and configured during the DSpace installation. For more information please select this &lt;a href="http://www.linuxtraining.org.uk/blogger.html"&gt;link&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;-bash-3.2$ createuser -U postgres -d -A -P mahara&lt;br /&gt;&lt;em&gt;Enter password for new role:&lt;br /&gt;Enter it again:&lt;br /&gt;Shall the new role be allowed to create more new roles? (y/n) n&lt;br /&gt;CREATE ROLE&lt;/em&gt;&lt;br /&gt;-bash-3.2$ createdb -U mahara -EUTF8 mahara&lt;br /&gt;&lt;em&gt;CREATE DATABASE&lt;/em&gt;&lt;br /&gt;-bash-3.2$ exit&lt;br /&gt;&lt;br /&gt;nano /var/lib/pgsql/data/pg_hba.conf and add the line&lt;br /&gt;host mahara mahara 127.0.0.1 255.255.255.255 md5&lt;br /&gt;service postgresql restart&lt;br /&gt;&lt;br /&gt;Download and install Mahara:&lt;br /&gt; &lt;br /&gt;cd&lt;br /&gt;lynx http://eduforge.org/frs/?group_id=176&lt;br /&gt;tar -xzvf mahara-1.1.2.tar.gz&lt;br /&gt;cd mahara-1.1.2&lt;br /&gt;cp -pr htdocs /var/www/html/mahara&lt;br /&gt;cd /var/www/html/mahara&lt;br /&gt;cp config-dist.php config.php&lt;br /&gt;nano config.php&lt;br /&gt;&lt;br /&gt;&lt;?php&lt;br /&gt;/**&lt;br /&gt; * Mahara: Electronic portfolio, weblog, resume builder and social networking&lt;br /&gt; * Copyright (C) 2006-2008 Catalyst IT Ltd (http://www.catalyst.net.nz)&lt;br /&gt; *&lt;br /&gt; * This program is free software: you can redistribute it and/or modify&lt;br /&gt; * it under the terms of the GNU General Public License as published by&lt;br /&gt; * the Free Software Foundation, either version 3 of the License, or&lt;br /&gt; * (at your option) any later version.&lt;br /&gt; *&lt;br /&gt; * This program is distributed in the hope that it will be useful,&lt;br /&gt; * but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br /&gt; * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the&lt;br /&gt; * GNU General Public License for more details.&lt;br /&gt; *&lt;br /&gt; * You should have received a copy of the GNU General Public License&lt;br /&gt; * along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.&lt;br /&gt; *&lt;br /&gt; * @package    mahara&lt;br /&gt; * @subpackage core&lt;br /&gt; * @author     Catalyst IT Ltd&lt;br /&gt; * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL&lt;br /&gt; * @copyright  (C) 2006-2008 Catalyst IT Ltd http://catalyst.net.nz&lt;br /&gt; *&lt;br /&gt; */&lt;br /&gt;//&lt;br /&gt;// MAHARA CONFIGURATION FILE&lt;br /&gt;//&lt;br /&gt;// Copy this file from config-dist.php to config.php, and change the values in&lt;br /&gt;// it to suit your environment.&lt;br /&gt;//&lt;br /&gt;// Information about this file is available on the Mahara wiki:&lt;br /&gt;// http://wiki.mahara.org/System_Administrator%27s_Guide/Installing_Mahara#Mahara_Configuration&lt;br /&gt;//&lt;br /&gt;$cfg = new StdClass;&lt;br /&gt;&lt;br /&gt;// database connection details&lt;br /&gt;// valid values for dbtype are 'postgres8' and 'mysql5'&lt;br /&gt;$cfg-&gt;dbtype   = 'postgres8';&lt;br /&gt;$cfg-&gt;dbhost   = 'localhost';&lt;br /&gt;$cfg-&gt;dbport   = null;&lt;br /&gt;$cfg-&gt;dbname   = 'mahara';&lt;br /&gt;$cfg-&gt;dbuser   = 'mahara';&lt;br /&gt;$cfg-&gt;dbpass   = 'XXXX';&lt;br /&gt;// Note: database prefix is NOT required, you don't need to set one except if&lt;br /&gt;// you're installing Mahara into a database being shared with other&lt;br /&gt;// applications (this happens most often on shared hosting)&lt;br /&gt;$cfg-&gt;dbprefix = '';&lt;br /&gt;// wwwroot - the web-visible path to your Mahara installation&lt;br /&gt;// Normally, this is automatically detected - if it doesn't work for you&lt;br /&gt;// then try specifying it here&lt;br /&gt;//$cfg-&gt;wwwroot = 'http://vleinternal.bromley.ac.uk/mahara/';&lt;br /&gt;// dataroot - uploaded files are stored here&lt;br /&gt;// This is a ABSOLUTE FILESYSTEM PATH. This is NOT a URL.&lt;br /&gt;// For example, valid paths are:&lt;br /&gt;//  * /home/user/maharadata&lt;br /&gt;//  * /var/lib/mahara&lt;br /&gt;//  * c:\maharadata&lt;br /&gt;// INVALID paths:&lt;br /&gt;//  * http://yoursite/files&lt;br /&gt;//  * ~/files&lt;br /&gt;//  * ../data&lt;br /&gt;//&lt;br /&gt;// This path must be writable by the webserver and outside document root (the&lt;br /&gt;// place where the Mahara files like index.php have been installed).&lt;br /&gt;// Mahara will NOT RUN if this is inside your document root, because&lt;br /&gt;// this is a big security hole.&lt;br /&gt;$cfg-&gt;dataroot = '/home/mahara';&lt;br /&gt;?&gt;&lt;br /&gt;&lt;br /&gt;mkdir /home/mahara&lt;br /&gt;chown apache:apache /home/mahara&lt;br /&gt;&lt;br /&gt;[root@vleinternal mahara]# crontab -e&lt;br /&gt;Add last line to root crontab:&lt;br /&gt;&lt;br /&gt;*/5 * * * * wget -q -O /dev/null http://127.0.0.1/ict/admin/cron.php&lt;br /&gt;&lt;strong&gt;* * * * * wget -q -O /dev/null http://127.0.0.1/mahara/lib/cron.php&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;It is necessary to now install the following php modules before Mahara's Web based installer will run:&lt;br /&gt;&lt;br /&gt;yum install php-devel&lt;br /&gt;yum install php-pear&lt;br /&gt;pear install pecl/json&lt;br /&gt;yum install php-pgsql&lt;br /&gt;yum install php-gd&lt;br /&gt;&lt;br /&gt;nano /etc/php.d/json.ini and add&lt;br /&gt;extension=json.so&lt;br /&gt;&lt;br /&gt;nano /etc/php.d/pgsql.so and add&lt;br /&gt;extension=pgsql.so&lt;br /&gt; &lt;br /&gt;nano /etc/php.d/gd.so&lt;br /&gt;extension=gd.so&lt;br /&gt; &lt;br /&gt;Edit httpd.conf and set AllowOverride = All&lt;br /&gt;restart apache&lt;br /&gt;visit http://vleinternal.bromley.ac.uk/mahara/ to complete install&lt;br /&gt;&lt;br /&gt;Once Mahara is installed you can login as follows:&lt;br /&gt;&lt;br /&gt;Username: admin&lt;br /&gt;Password: mahara&lt;br /&gt;&lt;br /&gt;You will be prompted to change the password on first login.&lt;br /&gt;&lt;br /&gt;Moodle-Mahara integration is straightforward and I successfully followed the instructions contained in the file &lt;a href="https://eduforge.org/docman/view.php/176/3200/Mahoodle.pdf"&gt;mahoodle.pdf&lt;/a&gt; available from eduforge.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Mahara Upgrade Process &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Below is the process I followed to upgrade Mahara from version 1.1.2 to version 1.1.3&lt;br /&gt;&lt;br /&gt;A very similar process worked successfully to upgrade mahara to later versions.  &lt;br /&gt;&lt;br /&gt;Login as root and move the existing mahara folder somewhere safe.&lt;br /&gt;&lt;br /&gt;mv /var/www/html/mahara /root/mahara_old_1.1.2&lt;br /&gt;&lt;br /&gt;Download mahara-1.1.3.tar.gz as root, extract the contents of the tar archive and install the new version.&lt;br /&gt;&lt;br /&gt;lynx http://eduforge.org/frs/?group_id=176&lt;br /&gt;tar -xzvf mahara-1.1.3.tar.gz&lt;br /&gt;cd mahara-1.1.3&lt;br /&gt;cp -pr htdocs /var/www/html&lt;br /&gt;mv /var/www/html/htdocs /var/www/html/mahara&lt;br /&gt;cp /root/mahara_old_1.1.2/config.php /var/www/html/mahara&lt;br /&gt;&lt;br /&gt;Then visit the upgrade script in Mahara from the browser to complete the upgrade:&lt;br /&gt;&lt;br /&gt;http://vleinternal.bromley.ac.uk/mahara/admin/upgrade.php&lt;br /&gt;&lt;br /&gt;When I upgraded from 1.1.7 to 1.2.0 I had the following error message when I went to the admin page:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Mahara: Site unavailable&lt;br /&gt;Your server configuration does not include the dom extension. Mahara requires this in order to parse XML data from a variety of sources.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;This was solved by installing php-xml and restarting Apache as shown below:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;yum install php-xml&lt;br /&gt;service httpd stop&lt;br /&gt;service httpd start&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;When I upgraded from 1.2.0 to 1.2.2 the above process worked fine, although the download site URL has changed: &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;lynx https://launchpad.net/mahara/+download&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;When I upgraded from 1.2.2 to 1.2.3 the above process worked fine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8592141475295700939-5526336158742499626?l=www.linuxtraining.org.uk%2Fblogger2.html' alt='' /&gt;&lt;/div&gt;</description><link>http://www.linuxtraining.org.uk/2009/04/mahara-install-on-centos-5x.html</link><author>noreply@blogger.com (clive)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item></channel></rss>