Difference between revisions of "D4Science Portal Installation"

From Gcube Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Image:Alert_icon2.gif]] ''THIS SECTION OF GCUBE DOCUMENTATION IS CURRENTLY UNDER UPDATE.''
 
[[Image:Alert_icon2.gif]] ''THIS SECTION OF GCUBE DOCUMENTATION IS CURRENTLY UNDER UPDATE.''
 +
== Install gCore ==
 +
In order to install D4Science Portal, you need to install gCore. You can download the last version of gCore from [http://software.d4science.research-infrastructures.eu/index.jsp here].
 +
 +
== Install Tomcat ==
 +
If there is no tomcat installation on your node, you need to download and install it. We sugest that you use tomcat v. 5.0.x or 5.5.x.
 +
You can download tomcat from [http://tomcat.apache.org/ here].
 +
 +
== Setup Tomcat ==
 +
In order to enable tomcat to consume WSRF services, you have to apply some changes on tomcat's files:
 +
# modify $CATALINA_HOME/bin/setclasspath.sh => Remove the line where the classpath is reset (CLASSPATH=)
 +
  
 
The new D4Science portal requires a Gridsphere 3.1. Installation. You may decide to install it form scratch (by downloading a clean version of Gridsphere 3.1 from [http://eticssoft.web.cern.ch/eticssoft/repository/externals/gridsphere/3.1/src/ ETICS] ) or ask CNR to give you a tar.gz containing the customized version of the Portal.
 
The new D4Science portal requires a Gridsphere 3.1. Installation. You may decide to install it form scratch (by downloading a clean version of Gridsphere 3.1 from [http://eticssoft.web.cern.ch/eticssoft/repository/externals/gridsphere/3.1/src/ ETICS] ) or ask CNR to give you a tar.gz containing the customized version of the Portal.
  
If you download it from ETICS, you will also need to apply the themes patch (found  
+
If you download it from ETICS, you will also need to apply the themes patch (found [http://software.d4science.research-infrastructures.eu/themes.tgz here])
  
 
'''This guide assume you downloaded a clean version of Gridsphere 3.1'''
 
'''This guide assume you downloaded a clean version of Gridsphere 3.1'''

Revision as of 16:47, 21 October 2008

Alert icon2.gif THIS SECTION OF GCUBE DOCUMENTATION IS CURRENTLY UNDER UPDATE.

Install gCore

In order to install D4Science Portal, you need to install gCore. You can download the last version of gCore from here.

Install Tomcat

If there is no tomcat installation on your node, you need to download and install it. We sugest that you use tomcat v. 5.0.x or 5.5.x. You can download tomcat from here.

Setup Tomcat

In order to enable tomcat to consume WSRF services, you have to apply some changes on tomcat's files:

  1. modify $CATALINA_HOME/bin/setclasspath.sh => Remove the line where the classpath is reset (CLASSPATH=)


The new D4Science portal requires a Gridsphere 3.1. Installation. You may decide to install it form scratch (by downloading a clean version of Gridsphere 3.1 from ETICS ) or ask CNR to give you a tar.gz containing the customized version of the Portal.

If you download it from ETICS, you will also need to apply the themes patch (found here)

This guide assume you downloaded a clean version of Gridsphere 3.1

Applications Needed

Apache Tomcat 5.5.26. You also need to download a org.postgresql.Driver (download jdbc driver from http://jdbc.postgresql.org/).

Install the GS Portal

You may want to follow instructions from http://www.gridsphere.org/

You should also place the required JDBC driver jar file in the $CATALINA_HOME/common/lib directory of Tomcat.


First Run Of the Portal

GS will ask you to decide which database you want to make it using. D4Science is going to use a centralized PostgreSQL DB. Ask me directly for its location and connection data.

Changing Gridsphere DB Location once portal is installed

You should stop Tomcat, change the file located in $portaluser/.gridsphere/database/hibernate.properties Startup Tomcat

For info on the Authorative LDAP DB please refer to the next section in this guide.