Changes between Version 2 and Version 3 of Deploying

Show
Ignore:
Timestamp:
01/22/09 18:06:03 (10 years ago)
Author:
yxin (IP: 152.54.9.65)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Deploying

    v2 v3  
    77 
    88== Download the ORCA tar ball == 
    9  * The top level directory is named "opt". 
     9 * '''opt''' top level directory. 
    1010 * '''opt/orca''' contains the ORCA source code and configuration. 
    1111 * '''opt/tomcat''' contains the customized Tomcat in order to run ORCA. 
    12  * '''opt/config''' contains the default configuration file to run ORCA (config.xml) and the associated Mysql database.  
     12 * '''opt/software''' contains a copy of the ANT and Maven  
     13 * '''environment''' sets up the environment in order to compile and deploy ORCA with default tools installation location 
     14 * '''opt/config''' contains the default configuration file to run ORCA (config.xml) and the associated Mysql database.   
     15   * '''config.xml''': default orca configuration that would be copied to $ORCA_WEB/trunk/local 
     16   * '''duke.images.sql''': default Mysql configuration for the VM image. 
     17   * '''duke.inventory.sql''': default Mysql configuration with 2 inventory machines 
     18 * '''keytool_repo.sh''' creates the keys in order to talk the Maven remote repository in Renci (https://geni-orca.renci.org/maven) 
     19   * the default user is "geni-orca", a sudoer. 
     20 * '''install.sh''' is a simple script to install the ORCA Master and start the Automat Web GUI for ORCA  
     21 
     22== Install ORCA == 
     23 * tar -xzf orca.tar.gz 
     24 * cd opt 
     25 * source environment 
     26 
     27== Prepare the Mysql database == 
     28 * /etc/init.d/mysqld start 
     29 * mysql -u root -p 
     30    * [enter your admin password] 
     31    * >grant all privileges on ${ORCA_DB_NAME}.* to '${ORCA_DB_USER}'@'$HOST' identified by '${ORCA_DB_USER_PASSWORD}'; 
     32    * >drop database if exists orca; 
     33    * >create database orca; 
     34    * >USE `orca`; 
     35    * >exit; 
     36 * ./database.sh (The default password for user 'orca' is empty, as specified in 'environment') 
     37 
     38 
     39   
     40 
     41== Compile and run ORCA 
     42 * ./keytool_repo.sh 
     43 * ./install.sh 
     44 
     45== Stop ORCA == 
     46 * cd $CATALINA_HOME 
     47 * ./stop.sh 
     48 
     49== Modify the default configuration ==