Versions Compared

Key

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

...

  1. Wiki Markup
    Download the eagle-i repository distribution package, {{eagle-i-repository-dist-\[version\].zip}}
  2. Establish a repository home directory, such as /opt/eaglei/repo and set an environment variable ${REPO_HOME}. Unzip the distribution package to this location
  3. Copy ${REPO_HOME}/webapps/ROOT.war to Tomcat's webapps directory
  4. Configure Tomcat's JAVA_OPTS (in tomcat6.conf or similar): 
    JAVA_OPTS="-XX:PermSize=64M -XX:MaxPermSize=256M -Xmx1024m"
  5. Add two system properties to catalina.properties:
    org.eaglei.repository.home=/opt/eaglei/repo
    derby.system.home=/opt/eaglei/repo
  6. Run the script ${REPO_HOME}/etc/prepare-install.sh
  7. Edit Create and edit the repository configuration file in ${REPO_HOME}/configuration.properties
  8. Start up Tomcat
  9. Run the script ${REPO_HOME}/etc/finish-install.sh
  10. Run the script ${REPO_HOME}/etc/upgrade.sh

...

  1. Stop Tomcat
  2. Establish an eagle-i application home directory and a subdirectory for common application configuration files, e.g. /opt/eaglei and /opt/eaglei/conf. Edit catalina.properties to reflect these:
    org.eaglei.home=/opt/eaglei
    common.loader=/opt/eaglei/conf,.....
  3. Create an "anonymous" repository user with no roles (to be used by the sweet backend services), and a few test users with different roles.
  4. Download example configuration files eagle-i-apps.properties, eagle-i-apps-credentials.propertieswhoami.xml, place them  in the common configuration directory and modify them to reflect your installation
  5. Wiki Markup
    Download {{eagle-i-webapp-sweet-\[version\].war}} into Tomcat's webapps directory and rename to {{sweet.war}}
  6. Wiki Markup
    Download {{eagle-i-webapp-help-\[version\].war}} into Tomcat's webapps directory and rename {{help.war}}
  7. Start Tomcat


3.

...

(Optional) Configure search engine access and Google analytics

Wiki Markup
_For details, see: \[Guide under construction\]__ and __[eaglei:Configuration Property Guide]_
_For configuration sample files, see:_ _[examples|https://open.med.harvard.edu/svn/eagle-i-dev/apps/trunk/examples/config-files]_ _in our code repository_

  1. Create the file robots.txt in ${CATALINA_HOME}/webapps/ROOT  and edit it to allow search engine crawler access (see examples directory)
  2. Create the file sitemap.xml in ${CATALINA_HOME}/webapps/ROOT by using the sitemap web service provided by SWEET:
    wget -O ${CATALINA_HOME}/webapps/ROOT/sitemap.xml http://your.host.edu/sweet/sitemap 
    (It is a good idea to set up a cron job to update the site map periodically.)
  3. Submit this sitemap to the search engines of your choice (for Google, you will need to set up a Google Webmaster account)
  4. Google analytics: obtain an analytics account and configure your tracker ID in the file eagle-i-apps.properties


4. (Optional) Install Sparqler

For details, see: Public SPARQL Endpoint Installation Guide and Configuration Property Guide
For software downloads, see: Get Software
For configuration sample files, see: examples in our code repository

  1. Stop Tomcat
  2. Copy Copy ${REPO_HOME}/webapps/sparqler.war to Tomcat's webapps directory
  3. Establish a Sparqler home directory
  4.  
  5. , such as /opt/eaglei/sparqler and set an environment variable ${SPARQLER_HOME}.
  6. Add the following system property to catalina.properties:
    org.eaglei.sparqler.home=/opt/eaglei/sparqler
  7. Run the script ${REPO_HOME}/etc/prepare-install.sh  with an additional argument: sparqler-users.derby
  8. Edit the repository configuration file in ${SPARQLER_HOME}/configuration.properties. It should be identical to the repository's except for two lines:
    eaglei.repository.sesame.dir=${sys:org.eaglei.sparqler.home}/sesame
    eaglei.repository.log.dir=${sys:org.eaglei.sparqler.home}/logs
  9. Start Tomcat
  10. Run the script ${REPO_HOME}/etc/finish-install.sh targeting the newly created /sparqler endpointStart Tomcat


5. (Optional) Install Institutional Search

...