Difference between revisions of "GCube Portal Installation"

From Gcube Wiki
Jump to: navigation, search
Line 10: Line 10:
  
 
==Download the gCube Portal Bundle==
 
==Download the gCube Portal Bundle==
'''gCube Portal 2.0''' is bundled with [http://tomcat.apache.org/index.html tomcat6] and the latest stable relase of [https://gcore.wiki.gcube-system.org/gCube/index.php/Main_Page gCube Core Distribution (gCore)] and [https://gcube.wiki.gcube-system.org/gcube/index.php/ASL gCube ASL (Application Support Layer)].
+
'''gCube Portal 2.0''' is bundled with [http://tomcat.apache.org/index.html tomcat6] and the latest stable relase of [https://gcore.wiki.gcube-system.org/gCube/index.php/Main_Page gCube Core Distribution (gCore)] and [https://gcube.wiki.gcube-system.org/gcube/index.php/ASL gCube Application Support Layer (ASL)].
  
 
All you need to do is the following:
 
All you need to do is the following:
 
* Download the latest version of the Portal-Bundle from [http://dl.dropbox.com/u/15737233/org.gcube.portal.portal-bundle-2.0.0-0.tar.gz here]
 
* Download the latest version of the Portal-Bundle from [http://dl.dropbox.com/u/15737233/org.gcube.portal.portal-bundle-2.0.0-0.tar.gz here]
 
* Unzip Cube Portal bundle to a desired location on your machine
 
* Unzip Cube Portal bundle to a desired location on your machine
* Set $CATALINA_HOME environment variable to tomcat's home directory (tomcat-6.0.29 in the bundle)
+
* Add to the ~/.bashrc file the following:
 +
** clean CLASSPATH: "export CLASSPATH="
 +
** add CATALINA_HOME evn. variable (the home directory of tomcat)
 +
** add JAVA_HOME env. variable (the home directory of java)
 +
** add JRE_HOME env. variable (JAVA_HOME/jre)
 +
** add GLOBUS_LOCATION env. variable (the home directory of gCore)
 +
** add CATALINA_OPTS env. variable "export CATALINA_OPTS="-DGLOBUS_LOCATION=$GLOBUS_LOCATION -Xmx1000m -Xms1000m -Dlog4j.configuration=file://$CATALINA_HOME/portal-log4j.properties"
 +
** add CATALINA_PID env. variable "export CATALINA_PID=~/pid.txt"
 +
 
 +
After this, the bottom part of your ~/.bashrc file may look like the following
 +
<code>
 +
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.22
 +
export JRE_HOME=$JAVA_HOME/jre
 +
export CATALINA_HOME=~/Portal-Bundle/tomcat-6.0.29/
 +
export CATALINA_BASE=$CATALINA_HOME
 +
export CATALINA_TMPDIR=$CATALINA_HOME/temp
 +
 
 +
export CLASSPATH=
 +
export GLOBUS_LOCATION=~/Portal-Bundle/gCore
 +
export GLOBUS_OPTIONS="-DX509_USER_PROXY=$X509_USER_PROXY"
 +
export CATALINA_OPTS="-DGLOBUS_LOCATION=$GLOBUS_LOCATION -Xmx1000m -Xms1000m -Dlog4j.configuration=file://$CATALINA_HOME/portal-log4j.properties"
 +
 
 +
export CATALINA_PID=~/pid.txt
 +
 
 +
</code>

Revision as of 20:14, 17 January 2012

!!Work in progress wiki page!! (Jan 17th 2012)

gCube adopts Liferay Portal as enabling portal technology for its Ecosystem Gateway. The latest version available is gCube Portal-Bundle 2.0 (Jan 2012) built over Liferay Portal 6.0.6 (Bunyan)

Installing the gCube Portal

Starting from this 2.0 release, installing the gCube Portal is a very simple process and takes less than five minutes to complete. We've been working hard to make this process as easiest and quicker as possible.

Supported Operating Systems are Linux and MacOSX. With Java6 installed.

Download the gCube Portal Bundle

gCube Portal 2.0 is bundled with tomcat6 and the latest stable relase of gCube Core Distribution (gCore) and gCube Application Support Layer (ASL).

All you need to do is the following:

  • Download the latest version of the Portal-Bundle from here
  • Unzip Cube Portal bundle to a desired location on your machine
  • Add to the ~/.bashrc file the following:
    • clean CLASSPATH: "export CLASSPATH="
    • add CATALINA_HOME evn. variable (the home directory of tomcat)
    • add JAVA_HOME env. variable (the home directory of java)
    • add JRE_HOME env. variable (JAVA_HOME/jre)
    • add GLOBUS_LOCATION env. variable (the home directory of gCore)
    • add CATALINA_OPTS env. variable "export CATALINA_OPTS="-DGLOBUS_LOCATION=$GLOBUS_LOCATION -Xmx1000m -Xms1000m -Dlog4j.configuration=file://$CATALINA_HOME/portal-log4j.properties"
    • add CATALINA_PID env. variable "export CATALINA_PID=~/pid.txt"

After this, the bottom part of your ~/.bashrc file may look like the following export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.22 export JRE_HOME=$JAVA_HOME/jre export CATALINA_HOME=~/Portal-Bundle/tomcat-6.0.29/ export CATALINA_BASE=$CATALINA_HOME export CATALINA_TMPDIR=$CATALINA_HOME/temp

export CLASSPATH= export GLOBUS_LOCATION=~/Portal-Bundle/gCore export GLOBUS_OPTIONS="-DX509_USER_PROXY=$X509_USER_PROXY" export CATALINA_OPTS="-DGLOBUS_LOCATION=$GLOBUS_LOCATION -Xmx1000m -Xms1000m -Dlog4j.configuration=file://$CATALINA_HOME/portal-log4j.properties"

export CATALINA_PID=~/pid.txt