IRMIS

Irmis

Instalation Recipe

  1. install MySQL & setup (set admin password, set user, set user password, set database called irmis, etc)
  2. download and install Java (/home/sysuser/jre-1_5_0_09-linux-i586-rpm.bin)
  3. download and install Mysql connector/j (I installed that in /usr/java/jre1.5.0_09/lib)
  4. download and install irmis somewhere (I installed in /usr/local/irmisBase)
  5. download and install ant 1.6 (apache-ant-1.6.5-bin.zip in /usr/local/apache-ant-1.6.5/)
  6. setup MySQL:
    • mysql -u root -p < ./create_aps_ioc_table.sql
    • mysql irmis -u root -p < ./create_component_enum_tables.sql
    • mysql irmis -u root -p < ./create_component_tables.sql
    • mysql irmis -u root -p < ./create_pv_client_enum_tables.sql
    • mysql irmis -u root -p < ./create_pv_client_tables.sql
    • mysql irmis -u root -p < ./create_pv_enum_tables.sql
    • mysql irmis -u root -p < ./create_pv_tables.sql
    • mysql irmis -u root -p < ./create_shared_enum_tables.sql
    • mysql irmis -u root -p < ./create_shared_tables.sql
    • mysql irmis -u root -p < ./alter_aps_ioc_table.sql
    • mysql irmis -u root -p < ./alter_component_tables.sql
    • mysql irmis -u root -p < ./alter_pv_client_tables.sql
    • mysql irmis -u root -p < ./alter_pv_tables.sql
    • mysql irmis -u root -p < ./alter_shared_tables.sql
    • mysql irmis -u root -p < ./populate_form_factor.sql
    • mysql irmis -u root -p < ./populate_function.sql
    • mysql irmis -u root -p < ./populate_mfg.sql
    • mysql irmis -u root -p < ./populate_component_type_if_type.sql
    • mysql irmis -u root -p < ./populate_base_component_types.sql
    • mysql irmis -u root -p < ./populate_core_components.sql
  7. edit site.build.properties file to reflect the local configuration.
    • db.connection.host=localhost
    •  
    • db.connection.database=irmis
    •  
    • db.connection.url=jdbc:mysql://localhost:3306/irmis
    • db.trust-read-write.username=MySQL user name
    • db.trust-read-write.password=MySQL user password
    • irmis.codebase=http://localhost/irmis2/idt
  8. build irmis as described in the README file:
    • cd db
    • ant deploy
    • cd apps
    • ant deploy
  9. run irmis desktop:
    • cd apps/deploy
    • tar xvf irmisDeploy.tar
    • java -jar irmis.jar
  10. untar various crawlers located at /usr/local/irmisBase/db/deploy as well as make whatever necessary local changes accordingly.