Changes between Version 122 and Version 123 of instructions

Show
Ignore:
Timestamp:
05/11/11 16:24:46 (8 years ago)
Author:
vjo (IP: 152.3.145.66)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • instructions

    v122 v123  
    44 
    55=== Emulation Mode Setup === 
    6 0. Create user/group orca, and become the user orca. 
     60. Create user/group orca. 
    77{{{ 
    88$ sudo useradd orca 
    99$ sudo groupadd orca 
    10 $ sudo su - orca 
    1110}}} 
    1211 
    13 1. Create a directory /opt/orca, we will refer to it as $ORCA_HOME 
     121. Create a directory /opt/orca, which we will refer to it as $ORCA_HOME. 
    1413{{{ 
    1514$ export ORCA_HOME=/opt/orca 
     
    1716}}} 
    1817 
    19 2. Download the attached [https://geni-orca.renci.org/trac/attachment/wiki/instructions/orca-home-emulation.tar sample emulation configuration] and extract it into $ORCA_HOME. 
     182. Ensure the orca user owns $ORCA_HOME, and become the orca user. 
     19{{{ 
     20$ sudo chown orca:orca $ORCA_HOME 
     21$ sudo su - orca 
     22}}} 
     23 
     24 
     253. Download the attached [https://geni-orca.renci.org/trac/attachment/wiki/instructions/orca-home-emulation.tar sample emulation configuration] and extract it into $ORCA_HOME. 
    2026{{{ 
    2127$ cd $ORCA_HOME 
     
    2329}}} 
    2430 
    25 3. Download our slightly-modified [source:/software/tomcat.tar.gz Tomcat] and extract it into $ORCA_HOME. 
     314. Download our slightly-modified [source:/software/tomcat.tar.gz Tomcat] and extract it into $ORCA_HOME. 
    2632{{{ 
    2733$ cd $ORCA_HOME 
     
    2935}}} 
    3036 
    31 4. Ensure MySQL is running on your system. 
     375. Ensure MySQL is running on your system. 
    3238 
    3339'''NOTE:''' For Mac OS X you can use fink to install mysqld and then  
     
    3844This will make sure mysqld is running as long as you don't exit this shell  
    3945 
    40 5. Follow the instructions in the "Create the database" section of the [wiki:databaseSetup database setup page.] 
     466. Follow the instructions in the "Create the database" section of the [wiki:databaseSetup database setup page.] 
    4147 
    42 6. Ensure that you have an appropriate JVM installed, and the JAVA_HOME environment variable set, as described on the [wiki:Prerequisites software prerequisites page.] 
     487. Ensure that you have an appropriate JVM installed, and the JAVA_HOME environment variable set, as described on the [wiki:Prerequisites software prerequisites page.] 
    4349 
    44 7. Download the binary distribution of the ORCA webapp by following the directions on [wiki:orca-binary-release this page.] As the instructions say, you will want to '''rename the file you download orca.war''' 
     508. Download the binary distribution of the ORCA webapp by following the directions on [wiki:orca-binary-release this page.] As the instructions say, you will want to '''rename the file you download orca.war''' 
    4551 
    46 8. Copy the file named orca.war into the $ORCA_HOME/tomcat/webapps directory (which should exist, if you have followed all steps up to this point correctly). 
     529. Copy the file named orca.war into the $ORCA_HOME/tomcat/webapps directory (which should exist, if you have followed all steps up to this point correctly). 
    4753 
    48 9. Start the container by executing the following command: 
     5410. Start the container by executing the following command: 
    4955{{{ 
    5056$ $ORCA_HOME/tomcat/start.sh 
    5157}}} 
    5258 
    53 10. Log in to your container's [wiki:orca-web-portal portal]. 
     5911. Log in to your container's [wiki:orca-web-portal portal]. 
    5460 
    5561=== Testing Emulation Mode ===