Duangw

Oracle 7.X for SCO Opneserver 5.X安装

索引:

  1. 系统要求
  2. 设置环境root用户部分
  3. 设置环境oracle用户部分
  4. 设置环境变量
  5. 开始安装

1.系统要求

(1).硬件要求

CPU:80486,80586;

内存:32M RAM以上;

磁盘空间:600M;

数据库空间:70M。

(2).软件要求

操作系统:SCO UNIX 3.2.5.0.4 or ODT 5.0.4。

补丁:

  1. SCO OpenServer 5.0.4 Release Supplement(v 5.0.0.d), patch rs500d from SCO's anonymous ftp site:

    ftp.sco.com:/Supplements/rs500/*.

    Provides new features and fixes for components of the operating system。

  2. HTFS Buffer Cache Supplement, patch oss434a from SCO's anonymous ftp site:

    ftp.sco.com:/SLS/oss434a.Z or

    ftp.sco.com:/SLS/oss434a.ltr.Z

    A new HTFS driver that avoids a deadlock condition which can cause OpenServer 5.0.4 to hang。

  3. SCO Networking Supplement Release, net100 available on SCO's anonymous ftp site:

    ftp.sco.com:/net100/*

    Provides new features and fixes for networking components of the operating system。

  4. Motif Menu Traversal Supplement, oss430a from SCO's anonymous ftp site:

    ftp.sco.com:/SLS/oss430a.Z, or

    ftp.sco.com:/SLS/oss430a.ltr.Z

    A new Motif library which does not re-order the child list of a menu bar, when a child is marked as a help widget。

  5. MF COBOL/2 r3.2 compiler patch, article number 1741, available from MF COBOL site via FAX back (415) 496 7170。

    This patch resolves the undefined symbols while compiling on OpenServer 5.0.4。

  6. COFF Linker supplement 5.0.4 OSS459a from SCO's anonymous ftp site: ftp.sco.com/SLS/OSS459a。

    This supplement is needed for compiling Oracle products on SCO OpenServer 5.0.4。

注意:在SCO 5.0.5上至少要安装OSS459A。

 

2.设置环境root用户部分

(1).配置内核参数

建议值:

SHMMAX    20971520

SHMMIN    1

SHMMNI    100

SEMMNS    60

ULIMIT    2,097,152

SEMMNI    20

(2).安装补丁

见前面的“软件要求”。

(3).建立组

建立两个组:dba和oper。

(4).建立oracle用户

用户名:oracle;

组:dba;

shell: /bin/sh、/bin/csh、/bin/ksh。

 

3.设置环境oracle用户部分

设置权限

umask 022。

 

4.设置环境变量

必须设置的:

ORACLE_HOME  u01/app/oracle/product/734
ORACLE_SID    test
ORACLE_TERM  vt100
PATH          .:$ORACLE_HOME/bin:/usr/local/bin
SRCHOME      must be undefined while running the Installer

可能设置的:

ORA_CSM_MODE      line
LD_LIBRARY_PATH    $ORACLE_HOME/lib:/usr/lib
ORA_NLS32     $ORACLE_HOME/ocommon/nls/admin/data
ORACLE_BASE        u01/app/oracle
ORACLE_DOC         $ORACLE_BASE/doc
ORACLE_PATH        .:$ORACLE_HOME/bin:/bin:/usr/bin:/usr/local/bin
TMPDIR              /tmp
TWO_TASK      must be undefined while installing software
DEF_INSTALL         TRUE

 

5.开始安装

(1).Mount CDROM
(2).执行rootpre.sh

以oracle用户登录,执行:

$ su root
# cd mount_point_directory/orainst
# ./rootpre.sh
# exit
$
(3).运行the Installer

以oracle登录;

$ cd mount_point_directory/orainst
$ ./orainst /c

先安装oracle server,成功后再装别的部件。

(4).执行root.sh

安装完毕,以root权限执行:

# cd  $ORACLE_HOME/orainst
# sh ./root.sh