日期:2014-05-16  浏览次数:20652 次

linux下ScrumWorks Basic的安装与配置

?

linux下ScrumWorks Basic的安装与配置
[引:http://hi.baidu.com/robin520/blog/item/6aa3922a1627be97033bf6ca.html]

?

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目录