Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are a number of configuration elements that can be optionally be set when starting the Fedora web-application, noted below within brackets: <>. The only configuration element that is required to be set is "fcrepo.modeshape.configuration". 

No Format
fcrepo.home=<cwd/fcrepo4fcrepo-data>home>

This can be set to a path (relative to the current working directory or absolute) to which Fedora repository content will be written.  Any of the Modeshape configuration options below will default to being within this folder if unset or if set to a relative path.  If unset, content will be put in the "fcrepo4fcrepo-datahome" directory within the current working directory.

...

Contains the reliable messaging information maintained by ActiveMQ.


Databases

By default, Fedora uses h2 for storing internal indices derived from the persistent application state.  Alternatively, Fedora can be configured to use MySQL,  MariaDB or PostgresQL instead.  Insert the values appropriate to your database configuration in the parameters specified below in brackets (<>). 

No Format
-Dfcrepo.db.url=jdbc:<database_type>://<database_host>:<database_port>/<database_name> -Dfcrepo.db.user=<database_username> -Dfcrepo.db.password=<database_password>

Below is are examples for mysql, mariadb, and postgresql using the default ports.

No Format
-Dfcrepo.db.url=jdbc:mysql://localhost:3306/fcrepo -Dfcrepo.db.user=<database_username> -Dfcrepo.db.password=<database_password>
-Dfcrepo.db.url=jdbc:mariadb://localhost:3306/fcrepo -Dfcrepo.db.user=<database_username> -Dfcrepo.db.password=<database_password>
-Dfcrepo.db.url=jdbc:postgresql://localhost:5432/fcrepo -Dfcrepo.db.user=<database_username> -Dfcrepo.db.password=<database_password>

Configuration Chain

The standard configuration chain is as follows:

...