Version 5 (modified by forgacs, 2 years ago)

--

Installing MediaMosa

Unpack you MediaMosa

  • Unpack it to your web directory (typically /var/www/your-site or /srv/www/your-site).

Set up Database

We advice using  MySQL v5.1, or use MySQL variant like  MariaDB.

MediaMosa is currently untested with  PostgreSQL.

Use the database mediamosa example below to create your database 'mediamosa' with user 'mediamosa' before proceeding.

# The password entries below needs to be changed.

# Create the database.
CREATE DATABASE mediamosa DEFAULT CHARSET=utf8;

# Create localhost access for user 'mediamosa'.
CREATE USER 'mediamosa'@'localhost' IDENTIFIED BY 'mediamosa';

# Now grant usage for user 'mediamosa' on the 'mediamosa' database.
GRANT USAGE ON mediamosa.* TO 'mediamosa'@'localhost' IDENTIFIED BY 'mediamosa' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;

GRANT ALL ON mediamosa.* TO 'mediamosa'@'localhost';

You may change the 'mediamosa' database prefix and the database user name.

If you want to migrate your current MediaMosa v1.7 database to the new 2.x version, you have to create or have a database user, which has enough rights to read your current v1.7 databases.

Other

  • Load your new site, chose the Mediamosa profile and follow the instruction.
  • You will have to set your database, your crontab and your Apache settings in this process.
  • In the default Apache2 docroot configuration, set the 'AllowOverride' parameter to 'All'. This enables so-called Clean URLs to be used for the REST services, i.e. without ?q= syntax.
  • In the PHP configuration file php.ini, set memory_limit = 128M.