Versions Compared

Key

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

...

These instructions provide a recipe for building your own all-in-one Avalon system from scratch on CentOS or Red Hat Enterprise Linux , version 6.x is supported, 7.x will be supported soon.  Please note that while an all-in-one installation as outlined here is certainly suitable for testing and demos,   a single, all-in-one, server may not be suitable for production environments.

...

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

Create Fedora user and database

Enter the mariadb client

Code Block
create database fcrepo;
create user 'fcrepo'@'localhost' identified by 'fcrepo';
grant all privileges on fcrepo.* to 'fcrepo'@'localhost';
flush privileges;

Check your work and exit


Code Block


Restart Tomcat

Code Block
systemctl restart tomcat

...