Total Pageviews

Monday, 23 June 2008

Download MySource Matrix, Open Source Content Management

What is MySource Matrix ?

MySource Matrix is an enterprise-class ‘asset’ based Content Management System that’s specifically designed for medium to large-sized organisations.

MySource Matrix helps you control the content that drives your business - it runs some of the world’s largest intranet, web, e-commerce and publishing platforms. It is also available under an open source licence (see the MySource Matrix website for further info), and it currently powers the web sites of leading organisations such as Future Publishing, Warner Music, The National Health Service, the Australian Federal Government and Oxford University.

MySource Matrix is a significantly more advanced system than its predecessor, MySource Classic v2 (which was independently rated by Gartner as one of the most advanced content management systems in the world). MySource Matrix is easy to use and highly functional, offering everything you would expect from an enterprise-class CMS.

For example, MySource Matrix includes:

  • A What-You-See-Is-What-You-Get (WYSIWYG) simple editor interface for use by people with little or no training

  • Flexible workflow (with the ability to create as many steps as are required)

  • Flexible permissions structure for distributed authoring and system management

  • Full audit trails

  • Transparent versioning and full system roll back

  • Flexible metadata

  • Standards compliance (capable of publishing web accessible sites up to Priority AAA)

  • Separation of design from content

  • Asset based structure for easy content re-use

MySource Matrix is browser-based (in other words, all editing interfaces may be operated through a Java enabled web browser without installing additional software on your machine). To use MySource Matrix you will need a recent version of Sun Microsystems' Java Runtime Environment (1.4.2 or higher).

MySource Matrix is written in PHP and uses the PEAR database abstraction layer to manage database communication. Commercial implementations of MySource Matrix currently use MySQL, PostgreSQL and Oracle, however using an abstraction layer means it is possible to add support for many other databases including Microsoft SQL Server, Sybase and ODBC connections.

Download MySource Matrix 3.18.2

The core download of the MySource Matrix Content Management System (CMS).

Version 3.18.2 contains 26 bug fixes, plus several new features and improvements. All users currently running 3.18.1 should upgrade to this new version.

If you have the Search package and are using Thesaurus Metadata Field assets, you should reindex your system. If you are running the GPL version, you only need to follow the standard minor upgrade procedure.

View the changelog

  • Filename: mysource_3-18-2.tar.gz
  • Size: 4.4 mb

Download MySource Matrix 3.16.9

The core download of the MySource Matrix Content Management System (CMS).

Version 3.16.9 contains 18 bug fixes, plus one new tool and a few improvements. All users currently running 3.16.8 should upgrade to this new version.

If you have the Search package and are using Thesaurus Metadata Field assets, you should reindex your system. If you are running the GPL version, you only need to follow the standard minor upgrade procedure.

View the changelog

  • Filename: mysource_3-16-9.tar.gz
  • Size: 4.3 mb
See different releases

MySource Matrix Installation Guide. Source


This guide will help you install the MySource Matrix Content Management System (CMS) using the command line.

This guide assumes that you are installing MySource Matrix into /home/websites/ so make adjustments to the commands as required.

We apologise if you find this installation process difficult. MySource Matrix interacts with many other pieces of software and it’s this interaction that makes things complex. Our users tell us that the hardest part is getting the requirements right. From then on, installation is more straight forward.

If your system contains modules covered by the SSV licence, please contact Squiz for additional module installation instructions before proceeding.


This installation guide assumes your system meets the requirements for MySource Matrix.

Database Setup

MySource Matrix requires a database for storing data. Before starting an installation, first ensure that you have created a database for MySource Matrix to use.

We have short guides to help you create a database. Please select your database management system from the list below:

The database installation guides will show you how to construct the database DSNs that will be required later in the install. A DSN is a connection string that MySource Matrix uses to connect to the database. Please make note of these before continuing.

Getting MySource Matrix

The easiest way to get MySource Matrix is to download it directly from the MySource Matrix web site using a program such as wget or curl. Alternatively, you can download MySource Matrix here.

Running the following commands will download a copy of the latest stable version of MySource Matrix using wget and unpack it to a directory called mysource_matrix.

Note that the filename of the download will contain a version number. The correct filename should be substituted into the instructions below.

$ cd /home/websites
$ wget
$ tar -zxvf mysource_matrix-3.x.x.tar.gz
If you don't have wget, you can also download MySource Matrix using curl. Running the following commands will download a copy of the latest stable version of MySource Matrix using curl and unpack it to a directory called mysource_matrix.
$ cd /home/websites
$ curl -OL
$ tar -zxvf mysource_matrix-3.x.x.tar.gz

For security reasons, MySource Matrix should not be installed in a public web-accessible directory, like htdocs. Public web access should only be given to the directories that MySource Matrix requires, as described in the Apache Aliases section below.

Those wishing to install MySource Matrix on a Solaris system should use GNU tar to extract the source tarball, rather than Solaris' version of tar. Some incompatibilities exist between the two versions that may have unintended results if Solaris tar is used.

Basic Configuration Settings

MySource Matrix comes with 4 installation scripts that need to be run in a particular order. The first script will initialise the main configuration file.

$ cd /home/websites/mysource_matrix
$ php install/step_01.php /home/websites/mysource_matrix

What step 1 of the installation did is create a configuration file for you. This is the main system configuration file and is located at /home/websites/mysource_matrix/data/private/conf/

You now need to edit this file and add some basic configuration settings.

$ vi data/private/conf/

The following configuration settings need to be completed as a minimum:


You should have got the DSNs from the database setup guides (above). The system root URLs are the URLs that you will use to access the MySource Matrix system. The email addresses should both be set to your email address so you receive any errors or other email notifications from the system.

Examples of these configuration settings are shown below.

Note that the system root URLs should not contain the protocol (eg. HTTP) and each should be separated by a new-line.

define('SQ_CONF_DB_DSN', 'pgsql://developers@db/matrix');
define('SQ_CONF_DB2_DSN', 'pgsql://developers@db/matrix');
define('SQ_CONF_DB3_DSN', 'pgsql://developers_secondary@db/matrix');
define('SQ_CONF_DBCACHE_DSN', 'pgsql://developers@db/matrix');


define('SQ_CONF_DEFAULT_EMAIL', '');
define('SQ_CONF_TECH_EMAIL', '');

See the annotated for more information about these and other MySource Matrix configuration parameters.

Version 3.18 RC1 and later:

In this version, the database details have been moved to a new file, The SQ_CONF_DB_DSN variable and its brethren no longer exist in These have to be set up slightly differently to previous versions - each connection is defined by an array of settings, including the data source name (DSN), which is provided in a different (PDO-compatible) format. The specific DSN format for each database is available from the setup guide for that database.

A typical on a PostgreSQL database system is shown below:

$db_conf = array (
'db' => array (
'DSN' => 'pgsql:dbname=matrix;host=db',
'user' => 'developers',
'password' => '',
'type' => 'pgsql',
'db2' => array (
'DSN' => 'pgsql:dbname=matrix;host=db',
'user' => 'developers',
'password' => '',
'type' => 'pgsql',
'db3' => array (
'DSN' => 'pgsql:dbname=matrix;host=db',
'user' => 'developers_secondary',
'password' => '',
'type' => 'pgsql',
'dbcache' => NULL,

return $db_conf;

Adjust Memory Limit for 64 bit Platforms

For some installations it may be necessary to increase the maximum amount of system memory that is made available to MySource Matrix. In currently supported versions, this is located in the above configuration file.

The current memory limit is defined by the following lines:


The first line defines the maximum amount of memory available to the web interface of MySource Matrix. The second line defines the amount of memory used by MySource Matrix's Cron Job script.

A total of 16 megabytes of system memory is allocated by default for each. It is recommended that this be increased to 32 megabytes if your web server is operating on a 64 bit platform.

Increase the maximum amount of memory allocated as follows:


Initialise the Database Schema

The second installation script will initialise the MySource Matrix database schema, creating database tables, views, functions and sequences.

$ php install/step_02.php /home/websites/mysource_matrix

Install the Core Asset Types

The third installation script installs the different types of assets into the system. It also creates some system assets, such as the Trash folder and the root user account.

The compile_locale.php script is run before and after this step to ensure all errors, warnings and system asset names are translated correctly.

$ php install/compile_locale.php /home/websites/mysource_matrix
$ php install/step_03.php /home/websites/mysource_matrix
$ php install/compile_locale.php /home/websites/mysource_matrix

Fix File System Permissions

Some directories of MySource Matrix require read and write permission for the user that the Apache web server is run as. All other directories should be read-only for the Apache user.

The example below assumes your Apache web server is running as the user "apache" and with the group "apache" and that you own all the files in /home/websites/mysource_matrix.

$ chmod -R 755 /home/websites/mysource_matrix

$ cd /home/websites/mysource_matrix
$ chown -R apache:apache data cache
$ chmod -R g+w data cache

Create Apache Aliases

Now that MySource Matrix is installed, we need to enable web access to the system. This is done using Apache aliases.

Locate your Apache alias file, typically httpd.conf, and create a new VirtualHost directive for MySource Matrix. The recommended VirtualHost setup is as follows:

<VirtualHost *:80>
DocumentRoot /home/websites/mysource_matrix/core/web

<Directory "/home/websites/mysource_matrix">
Options -Indexes FollowSymLinks
Order deny,allow
Deny from all
<Directory "/home/websites/mysource_matrix/core/web">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
<Directory "/home/websites/mysource_matrix/core/lib">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
<Directory "/home/websites/mysource_matrix/data/public">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
<Directory "/home/websites/mysource_matrix/fudge">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all

Alias "/__data" "/home/websites/mysource_matrix/data/public"
Alias "/__lib" "/home/websites/mysource_matrix/core/lib"
Alias "/__fudge" "/home/websites/mysource_matrix/fudge"
Alias "/" "/home/websites/mysource_matrix/core/web/index.php/"


Note that the order of each alias is important. You should replace with the hostname of your server, as specified in the /etc/hosts file.

Save the file and restart Apache. You should be now be able to access the frontend of MySource Matrix using the URL you have configured in Apache. If all goes well, you will actually see a MySource Notice on the screen. This indicates that MySource Matrix is running but you have not yet created any sites within the system.

Cron Setup

To allow MySource Matrix's cron system to function you need to edit the crontab file for the user that your web server runs as

crontab -u apache -e

and add an entry to invoke MySource Matrix's cron script with the appropriate frequency (default is 15 minutes)

*/15 * * * * php /home/websites/mysource_matrix/core/cron/run.php

Solaris and some other non-Linux systems may not allow the use of the format "*/15" (and the like) to specify "every 15 minutes". Instead the minutes should be entered explicitly - for example, "0,15,30,45" in its place will make the job run every 15 minutes.

For v3.8.5 onwards an entry is also required for the session files garbage collection script:

0 0 * * *  /home/websites/mysource_matrix/scripts/

Accessing the Administration Interface

At this point, MySource Matrix has been installed correctly and is web accessible. You can now access the administration interface as the root user and begin working with MySource Matrix.

To access the administration interface, append /_admin to the end of your system root URL. For example, You will see a login screen where you can enter the root user's username and password.

The root user's details are:

  • The username is root
  • The default password is root

You should change the root user's password as soon as you log in successfully. Leaving the root password unchanged is a serious security risk.

To change the root user's password, log into the administration interface, click on the My Space tab above the Java asset map, then click My Details. Lock this screen and enter a new password (twice) in the password boxes. Press Commit to save the new password.


for ict 99 said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training India . Nowadays Java has tons of job opportunities on various vertical industry.

Kanye Co Jamila said...

Great Article
IEEE Final Year Projects for CSE
IEEE Project Centers in Chennai

ve may bay tet said...

Đặt vé máy bay Aivivu, Tham khảo

kinh nghiệm mua vé máy bay đi Mỹ giá rẻ

vé máy bay từ mỹ về việt nam hãng eva

vé máy bay đi Los Angeles

các đường bay từ canada về việt nam