Operational Steps


Apache-Tomcat configuration

Configure Apache to talk with Tomcat through port 80.
For more details on Apache-Tomcat configuration read the how-to or download and adapt to your needs this preset configuration.

Mysql server configuration

-

start mysql server

- connect as db_administrator (root)
- create grace schema and grace_admin user and grant to grace_admin altering privileges on grace (or use the self configuring script)
- as grace_admin, create tables and import data (or use this script to perform such actions)
GRACE Application Installation
- login to your grid User Interface as  <UIuser>
- download grace.rpm (Please contact GRACE Support for information on how to get it)

-

install grace.rpm by issuing as root the command 
     %>rpm -ivh grace.rpm

-

add to ~/.bash_profile the following instructions

     export JAVA_HOME='/path/to/java'
     export CATALINA_HOME='/path/to/jakarta-tomcat/directory'
     export PATH=$PATH:$JAVA_HOME/bin:$CATALINA_HOME/bin

- logout, and login again as < UIuser> or simply
     %>su - <UIuser>
- edit  /etc/grace/feed.properties  if you wish to have a different filesystem structure (please note that you will have to create the tree yourself)
- copy /var/grace.xml  into  $CATALINA_HOME/conf/Catalina/localhost/
and edit this file to meet your directory tree
Start GRACE Application
Start GRACE Application by running the following commands:
- if not already running, start  mysql by issuing as root
   %>service mysql start
- start  tomcat by issuing as <UIuser>
   %>service tomcat start
   (or    sh $CATALINA_HOME/bin/catalina.sh start)
- start  http server by issuing as root 
   %>service httpd start
- Connect to http://localhost/grace
... HAPPY GRACELING!!!

At the end of the installation the following files should result  installed:

 

  /etc/grace/
/etc/grace/conf/policies
/etc/grace/conf/sources/misc
/etc/grace/conf/sources
/etc/grace/conf/clean_policies
/etc/grace/conf/templates
/etc/grace/conf
/etc/grace/templates
/var/grace/grace.xml
/var/grace/logs
/var/grace/lucene-index
/var/grace/contents/categorization-engine/out
/var/grace/contents/categorization-engine
/var/grace/contents/content-engine/in
/var/grace/contents/content-engine/out
/var/grace/contents/content-engine
/var/grace/contents
/var/grace/thesauri
/var/grace/schema/src/ccs
/var/grace/schema/src/pacs
/var/grace/schema/src
/var/grace/schema/xml
/var/grace/schema

Back to >> Application Installation and Configuration