To install MySource Matrix from the command line (in case the web based installer doesnt work for you), do the following.
Assume you've extracted matrix to /home/matrix and you have created your database:
cd /home/matrix php install/step_01.php . (there may be some notices generated - ignore them) vi data/private/conf/main.inc
You'll have to edit this file manually to setup your system. The config options to worry about are:
SQ_CONF_DB_DSN
SQ_CONF_DB2_DSN
These two can be the same to start with and are in the form:
DB_TYPE://USER:PASS@DB_HOST/DB_NAME
[s]eg. mysql://root@localhost/matrix[/s]
eg. pgsql://matrix:password@unix()/matrix
[b]SQ_CONF_ROLLBACK_ENABLED[/b]
Set to '1' if you want to try rollback (you can turn if off later)
[b]SQ_CONF_SYSTEM_ROOT_URLS[/b]
Enter the URL of your system without http:// (eg. 'www.mysite.com/~myname')
Then complete the install:
[b]For MySource 3.4.x or earlier, you only need to run:[/b]
php install/step_02.php . php install/step_03.php .
[b]For MySource 3.5.x, 3.6.x or later, extra commands need to be run due to new localisation features in these versions. Only Australian English is available at this point. Run:[/b]
php install/step_02.php . php install/compile_locale.php . --locale=en_AU php install/step_03.php . php install/compile_locale.php . --locale=en_AU
The first call to compile_locale.php is to compile and cache core strings, internal messages and errors - this needs to be done before step 3, otherwise you may find some assets (generally the pre-installed cron jobs) may have "source string not found" problems. The call after step 3 compiles the localisation data for the assets just installed.
When you run the step 3 install, you should also run compile_locale.php afterwards to ensure that any upgraded localisation data is up-to-date.