• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

原创:oracle7.3.4 for openserver 507的安装!

发布: 2007-6-08 22:43 | 作者: seanhe | 来源: | 查看: 28次 | 进入软件测试论坛讨论

领测软件测试网
1. 调SCO系统参数
   调整系统核心参数
# /etc/conf/bin/idtune NBUF 20000 
# /etc/conf/bin/idtune NHBUF 262144
# /etc/conf/bin/idtune NMPBUF 500
# /etc/conf/bin/idtune MAXUP 300
# /etc/conf/bin/idtune SEMMNI 70
# /etc/conf/bin/idtune SHMMAX 共享内存看实际情况来调整
 修改完毕
# /etc/conf/cf.d/link_unix
 从新启动系统
# sync
# reboot

2.创建oracle用户和dba组
  指明Oracle用户的根目录(例如:/u/oracle)
指明用户属于dba组

3.编辑oracle用户的.profile
 以oracle用户登陆编辑profile文件,增加以下内容:
ORACLE_BASE=/u/oracle
ORACLE_HOME=/u/oracle/product/734
ORACLE_SID=oracle
ORACLE_TERM=ansi
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib
ORACLE_NLS32=$ORACLE_HOME/ocommon/nls/admin/data
ORACLE_PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/opt/bin:/usr/lbin:.
ULIMIT=2297152
TERM=ansi
TMPDIR=/u/tmp
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:/opt/bin:/usr/lbin:.
export ORACLE_BASE ORACLE_HOME ORACLE_SID
export ORACLE_TERM LD_LIBRARY_PATH
export ORACLE_NLS32 ORACLE_PATH ULIMIT TERM TMPDIR PATH
NLS_LANG=AMERICAN_AMERICA.ZHS16CGB231280 
export NLS_LANG
 退出oracle用户登陆。

4.安装前准备
#mkdir /u/tmp
#chmod 777 /u/tmp
编辑/etc/services文件修改:
#vi /etc/services
#ncube-lm        1521/tcp    #nCube License Manager  将这一行注释掉
listener        1521/tcp     添加一行
ncube-lm        1521/udp    #nCube License Manager

5.开始安装
插入Oracle 7.3.4 Enterprise Edition光盘,开始安装
用root用户登陆装载光盘:
#mount –f RCKRDG,lower /dev/cd0 /mnt
#exit
退出root用户,以oracle用户登陆:
$cd /mnt/orainst
$./orainst

a. 当提示 Select the installation method,
       either Default Install or Custom Install, and whether
       you want to view the Readme files:
选择:
       [   ] Default Install
       [ * ] Custom Install
       [   ] Display readme Files for this Release
b. 提示Select the Installer activity:
选择默认:
       (o) Install, Upgrade, or De-Install Software
       (  Create/Upgrade Database Objects
       (  Perform Administrative Tasks
c. 提示Select the Installer option:
     Note: there are two different Install New Product options.
选择:
     Install New Product - Create DB Objects
     [color=red:e817d958db]Install New Product [/color:e817d958db]- Do Not Create DB Objects[/color]
     Add/Upgrade Software
     Build Oracle7 Staging Area
     Install Documentation Only
     De-Install Software
d. 提示Confirm, change, or enter values for the environment variables listed:
选择:
     ORACLE_BASE:     /u/oracle
     ORACLE_HOME:     /u/oracle/product/734
e. 提示Confirm (or Change) Log File Location:
If current versions of these log files exist in these locations, they will       be archived and reinitialized.  Select Help for more details.
选择:
     Installer Log:    /u/oracle/product/734/orainst/install.l
         SQL Log:         /u/oracle/product/734/orainst/sql.log
         Makefile Log:    /u/oracle/product/734/orainst/make.log
          OS Log:         /u/oracle/product/734/orainst/os.log
f. 提示 Your platform requires the root user to perform certain pre-        
        installation OS preparation.  The root user should run the shell    
        script 'rootpre.sh' before you proceed with Oracle installation.    
        rootpre.sh can be found in the newoi/ directory (if installing      
        from tape) or the orainst/ directory (if installing from CDROM). 
                                                                            
        Select (Yes) if root has run 'rootpre.sh' so you can proceed with   
        Oracle  installation.  Select (No) to abort installation and then   
        ask root to run 'rootpre.sh'.
    切换新的一屏,oracle用户登陆
$su
#cd /mnt/orainst
# ./rootpre.sh
 Do you want to install Oracle Icons for SCO ODT System? (Y/N) n
 Exit Oracle Icon Installation
 Continue with rootpre.sh ? (Y/N) y
 Please enter the name of oracle user: oracle
 Please enter the group the oracle user belongs to: dba
 The following files will be created:
        Filename            Owner       Group       Mode
        /usr/lbin/oraenv    oracle      dba         644
        /usr/lbin/coraenv   oracle      dba         644
        /usr/lbin/dbhome    oracle      dba         755
        /etc/oratab         oracle      dba         644
        /etc/sqlnet         oracle      dba         644
        /etc/tnsnames.ora   oracle      dba         644
        /etc/listener.ora   oracle      dba         644
 Continue with the above settings? (Y/N) y
 Are you installing Oracle through a floppy device? (Y/N) n
 Please continue installation with Oracle*Installer as oracle user.
g. 提示Select one of the following:
   选择cdrom安装:
        (o) Install from CD-ROM
        (  Install from Floppy
        (  Install from Staging Area
h. 提示Select the native language to be installed:
   选择中文:
        Simplified Chinese
i. 提示 Do you want to relink Oracle product executables? By default, the   
        Installer will not relink any product executables, with the         
        exception of the Oracle7 Server, which is relinked automatically    
        if necessary.
   选择默认即可。
j. 提示  The /u/oracle/product/734/orainst/root.sh file already       
 exists. Select one of the following actions:
选择OK继续
k. 提示 选择安装的包对话匡
        1.这时要注意首先安装
TCP/IP Protocol Adapter   (V2) 2.3.4.0.0
PL/SQL    V 2.3.4.0.0
                PRO*C     2.2.4.0.0
                SQL*Net     (V2) 2.3.4.0.0
                SQL*PLUS     3.3.4.0.0
         安完后提示:
           The requested action has been performed for selected      3) 3
      3 3  products.                                                 3  3
      3 3                                                            3  3
      3 3  Certain product setup actions need to be performed by     3  3
      3 3  the 'root' user after successful installation.  Upon      3  3
      3 3  completion of installation, please log in as 'root' and   3  3
      3 3  run the root.sh script.                                   3  3
      3 3                                                            3  3
      3 3                                                            3  3
      3 3  Select (Help) for more details on what you can do next.   3  3
      3 3  Select (OK) to continue.                                  3  3
         这的意思是等安装结束后执行root.sh,按确认先退出
         2.现在开始安装
Oracle Server (RDBMS) 7.3.4
         3. 最后安装你所需要的包
    注意:如果碰到Result: Relinking Error.这种错误,你可以从新启动一屏
          以oracle用户登陆
            $cd $ORACLE_HOME/bin
            $./lsnrctl start
          让网络扫一遍安装就没有问题了。
l. 系统提示安装成功,此时还有一些工作要做
     以oracle用户登陆
$ su
Password:
# cd $ORACLE_HOME/orainst
# ./root.sh
Running ORACLE7 root.sh script...
The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u/oracle/product/734
    ORACLE_SID=   oracle
Are these settings correct (Y/N)? [Y]: y

Enter the full pathname of the local bin directory [/usr/lbin]:
Checking for "oracle" user id...
ORACLE_HOME does not match the home directory for oracle.
Okay to continue? [N]: y
Updating /etc/oratab file...
Leaving common section of ORACLE7 root.sh.
至此,ORACLE数据库安装工作完毕。

 answer 回复于:2003-05-08 16:44:39
建库的测试我还没有做完,等完了,我会一起加上去了。

 unixwl 回复于:2003-05-08 20:35:25
        

 answer 回复于:2003-05-08 21:37:39
[quote:18b2caf8da="unixwl"]        [/quote:18b2caf8da]
中软找的

 answer 回复于:2003-05-09 13:32:12
一般没有怎么装的~~~
就算能装上你的系统也不一定稳定

 宇轩 回复于:2003-05-09 09:22:25
感谢了

 宇轩 回复于:2003-05-09 09:26:37
系统核心参数 与电脑的配置有什么关系?请详细解答解答,我对这个很是不懂

 宇轩 回复于:2003-05-09 09:35:20
ORACLE_HOME=/u/oracle/product/734 
应该是ORACLE_HOME=/u/oracle/product/7.3.4 吧?有区别吗?

 answer 回复于:2003-05-09 09:49:22
[quote:1cc84f43fb="宇轩"]ORACLE_HOME=/u/oracle/product/734 
应该是ORACLE_HOME=/u/oracle/product/7.3.4 吧?有区别吗?[/quote:1cc84f43fb]
734是一个目录除非你将这个目录改为7。3。4别人也没意见

 answer 回复于:2003-05-09 10:05:07
[quote:9099ec9fca="宇轩"]系统核心参数 与电脑的配置有什么关系?请详细解答解答,我对这个很是不懂[/quote:9099ec9fca]
去看精华帖,兔子以前写过,但是不太全。
我也正抽时间写,希望能加全了。

 宇轩 回复于:2003-05-09 10:07:47
好的。

 wangzhiq5 回复于:2003-05-09 10:48:34
请问5.0.7从哪里来?

 qazer 回复于:2003-05-09 11:46:53
Answer大侠,能否把你的Oracle安装光盘ISO一下(用WinImage之类的Tools),放到大梦兄的FTP上去,让穷兄弟们也开开眼界?!

 answer 回复于:2003-05-09 11:51:57
我不知道大梦的ftp是什么。
以前我的东西都是放在linux版的ftp下,现在不开了。
谁有ftp能长期使用的。

 qazer 回复于:2003-05-09 11:55:03
Ftp Server:61.132.30.252
User:informix
Password:informix2003
此FTP服务器欢迎大家上传!
速度不错!
ftp://informix:informix2003@61.132.30.252

Ftp Server:61.132.30.252
User:unix
Password:unix2003
下载

此FTP主要用于技术交流,由于空间有限,请大家不要上传非技术性的东西,谢谢合作!

 lihuc 回复于:2003-05-09 13:23:45
5.0.7下可以同时装informix和oracle么?

 lihuc 回复于:2003-05-09 13:39:07
哦,我只是想练习练习,呵呵

 miniyoyo2002 回复于:2003-05-09 13:40:03
斗胆说一句,是不是和。0。6的安装过程差不多呢???

 answer 回复于:2003-05-09 13:41:10
[quote:6fd155be79="miniyoyo2002"]斗胆说一句,是不是和。0。6的安装过程差不多呢???[/quote:6fd155be79]
差不多。
顶多改改核心参数就搞定。

 ilex 回复于:2003-05-12 10:32:01
我把这个帖大概的抄了下来,但是实践的时候。???

1. 调SCO系统参数 
调整系统核心参数 
# /etc/conf/bin/idtune NBUF 20000 
# /etc/conf/bin/idtune NHBUF 262144 
# /etc/conf/bin/idtune NMPBUF 500 
# /etc/conf/bin/idtune MAXUP 300 
# /etc/conf/bin/idtune SEMMNI 70 
# /etc/conf/bin/idtune SHMMAX 共享内存看实际情况来调整 


改这些参数?我怎么在那个文件里面找不到这些东西啊?
“共享内存看实际情况来调整 ”这个怎么弄,我一点都不会,只是想装来熟悉熟悉,谢谢了。!~

 宇轩 回复于:2003-05-15 12:52:42
我也想知道

 answer 回复于:2003-05-15 13:11:18
这些都是调整系统性能的命令值
你可以参考
/etc/conf/cf.d/mtune
/etc/conf/cf.d/stune文件。
共享内存一般是你实际内存的一半。

 ilex 回复于:2003-05-16 21:24:03
终于找到了那些参数,但是没一行都有3个参数,改第几个呀?我感觉应该改第三个,但是不敢乱改。

 ilex 回复于:2003-05-16 23:15:55
哪个高手给点指导,好在星期6.7把oracle装好。

 xyz.me 回复于:2003-05-18 09:56:32
改第一个参数,第二、三个是这个参数的下限和上限值。

 宇轩 回复于:2003-05-19 16:51:36
#ncube-lm 1521/tcp #nCube License Manager 将这一行注释掉 
listener 1521/tcp 添加一行 
ncube-lm 1521/udp #nCube License Manager 
我看了怎么没有这一行呀?奇怪

 ned2001 回复于:2003-06-09 10:23:45
你在吉首么,请和我联系,13574339422。我们共同讨论一下Oraxcle for UNIX

 jsean 回复于:2003-06-13 09:56:21
507和505区别大吗?

 jsean 回复于:2003-06-13 10:05:52
大梦的ftp站点上不去呀!!!???

 jsean 回复于:2003-06-13 11:35:55
[quote:d193248c0a="answer"]pdating /etc/oratab file...
Leaving common section of ORACLE7 root.sh.
至此,ORACLE数据库安装工作完毕。[/quote:d193248c0a]     

answer老大,能否提供一下scounix openserver507的相关注册码(包括开发系统)?
无论如何谢了先!

 Gemini77 回复于:2003-06-16 15:32:56
请问:我用的vmware的sco 5.07,按照您的步骤安装oracle734时,第一步修改系统核心参数,/etc/conf/cf.d/link_unix之后报错:

ERROR:Unknown tunable parameter 'NHBUF'62144

我已经将NHBUF设置成了262144,为什么会出错呢?
请问这个系统核心参数是什么意思?

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备2023014753号-2
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网