Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Remove ispn prefix from database options

...

  1. Install an instance of MySQL and create a database user account
  2. Run Fedora with the following JAVA_OPTS:

    Code Block
    JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.modeshape.configuration=classpath:/config/jdbc-mysql/repository.json"
    JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.ispn.mysql.username=<username>"
    JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.ispn.mysql.password=<password>"
    JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.ispn.mysql.host=<default=localhost>"
    JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.ispn.mysql.port=<default=3306>"

Note, the fcrepo database must be manually created, the database and table used by ISPN are auto-but the tables will be automatically created.

PostgreSQL

  1. Install PostgreSQL and create a database called ispn and a user account that can access it
  2. Run Fedora with the following JAVA_OPTS:
Code Block
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.modeshape.configuration=classpath:/config/jdbc-postgresql/repository.json"
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.ispn.postgresql.username=<username>"
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.ispn.postgresql.password=<password>"
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.ispn.postgresql.host=<default=localhost>"
JAVA_OPTS="${JAVA_OPTS} -Dfcrepo.ispn.postgresql.port=<default=5432>"

Note, the ispnfcrepo database must be manually created, but the tables will be automatically created.

...