Version 4 (modified by yxin, 10 years ago)

--

Download and install following packages

  • Sun JAVA 1.5.0_15
  • Ant 1.7.1
  • Maven 2.1.0-M1
  • maven-ant-tasks-2.0.9.jar into $ANT_HOME/lib
  • Mysql_server

Download the ORCA tar ball

  • opt top level directory.
  • opt/orca contains the ORCA source code and configuration.
  • opt/tomcat contains the customized Tomcat in order to run ORCA.
  • opt/software contains a copy of the ANT and Maven
  • environment sets up the environment in order to compile and deploy ORCA with default tools installation location
  • opt/config contains the default configuration file to run ORCA (config.xml) and the associated Mysql database.
    • config.xml: default orca configuration that would be copied to $ORCA_WEB/trunk/local
    • duke.images.sql: default Mysql configuration for the VM image.
    • duke.inventory.sql: default Mysql configuration with 2 inventory machines
  • keytool_repo.sh creates the keys in order to talk the Maven remote repository in Renci (https://geni-orca.renci.org/maven)
    • the default user is "geni-orca", a sudoer.
  • install.sh is a simple script to install the ORCA Master and start the Automat Web GUI for ORCA

Install ORCA

  • tar -xzf orca.tar.gz
  • cd opt
  • source environment

Prepare the Mysql database

  • /etc/init.d/mysqld start
  • mysql -u root -p
    • [enter your admin password]
    • >grant all privileges on ${ORCA_DB_NAME}.* to '${ORCA_DB_USER}'@'$HOST' identified by '${ORCA_DB_USER_PASSWORD}';
    • >drop database if exists orca;
    • >create database orca;
    • >USE orca;
    • >exit;
  • ./database.sh (The default password for user 'orca' is empty, as specified in 'environment')

== Compile and run ORCA

  • ./keytool_repo.sh
  • ./install.sh

Stop ORCA

  • cd $CATALINA_HOME
  • ./stop.sh

Attachments