Versions Compared

Key

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

...

  1. 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. If Tomcat doesn't already have them, copy the 2 derby jars in ${REPO_HOME}/lib to ${CATALINA_HOME}/lib
  5. Configure Tomcat's JAVA_OPTS (in tomcat6.conf or similar): 
    JAVA_OPTS="-XX:PermSize=64M -XX:MaxPermSize=256M -Xmx1024m"
  6. Add two system properties to catalina.properties:.
    org.eaglei.repository.home=/opt/eaglei/repo
    derby.system.home=/opt/eaglei/repo
  7. Run the script ${REPO_HOME}/etc/prepare-install.sh
    Note

    Special characters are currently not supported in either the username or password. Using a special character will cause an error. Special characters include punctuation and symbols.

  8. Copy the file${REPO_HOME}/default.configuration.properties into a new file ${REPO_HOME}/configuration.properties and edit it to reflect your installation
  9. Start Tomcat
  10. Run the script ${REPO_HOME}/etc/finish-install.sh
  11. Run the script ${REPO_HOME}/etc/upgrade.sh

...

  1. In the repository admin console, create an "anonymous-ext" repository user with no roles (to be used by the sweet backend services), and a few test users with different roles.
  2. Stop Tomcat
  3. 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:. Note that catalina.properties should already have a common.loader definition, you only need to add the eagle-i configuration directory.
    org.eaglei.home=/opt/eaglei
    common.loader=/opt/eaglei/conf, .....${catalina.base}/lib
  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. Download eagle-i-webapp-sweet-[version].war into Tomcat's webapps directory and rename to sweet.war
  6. Download eagle-i-webapp-help-[version].war into Tomcat's webapps directory and rename help.war
  7. Start Tomcat

...