ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Oracle 817 For Linux/Unix安装文档(转)

Oracle 817 For Linux/Unix安装文档(转)

原创 Linux操作系统 作者:jcszjswkzhou 时间:2019-07-09 20:15:05 0 删除 编辑
Oracle 817 For Linux/Unix安装文档,sql,sql教程,Oracle基础

Oracle 817安装文档

1. 创建dba组和oracle用户

root@hz_cmode # groupadd dba

root@hz_cmode # useradd -m -d /opt/oracle -s /bin/ksh -g dba oracle

root@hz_cmode # passwd oracle New password:

Re-enter new password:

passwd (SYSTEM): passwd successfully changed for oracle

2. 修改/etc/system

务必备份system不正确修改system有可能导致操作系统不能启动

root@hz_cmode # cp /etc/system /etc/system.old

将下面的配置加入到system的末尾

set shmsys:shminfo_shmmax=4294967295

set shmsys:shminfo_shmmin=1

set shmsys:shminfo_shmmni=100

set shmsys:shminfo_shmseg=10

set semsys:seminfo_semmni=100

set semsys:seminfo_semmsl=1010

set semsys:seminfo_semmns=2010

set semsys:seminfo_semopm=100

set semsys:seminfo_semvmx=32767

重起服务器

root@hz_cmode # sync

root@hz_cmode # reboot

3. Oracle软件安装

将Oracle8i Enterprise Editon(64-bit)1of2放入光驱

将以下加入oracle用户的.profile文件

ORACLE_BASE=/opt/oracle/app/oracle

ORACLE_HOME=/opt/oracle/app/oracle/product/8.1.7

ORACLE_SID=dbsg

ORACLE_OWNER=oracle

LD_LIBRARY_PATH=$ORACLE_HOME/lib

PATH=$PATH:$ORACLE_HOME/bin

export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH ORACLE_OWNER

ORACLE_NLS33=$ORACLE_HOME/ocommon/nls/admin/data

stty erase ^H

以下操作需要在图形界面下完成

以oracle用户登陆系统绝对路径安装

$ /cdrom/cdrom0/runInstaller

点击next

确认Destination目录点击next

输入dba点击next

另开一个窗口用root用户执行/opt/oracle/app/oracle/product/8.1.7/orainstRoot.sh脚本

root@hz_cmode # /opt/oracle/app/oracle/product/8.1.7/orainstRoot.sh

Creating Oracle Inventory pointer file (/var/opt/oracle/oraInst.loc)

Changing groupname of /opt/oracle/app/oracle/oraInventory to dba.

然后点击Retry

点击next

选择Typical点击next

点击next

输入datafile放置的目录该目录oracle用户应该有读写权限

点击next

点击next

安装程序正在复制软件到硬盘上

另开个窗口确认除安装窗口外没有其他窗口在/cdrom/cdrom0目录中eject将光盘弹出将Oracle8i Enterprise Editon(64-bit)2of2放入光驱

将/cdrom/disk1改为/cdrom/disk2点击ok

另开一个窗口用root用户执行/opt/oracle/db01/app/oracle/product/8.1.7/root.sh脚本

Running Oracle8 root.sh script...

The following environment variables are set as:

ORACLE_OWNER= oracle

ORACLE_HOME= /opt/oracle/db01/app/oracle/product/8.1.7

ORACLE_SID= dbsg

Enter the full pathname of the local bin directory: [/usr/local/bin]:

Creating /var/opt/oracle/oratab file...

Entry will be added to the /var/opt/oracle/oratab file by

Database Configuration Assistant when a database is created

Finished running generic part of root.sh script.

Now product-specific root actions will be performed.

IMPORTANT NOTE: Please delete any log and trace files previously

created by the Oracle Enterprise Manager Intelligent

Agent. These files may be found in the directories

you use for storing other Net8 log and trace files.

If such files exist, the OEM IA may not restart.

点击ok

建库过程

安装完毕点击exit退出安装


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10294527/viewspace-122160/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2007-08-29

  • 博文量
    3488
  • 访问量
    2621402