技术开发 频道

ClearCase for Linux安装

    【IT168 技术文章】

    ClearCase for Linux安装攻略 Clearcase是Rational公司(2003年被IBM收购)的一款重量级的软件配置管理(SCM Software Configuration Managemen)工具。说起SCM大家可能有点陌生,但是提起版本控制,Check In,Check Out操作,大家都会觉得再熟悉不过了。当然不同于CVS和VSS,Clearcase涵盖的范围包括:版本控制、建立管理、工作空间管理和过程控制。从最初的软件配置计划,到配置项的确立,从变更控制到版本控制,它贯穿于整个软件生命周期。

    因为项目需要,我在搭建一个支持Windows,Unix的混合ClearCase环境,查看了一些文档,现把一些收获分享给大家。安装的平台是Redhat9。

    ClearCase支持现有的绝大多数操作系统,从

    http://www-1.ibm.com/support/docview.wss?uid=swg21136950

    中可以获得ClearCase对操作系统的支持信息。

    对Linux,ClearCase已经支持到最新的Red Hat Enterprise Linux 3.0

    前提:

    1,下载Clearcase Clien 5.0 for Redhat Linux

    http://www7b.software.ibm.com/dl/RATL-CLEARCASE-UPG/RATL-CLEARCASE-UPG-p

    下载Rational ClearCase V2002.05.00版本,文件是C502JNA.tar.Z(需要IBM 的注册帐号)。

    2,下载最新的Patch

    http://www.rational.com 选择"Software support" + "Upgrades" + "IBM Rational downloads and licensing center" ) 选择 "Available Patches and service releases" 输入 "clearcase redhat" 。根据上面的操作系统支持列表,选择你安装平台所需的Patch。这里我们下载最新两个Patch:p2002.05.00-31,p2002.05.00-32。

    3,安装 compat-db-xxx包(rpm -ihv compat-db-3.3.11-4.rpm)。

    4,安装Kernel Source。

    安装:

    1,准备目录结构:

    mkdir /lib/modules/fs

    mkdir /opt/Clearcase

    把下载的 C502JNA.tar.Z,clearcase_p2002.05.00-31.rhat_x86.tar,clearcase_p2002.05.00-32.rhat_x86.tar

    拷贝到/opt/Clearcase目录下

    2,解压缩软件

    uncompress C502JNA.tar.Z

    tar -xf C502JNA.tar

    会在当前目录下建立v5.0 目录

    3,解压缩Patch

    gzip -d clearcase_p2002.05.00-31.rhat_x86.tar

    mkdir ./v5.0/rhat_x86/patches

    mv clearcase_p2002.05.00-31.rhat_x86.tar ./v5.0/rhat_x86/patches

    cd ./v5.0/rhat_x86/patches

    tar xf clearcase_p2002.05.00-31.rhat_x86.tar

    对于clearcase_p2002.05.00-32.rhat_x86.tar执行同样的操作

    4,Apply Patch

    以root登陆,

    cd clearcase_p2002.05.00-31/install

    ./apply_patch

    cd ../../clearcase_p2002.05.00-32/install

    ./apply_path

    5,执行Site Preparaion

    cd /opt/Clearcase/v5.0/rhat_x86/install

    ./site_prep

    CODE:

    Updating release area '/opt/Clearcase/v5.0/rhat_x86'

    For any of the queries that follow, help is available

    by entering 'help', 'h' or '?' at the prompt.

    The host name of the ClearCase license host must match the host

    name returned by the '/bin/uname -n' command on the license host and

    it must be resolvable by the 'gethostbyname(3N)' function.

    Site default ClearCase license host: [Unknown] 此处输入License服务器的机器名或IP地址

    Site default ClearCase registry host: [Unknown] 此上输入Clearcase服务器的机器名或IP地址

    Site default ClearCase registry data backup host: [Unknown]

    Site default ClearCase registry region: [Unknown] 输入Region名

    Would you like to configure (enable for some host(s)) setuid operation [no]

    Would you like ClearCase Remote Administration to be enabled on clients [no]

   

0
相关文章