免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
1234下一页
最近访问板块 发新帖
查看: 6097 | 回复: 30
打印 上一主题 下一主题

[SCO UNIX] 原创:oracle7.3.4 for openserver 507的安装! [复制链接]

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-05-08 16:39 |只看该作者 |倒序浏览
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=$PATHHOME/binORACLE_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
     Install New Product - Do Not Create DB Objects
     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数据库安装工作完毕。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2003-05-08 16:44 |只看该作者

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

建库的测试我还没有做完,等完了,我会一起加上去了。

论坛徽章:
0
3 [报告]
发表于 2003-05-08 20:35 |只看该作者

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

      :wink:  

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
4 [报告]
发表于 2003-05-08 21:37 |只看该作者

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

[quote]原帖由 "unixwl"]      :wink:  [/quote 发表:

中软找的

论坛徽章:
0
5 [报告]
发表于 2003-05-09 09:22 |只看该作者

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

感谢了

论坛徽章:
0
6 [报告]
发表于 2003-05-09 09:26 |只看该作者

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

系统核心参数 与电脑的配置有什么关系?请详细解答解答,我对这个很是不懂

论坛徽章:
0
7 [报告]
发表于 2003-05-09 09:35 |只看该作者

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

ORACLE_HOME=/u/oracle/product/734
应该是ORACLE_HOME=/u/oracle/product/7.3.4 吧?有区别吗?

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
8 [报告]
发表于 2003-05-09 09:49 |只看该作者

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

原帖由 "宇轩" 发表:
ORACLE_HOME=/u/oracle/product/734
应该是ORACLE_HOME=/u/oracle/product/7.3.4 吧?有区别吗?

734是一个目录除非你将这个目录改为7。3。4别人也没意见

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
9 [报告]
发表于 2003-05-09 10:05 |只看该作者

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

[quote]原帖由 "宇轩"]系统核心参数 与电脑的配置有什么关系?请详细解答解答,我对这个很是不懂[/quote 发表:

去看精华帖,兔子以前写过,但是不太全。
我也正抽时间写,希望能加全了。

论坛徽章:
0
10 [报告]
发表于 2003-05-09 10:07 |只看该作者

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

好的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP