Username: Password:

Oracle 817 For Linux/Unix安装文档-数据库专栏,ORACLE
来源:作者: 发布时间:2007-12-25 13:34:30

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退出安装。

 

喜欢本文,那就收藏到:

    Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 POCO网摘 添加到饭否 QQ书签 Digbuzz我挖网
相关评论  我也要评论
还没有关于此文章的相关评论!
  • 昵称: (为空则显示guest)
  • 评论分数: ★ ★ ★★★ ★★★★ ★★★★★
  • 评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
  • 导航
    赞助商
    文章类别
    订阅