Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: $FEDORA_HOME/tomcat to $CATALINA_HOME – otherwise the assumption is that tomcat lives under the fedora home directory

...

Other servlet containers will require manual deployment of the war files located at FEDORA_HOME/install.

Application Server Context

The installer provides the option to enter an application server context name under which Fedora will be deployed. The context name defaults to Fedora (resulting in http[s]://host:port/fedora), however any other valid context name can be supplied. The installer will name the resulting war file according to the supplied context name (defaults to fedora.war). Please ensure that the servlet container configuration reflects the name of the Fedora context name in case it needs to be configured explicitly. For further details see Alternative Webapp Context Configuration.

SSL

Configuring SSL support for Fedora's API-M interface is an optional feature. It strongly recommended for production environments if Fedora is exposed to unsecured applications and users. However, if your installation is within a managed data center with firewall services, you may choose to provide SSL using a software or hardware front-end instead. For example, a reverse proxy implemented using the Apache HTTP Server and hiding Fedora generally provides better SSL performance.

If the Tomcat servlet container is selected, the installer will configure server.xml for you. However, as noted above, if an existing Tomcat installation was selected, the installer will not overwrite your existing server.xml.

Please consult your servlet container's documentation for certificate generation and installation. (In particular, the example certificate provided by the installer for Tomcat should not be used in a production environment).

If Fedora is configured to use SSL, the JAVA_OPTS environment variable must include the javax.net.ssl.trustStore and javax.net.ssl.trustStorePassword properties. The value of javax.net.ssl.trustStore should be the location of the truststore file and the value of javax.net.ssl.trustStorePassword is the password for the keystore. The following values may be used with the sample keystore included with the installer:

...

The Fedora Security Layer is an experimental feature introduced from Fedora 3.3. FeSL Authentication is now the default authentication mechanism, however Fesl Authorization is still considered experimental. Enabling FeSL Authorization will disable the legacy policy enforcement. See FeSL Installation for more information about FeSL requirements that must be satisfied prior to installation.

Resource Index

If the Resource Index is enabled, Fedora will use Mulgara as its underlying triplestore, with full-text indexing disabled.

Messaging

If Messaging is enabled, Fedora will create and send a message via JMS whenever an API-M method is called.

Once the script has collected your answers and configured Fedora on your system, the values are written to the install.properties file located in $FEDORA_HOME/install.

...

8. Once the installation script has completed and Fedora is installed, you should start your Fedora instance by running:

Code Block
$FEDORA$CATALINA_HOME/tomcat/bin/startup.sh

9. To verify that Fedora has successfully started:

 a. $FEDORA$CATALINA_HOME/tomcat/logs/catalina.out should contain no errors.
 b. View your Fedora instance through a web browser: http://localhost:8080/fedora/

10. Stop your Fedora instance by running:$FEDORA$CATALINA_HOME/tomcat/bin/shutdown.sh
11. Navigate to $FEDORA_HOME/data/fedora-xacml-policies/repository-policies/default and create a file with the following xml -

...

11. Restart Fedora by using the startup command from step 8:

Code Block
$FEDORA$CATALINA_HOME/tomcat/bin/startup.sh

12. Access the Fedora Web Administrator: http://localhost:8080/fedora/admin and ensure you can ingest and purge objects.

...