//创建 Oracle 组和用户帐户
[root@f15k-a]# groupadd oinstall
[root@f15k-a]# groupadd dba
[root@f15k-a]# groupadd oper
[root@f15k-a]# useradd -g oinstall -G dba oracle//创建用户Oracle,并设为用户组oinstall和dba的成员
[root@f15k-a]# passwd oracle
Changing password for user oracle.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
//修改/etc/redhat-release文件
//获得Oracle10g认证的Redhat Linux最高版本为redhat-4, 所以需要修改redhat-release文件.
# vi /etc/redhat-release
#Red Hat Enterprise Linux Server release 5.3 (Tikanga)//注释原有版本信息
redhat-4//加入伪信息,待安装成功后再改回去
//安装过程中注意选择不安装启动数据库,数据库在Oracle软件安装完毕后再另外安装
//安装过程中图形界面要求以root身份执行以下操作
[root@f15k-a]# cd /u01/app/
[root@f15k-a app]# cd oracle/oraInventory/
[root@f15k-a oraInventory]# ls
orainstRoot.sh
[root@f15k-a oraInventory]# sh orainstRoot.sh
Creating the Oracle inventory pointer file (/etc/oraInst.loc)
Changing groupname of /u01/app/oracle/oraInventory to oinstall.
//安装完成后要求以root身份执行另外一个脚本
[root@f15k-a oraInventory]# ls
Components install.platform oraInstaller.properties
Contents locks oui
ContentsXML logs sessionContext.ser
[root@f15k-a oraInventory]# cd ..
[root@f15k-a oracle]# ls
oraInventory product
[root@f15k-a oracle]# cd product/10.1.0/Db_1/
[root@f15k-a Db_1]# sh root.sh
Running Oracle10 root.sh script...
\nThe following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/10.1.0/Db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
\nCreating /etc/oratab file...
Adding entry to /etc/oratab file...
Entries will be added to the /etc/oratab file as needed 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.
/var/opt/oracle does not exist. Creating it now.
/etc/oracle does not exist. Creating it now.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Oracle Cluster Registry for cluster has been initialized
Adding to inittab
Checking the status of Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
f15k-a
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)