Win2000/XP下Globus安装步骤

类别:.NET开发 点击:0 评论:0 推荐:
 

Win2000/XPGlobus安装步骤


//----------------------------------------------

//ver 1.0

//by Salmon

//2004-10-29 9:08

//根均http://www.bigdogsoftware.org/修改、简化

//----------------------------------------------


第一步、准备工作


创建目录

create GLOBUS_ROOT //例如 :D:\GLOBUS

create GLOBUS_ROOT\bin

create GLOBUS_ROOT\download


第二步、下载所需程序包到GLOBUS_ROOT\bin

jdk-1_5_0-windows-i586.exe
(from http://java.sun.com/j2se/1.5.0/download.jsp)

apache-ant-1.6.2
(from http://ant.apache.org/bindownload.cgi)

jakarta-tomcat-5.0.28.zip
(from http://jakarta.apache.org/tomcat/index.html)

ogsa-3.2.1.zip
(from http://www-unix.globus.org/toolkit/download.html)


第三步、设置环境变量和路径


GLOBUS_ROOT = <GLOBUS_ROOT>

ANT_HOME =%GLOBUS_ROOT%\apache-ant-1.6.2

JAVA_HOME =%GLOBUS_ROOT%\JDK1.5.0

GLOBUS_LOCATION=%GLOBUS_ROOT%\ogsa-3.2.1

CATALINA_HOME=%GLOBUS_ROOT%\tomcat5


在PATH中添加

%JAVA_HOME%\bin;%ANT_HOME%\bin;%GLOBUS_LOCATION%\bin;%GLOBUS_ROOT\bin;


第四步、安装JDK5.0


运行jdk-1_5_0-windows-i586.exe,将安装目录设置为%JAVA_HOME%


第五步、安装Apache Ant 到 %ANT_HOME%


cd %GLOBUS_ROOT%

jar -xf download\apache-ant-1.6.2-bin.zip


第六步、安装Tomcat5


unzip jakarta-tomcat-5.0.28.zip to %CATALINA_HOME%

>cd %CATALINA_HOME%\bin

>sevice.bat install

修改 D:\GLOBUS\jakarta-tomcat-5.0.28\conf\tomcat-users.xml
如下


<?xml version='1.0' encoding='utf-8'?>

<tomcat-users>

<role rolename="manager"/>

<role rolename="admin"/>

<user username="both" password="tomcat" roles="admin,manager"/>

<user username="manager" password="tomcat" roles="manager"/>

<user username="admin" password="tomcat" roles="admin"/>

</tomcat-users>



>net start tomcat5

访问 http://localhost:8080 测试Tomcat


第七步、安装GLOBUS


unzip ogsa-3.2.1 to %GLOBUS_LOCATION%

>cd %GLOBUS_LOCATION%

>ant setup

>ant -Dtomcat.dir=%CATALINA_HOME% deployTomcat

>net stop tomcat5

>net start tomcat5

>ant gui

本文地址:http://com.8s8s.com/it/it43019.htm