You are viewing a plain text version of this content. The canonical link for it is here.
Posted to lokahi-commits@incubator.apache.org by to...@apache.org on 2006/07/03 15:30:59 UTC

svn commit: r418791 - in /incubator/lokahi/site/trunk: howitworks.html images/lokahi_logo_144_80.png install.html styles/styles.css

Author: toback
Date: Mon Jul  3 08:30:59 2006
New Revision: 418791

URL: http://svn.apache.org/viewvc?rev=418791&view=rev
Log:
more site updates.

Modified:
    incubator/lokahi/site/trunk/howitworks.html
    incubator/lokahi/site/trunk/images/lokahi_logo_144_80.png
    incubator/lokahi/site/trunk/install.html
    incubator/lokahi/site/trunk/styles/styles.css

Modified: incubator/lokahi/site/trunk/howitworks.html
URL: http://svn.apache.org/viewvc/incubator/lokahi/site/trunk/howitworks.html?rev=418791&r1=418790&r2=418791&view=diff
==============================================================================
--- incubator/lokahi/site/trunk/howitworks.html (original)
+++ incubator/lokahi/site/trunk/howitworks.html Mon Jul  3 08:30:59 2006
@@ -22,7 +22,7 @@
     <div id="content">
 		<h1>How Lokahi Works</h1>
 		
-		<img src="images/lokahi-element-diagram.gif" alt="" width="310" height="657" border="0" style="float:left;margin-right:10px">
+		<img src="images/lokahi-element-diagram.gif" alt="Elements of Lokahi" width="310" height="675" border="0" style="float:left;margin-right:10px">
 		
 		<p>Lokahi manages both infrastructure and applications; the two are intertwined, but can be considered more or less separately for the purposes of explanation.</p>
 		<p>The application side is relatively simple; projects have virtual hosts and contexts. Users are assigned to applications.</p>

Modified: incubator/lokahi/site/trunk/images/lokahi_logo_144_80.png
URL: http://svn.apache.org/viewvc/incubator/lokahi/site/trunk/images/lokahi_logo_144_80.png?rev=418791&r1=418790&r2=418791&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/lokahi/site/trunk/install.html
URL: http://svn.apache.org/viewvc/incubator/lokahi/site/trunk/install.html?rev=418791&r1=418790&r2=418791&view=diff
==============================================================================
--- incubator/lokahi/site/trunk/install.html (original)
+++ incubator/lokahi/site/trunk/install.html Mon Jul  3 08:30:59 2006
@@ -23,7 +23,9 @@
 		<h1>Build and Install Instructions</h1>
 		
 		<h2>Requirements</h2>
-		<p>Tomcat 5.5.9, Oracle 9i, JDK 1.5, ant 1.6.5 or later.</p>
+		<ul>
+		<li>Tomcat 5.5.9 is installed, and you know how to configure it</li>		<li>Oracle 9i database is available to you</li>		<li>JDK 1.5</li>		<li>ant 1.6.5 or later</li>
+        </ul>
 		
 		<h2>Build instructions</h2>
 		<h3>SECTION I: Download Source Code</h3>
@@ -32,38 +34,12 @@
 		   http://svn.apache.org/repos/asf/incubator/lokahi/lokahi/trunk/</li>
 		<li>Change directory (cd) to the home directory of lokahi.</li>
 		</ol>
-		<h3>SECTION II: Database Setup (Oracle)</h3>
-		<ol>
-		<li>Change directory to database/ directory.</li>
-		<li>Create the lokahi schema &lt;SCHEMA&gt; in your Oracle database with default tablespace
-		   and enough quota on that tablespace (100 MB is sufficient for install).</li>
-		<li>Run schema_priv.sql as DBA to grant system privileges to &lt;SCHEMA&gt;:
-		   <br>&gt; @schema_priv.sql &lt;SCH&gt;</li>
-		<li>Login from sqlplus as &lt;SCHEMA&gt; and run:
-		   <br>SQL&gt; @install.sql
-		   <br>Install.sql will call recompile.sql to recompile any invalid object and report
-		   install status at the end. Make sure there is no invalid object and no error
-		   message in install.log and recompile.log</li>
-		<li>Create the superuser. Login from sqlplus as &lt;SCHEMA&gt; and run:</li>
-<pre class="code">> @tmc_user_data.sql
-> @tmc_rel_function_user_data.sql</pre>
-		</ol>
-		<h3>SECTION III: Build Software</h3>
+		
+		<h3>SECTION II: Build Software</h3>
 		<ol>
 		<li>Change directory (cd) to the home directory of lokahi.</li>
 		<li>Edit the following properties in the build.properties file:</li>
-<pre class="code">tomcat.home=<YOUR_TOMCAT_HOME>
-app.name=lokahi
-app.virtuahost.name=app.authenticationmodule=org.apache.lokahi.core.common.authentication.NoAuthentication
-console.log.location=
-agent.log.location=
-database.uri=jdbc:oracle:thin:@<DATABASE_SERVER>:<PORT>:<DB_NAME>
-database.user=<SCHEMA>
-database.password=<PASSWORD>
-database.driver=oracle.jdbc.driver.OracleDriver
-inital.instance.name=
-inital.user.name=
-install.location=${tomcat.home}/webapps/</pre>
+<pre class="code">tomcat.home=&lt;YOUR_TOMCAT_HOME&gt;app.name=lokahiapp.virtuahost.name=app.authenticationmodule=org.apache.lokahi.core.common.authentication.NoAuthenticationconsole.log.location=agent.log.location=database.uri=jdbc:oracle:thin:@&lt;DATABASE_SERVER&gt;:&lt;PORT&gt;:&lt;DB_NAME&gt;database.user=&lt;SCHEMA&gt;database.password=&lt;PASSWORD&gt;database.driver=oracle.jdbc.driver.OracleDriverinital.instance.name=inital.user.name=install.location=${tomcat.home}/webapps/</pre>
 		<li>Download external libraries to lib/ directory:</li>
 		   <pre class="code">a. classes12.jar   -- from the oracle website
 b. jdom.jar        -- Jdom version 1.0 from http://www.jdom.org/
@@ -71,16 +47,22 @@
 d. mail.jar        -- from http://java.sun.com/products/javamail/</pre>
 		<li>Verify that JAVA_HOME is properly set to jdk1.5 in your shell.</li>
 		<li>Run ant to build the package.</li>		</ol>
-		
+
 		<h2>Install Instructions</h2>
+		<h3>SECTION III: Database Setup (Oracle)</h3>
+		<ol>
+		<li>Change directory to build/lokahi/database/ directory.		<li>Database Administrator task: Create the lokahi schema &lt;SCHEMA&gt; in your Oracle database with default tablespace and enough quota on that tablespace (100 MB is sufficient for install).</li>		<li>Database Administrator task: Run schema_priv.sql as DBA to grant system privileges to &lt;SCHEMA&gt;:      		<br>&gt; @schema_priv.sql &lt;SCH&gt;</li>		<li>Login from sqlplus as &lt;SCHEMA&gt; and run:      		<br>&gt; @install.sql      		<br>Install.sql will call recompile.sql to recompile any invalid object and report install status at the end. Make sure there is no invalid object and no error message in install.log and recompile.log</li>		<li>Create the superuser. Login from sqlplus as &lt;SCHEMA&gt; and run:      		<br>&gt; @tmc_user_data.sql			<br>You will be prompted to enter a username, password, first name, last name, and email address.  These will be used to create the superuser account.			<br>Then run:    
   		<br>&gt; @tmc_rel_function_user_data.sql</li>		<li>Create the initial instance.      		<br>&gt; @tmc_instance_data.sql			<br>You can add more instances later via      		<br>Administration -&gt; Manage TMC -&gt; Manage Instances -&gt; Select Action -&gt; Add</li>
+		</ol>		
+	
 		<h3>SECTION IV: Agent Install</h3>
 		<ol>
-		<li>Copy the files in ./build/agent to a directory on each server.</li>
-		<li>Start the agent buy running:</li>
-		<pre class="code">$JAVA_HOME/bin/java -classpath $JAVA_HOME/lib/tools.jar:$AGENT_HOME/log4j-1.2.13.jar:$AGENT_HOME/lokahi.jar:$AGENT_HOME/axis.jar:$AGENT_HOME/commons-logging.jar:$AGENT_HOME/commons-discovery-0.2.jar:$AGENT_HOME/jdom.jar:$AGENT_HOME/commons-dbcp-1.2.1.jar:$AGENT_HOME/commons-dbcp-1.2.1.jar:$AGENT_HOME/derby.jar:$AGENT_HOME:/derbyclient.jar:$AGENT_HOME/commons-pool-1.2.jar org.apache.lokahi.core.agent.TMCAgent start</pre>		</ol>
+		<li>Copy the files in $LOKAHI_SOURCE/build/agent to a directory on each server.</li>
+		<li>Start the agent by running:</li>
+		<pre class="code">&gt; $JAVA_HOME/bin/java -classpath  $JAVA_HOME/lib/tools.jar:$AGENT_HOME/axis.jar:$AGENT_HOME/commons-dbcp-1.2.1.jar:$AGENT_HOME/commons-discovery-0.2.jar:$AGENT_HOME/commons-logging.jar:$AGENT_HOME/commons-pool-1.2.jar:$AGENT_HOME/derby.jar:$AGENT_HOME/derbyclient.jar:$AGENT_HOME/jaxrpc.jar:$AGENT_HOME/jdom.jar:$AGENT_HOME/log4j-1.2.13.jar:$AGENT_HOME/lokahi.jar:$AGENT_HOME/saaj.jar:$AGENT_HOME/wsdl4j-1.5.1.jar org.apache.lokahi.core.agent.TMCAgent start</pre>		</ol>
 		<h3>SECTION V: Console Install</h3>
 		<ol>
-		<li>define the context in tomcats server.xml file and start tomcat.</li>
+		<li>Modify the web.xml in the &lt;install.location&gt; and set the JvmHttp parameter to the HTTP port of the jvm.</li>
+		<li>Define the context in tomcats server.xml file and start tomcat.</li>
 		</ol>
 		
 	</div>

Modified: incubator/lokahi/site/trunk/styles/styles.css
URL: http://svn.apache.org/viewvc/incubator/lokahi/site/trunk/styles/styles.css?rev=418791&r1=418790&r2=418791&view=diff
==============================================================================
--- incubator/lokahi/site/trunk/styles/styles.css (original)
+++ incubator/lokahi/site/trunk/styles/styles.css Mon Jul  3 08:30:59 2006
@@ -11,8 +11,8 @@
 max-width:50em;}
 
 dd {
-margin-left:15px;
-margin-bottom:2em;
+margin-left:2em;
+margin-bottom:1.3em;
 }
 
 dt {
@@ -30,37 +30,18 @@
 background-color:#ffffff;
 }
 
-#leftnav {
-float:left;
-width=150px;
-margin:5px 10px 0 0;
-padding-right:.3em;
-border-style:solid;
-border-width:1px;
-border-color:#cecac6;
-background-color:#efeae6;
-text-decoration:none;
+#leftnav {float:left;width:10em;margin:5px 10px 0 0;padding-right:.3em;border-style:solid;border-width:1px;border-color:#cecac6;background-color:#efeae6;text-decoration:none;}#leftnav ul {list-style-type: none;line-height:1.5em;text-align:right;font-family: Arial, Helvetica, sans-serif;
+}#leftnav ul a:link {
+color:#666462;text-decoration: none;
+}#leftnav ul a:visited {
+color:#666462;text-decoration: none;
+}#leftnav ul a:hover {
+color:#4ca038;
+}#leftnav ul a:active {
+color:#4ca038;
+}#content {
+margin-left: 11.2em;padding:0 5px 0 5px;
 }
-
-#leftnav ul {
-list-style-type: none;
-line-height:1.5em;
-text-align:right;
-margin-left:-1.5em;
-font-family: Arial, Helvetica, sans-serif;}
-
-#leftnav ul a:link {color:#666462;
-text-decoration: none;}
-
-#leftnav ul a:visited {color:#666462;
-text-decoration: none;}
-
-#leftnav ul a:hover {color:#4ca038;}
-
-#leftnav ul a:active {color:#4ca038;}
-
-#content {margin-left: 150px;
-padding:0 5px 0 5px;}
 
 .code {
 font-family:'Courier New',fixed-width;