This repository was archived by the owner on Jun 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Setting up development and test environments without hydra jetty
coblej edited this page Apr 10, 2013
·
9 revisions
This documents the steps I am taking to see if I can set up Fedora and Solr in my workstation development and test environments without using hydra-jetty. The purpose of this activity is to be able to use desired versions of Fedora and Solr independent of those used in any particular version of hydra-jetty.
- Installed into /opt directory
- Ran into problems trying to latest version of Jetty (9), so I switched to Jetty 6.1.26 (available for download at http://dist.codehaus.org/jetty/jetty-6.1.26/), which matches the version used in the latest tagged version of hydra-jetty (5.1.0). So far, this seems to work fine.
- Basically used instructions found at http://pietervogelaar.nl/ubuntu-12-04-install-jetty-9/, starting from the "Download latest Jetty distribution", except that I configured Jetty to run at port 8983 instead of 8085 in order to be consistent with the port used in hydra-jetty. (Note: I followed these instructions initially when I was installing Jetty 9 and used them again as a guide when switching to Jetty 6, primarily as an aid to setting up jetty as a service.)
- Need to install two instances of Fedora Commons, one for development environment and one for test environment.
- See https://github.com/projecthydra/hydra-jetty/tree/v5.1.0/fedora for information on how hydra-jetty updated Fedora 3.6.1 for its use. Expect to use basically the same approach for updating an installation of Fedora 3.6.2 for use in Hydra development and test environments (independent of hydra-jetty).
- Installed Fedora into /opt/fedora. This resulted in the following directories in /opt/fedora/ : client docs install pdp server. Following the hydra-jetty convention, created a directory named default in /opt/fedora/ and moved docs, install, pdp, and server in there.
- In fedora.fcfg and spring/akubra-llstore.xml, rather than replacing "/opt/fedora" with "fedora/default" as stated in the hydra-jetty link above, I replaced it with "/opt/fedora/default".
- Created a contexts directory in /opt/jetty/ and put a copy of fedora.xml from hydra-jetty/contexts/ directory there, changing the value of the fedora.home initParam to /opt/fedora/default