root 유저로 /etc/redhat-release 수정
cp /etc/redhat-release /etc/redhat-release.bak  # 원본 백업
root 유저로 vi /etc/redhat-release 파일 수정
redhat-3

 

oracle 유저로 설치 파일 권한 변경
cd <설치 파일 압축 해제 경로>
chmod 755 Disk1/runInstaller
chmod 755 Disk1/install/runInstaller
chmod 755 Disk1/install/unzip
[oracle@orcl sf_oracle]# cd /media/sf_oracle
[oracle@orcl sf_oracle]# chmod 755 Disk1/runInstaller
[oracle@orcl sf_oracle]# chmod 755 Disk1/install/runInstaller
[oracle@orcl sf_oracle]# chmod 755 Disk1/install/unzip

 

oracle 유저로 실행
cd Disk1
./runInstaller

 

 

 

 

root 유저로 수행
/u01/app/oracle/oraInventory/orainstRoot.sh
[root@oel4 ~]# /u01/app/oracle/oraInventory/orainstRoot.sh
Creating the Oracle inventory pointer file (/etc/oraInst.loc)
Changing groupname of /u01/app/oracle/oraInventory to oinstall.

 

 

 

 

 

 

 

 

root 유저로 수행
/u01/app/oracle/product/10.1.0/db_1/root.sh
[root@oel4 ~]# /u01/app/oracle/product/10.1.0/db_1/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/bin]:
   Copying dbhome to /usr/bin ...
   Copying oraenv to /usr/bin ...
   Copying coraenv to /usr/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.
        oel4
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)

 

 

 

 

root 유저로 /etc/redhat-release 원상 복원
cp /etc/redhat-release.bak /etc/redhat-release
[root@oel4 ~]# cp /etc/redhat-release.bak /etc/redhat-release
cp: overwrite `/etc/redhat-release'? yes

[root@oel4 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)

 

  • 레이블 없음