当前位置: 首页 > 工具软件 > ScrumWorks > 使用案例 >

linux下ScrumWorks Basic的安装与配置

宦树
2023-12-01

 

LinuxScrumWorks的安装与配置

 

转载请注明出处:

http://blog.csdn.net/AIXT2006/archive/2009/05/30/4226773.aspx

 

 

 

Ver1.0 by tian    2009-4-22

 

 

 

1       FC6ScrumWorks Basic的安装与配置

1.1      ScrumWorks Basic的下载

http://danube.com/scrumworks/download.htm

scrumworks-1[1].8.3-mac_linux.tar.bz2

jboss-4.0.4.GA.zip

scrumworks-license.zip

 

The ScrumWorks Basic Server will run on popular Linux distributions including Redhat, Suse, Debian, and Ubuntu.

 

Installation of the Java 2 Development Kit (JDK) version 5.0 is a pre-requisite for installation on Linux platforms. To download JDK, please see the Sun web site:

http://java.sun.com/javase/downloads/index_jdk5.jsp

 

JBoss Application Server 4.0.4

http://danube.com/hosted/install/basic/1.8.3/jboss-4.0.4.GA.zip

安装步骤参考:

http://www.danube.com/docs/scrumworks/latest/linuxinstall.html

 

1.2      JDK环境的安装

1.2.1    jdk1.4卸载

由于FC6中自带安装了jdk1.4的,所以在安装jdk1.5前我把jdk1.4的卸了,步骤如下:

1.打开终端输入#rpm -qa | grep gcj,其现实内容有:

  java-1.4.2-gci-compat.........

  java-1.4.2-gcj-compat-devel.....(具体忘了是什么了,反正有两个java开头的文件)

2.卸载

 #rpm -e --nodeps java-1.4.2-gci... (利用rpm -e --nodeps 命令删除上面查找的内容)

此时jdk1.4已被卸了。

1.2.2    jdk1.5安装与卸载

  1. 从网站上下载jdk1.5(jdk-1_5_0_18-linux-i586-rpm.bin ),通过FTP上传到linux系统的/usr目录下

  2.linux中切换到 /usr目录下,修改jdk1.5的使用权限:

#chmod  u+x  jdk-1_5_0_18-linux-i586-rpm.bin

  3.解压并安装:#./ jdk-1_5_0_18-linux-i586-rpm.bin (默认安装在/usr/java)

  4.环境变量配置:

    #vi  /etc/profile

    在该profile文件中添加:

JAVA_HOME=/usr/java/jdk1.5.0_18

JRE_HOME=/usr/java/jdk1.5.0_18/jre

PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin

CLASSPATH=.:$JAVA_HOME/lib/jt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib

export JAVA_HOME JRE_HOME PATH CLASSPATH

添加完毕保存退出,运行 #source /etc/profile 导出环境变量。

运行  #java –version

    显示 java version "1.5.0_18" (jdk1.6安装成功)

   卸载rpm版的jdk

   #rpm -qa|grep jdk

   显示:jdk-1.5.0_18-fcs

   卸载:#rpm -e --nodeps jdk-1.5.0_18-fcs

1.3      Scrumworks Basic的安装

解压scrumworks-1[1].8.3-mac_linux.tar.bz2

# tar -xjvf scrumworks-1[1].8.3-mac_linux.tar.bz2

 

将解压后的scrumworks-1.8.3目录复制到/usr目录下,并将jboss-4.0.4.GA.zip文件复制到/usr/ scrumworks-1.8.3目录下,进入scrumworks-1.8.3目录,运行:

#./setup.sh

安装过程中用户和群组都为root.安装成功后,scrumworks会自动启动。

 

配置文件路径:/etc/init.d/scrumworks_init.sh

服务开始:sh /etc/init.d/scrumworks_init.sh start

服务停止:sh /etc/init.d/scrumworks_init.sh stop

服务重启:sh /etc/init.d/scrumworks_init.sh restart

帮助:sh /etc/init.d/scrumworks_init.sh help

 

1.4      Linux下运行ScrumWorks Basic客户端

firefox打开 http://10.13.88.54:8080/scrumworks/ ,点击

Launch ScrumWorks Basic Desktop Client 会链接到一个.jnlp文件,如果要正常打开,需要设置FireFoxjava插件,参考Download Java http://java.com/en/download/index.jsp),设置链接:

ln -s /usr/java/jdk1.5.0_18/jre/plugin/i386/ns7/libjavaplugin_oji.so

 

也可直接用javaws打开:

javaws http://10.13.88.54:8080/scrumworks/jnlp/scrumworks.jnlp

1.5      Scrumworks Basic的卸载

Server Uninstall Instructions for Linux

   1. Stop the ScrumWorks Basic Server

          * If it's running in the foreground, Ctrl-C stops it.

          * If it is running as a daemon:

            #/etc/init.d/scrumworks_init.sh stop

   2. Copy the database if you wish to keep the data

   3. Remove the links from the runlevels in which they are installed

   4. Remove the ScrumWorks Basic Server directory

 

2       RHEL5U3Scrumworks basic的安装与配置

RPM安装下面这些包:

libXp-1.0.0-8.1.el5.i386.rpm

java-1.5.0-sun-1.5.0.17-1jpp.2.el5.i586.rpm

java-1.5.0-sun-devel-1.5.0.17-1jpp.2.el5.i586.rpm

java-1.5.0-sun-plugin-1.5.0.17-1jpp.2.el5.i586.rpm

环境变量配置:

    #vi  /etc/profile

    在该profile文件中添加:

JAVA_HOME=/usr/lib/jvm/java-1.5.0

JRE_HOME=/usr/lib/jvm/java-1.5.0/jre

JAVAWS_HOME=$JRE_HOME/javaws

PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin:$JAVAWS_HOME

CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib

export JAVA_HOME JRE_HOME PATH CLASSPATH

添加完毕保存退出,运行 #source /etc/profile 导出环境变量。

Scrumworks basic的安装同1.3

 

3       ScrumWorks Pro的安装与配置

(待完善)

 

参考文献

[1]          Scrumworks  userguide.html

[2]          linuxjdk的卸载和安装.txt

 

 类似资料: