rpm -ivh oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
[root@ol7 tmp]# rpm -ivh oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
경고: oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
준비 중...                         ################################# [100%]
Updating / installing...
   1:oracle-database-preinstall-19c-1.################################# [100%]

※ Preinstall 패키지가 설치되기 위해서는 사전에 OS 필수 패키지가 설치되어야 합니다.

누락된 OS 패키지가 있을 경우 preinstall 패키지 설치가 실패합니다.

[root@ol7 tmp]# rpm -ivh oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
경고: oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
오류: Failed dependencies:
        ksh is needed by oracle-database-preinstall-19c-1.0-1.el7.x86_64
        libaio-devel is needed by oracle-database-preinstall-19c-1.0-1.el7.x86_64

이럴 때에는 필수 OS 패키지를 먼저 설치해야 합니다.

rpm -ivh ksh-*
rpm -ivh libaio-devel-*
[root@ol7 Packages]# rpm -ivh ksh-20120801-26.el7.x86_64.rpm
경고: ksh-20120801-26.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
준비 중...                         ################################# [100%]
Updating / installing...
   1:ksh-20120801-26.el7              ################################# [100%]
 
[root@ol7 Packages]# rpm -ivh libaio-devel-0.3.109-13.el7.x86_64.rpm
경고: libaio-devel-0.3.109-13.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
준비 중...                         ################################# [100%]
Updating / installing...
   1:libaio-devel-0.3.109-13.el7      ################################# [100%]

 

rpm -ivh oracle-database-ee-19c-1.0-1.x86_64.rpm
[root@ol7 tmp]# rpm -ivh oracle-database-ee-19c-1.0-1.x86_64.rpm
경고: oracle-database-ee-19c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
준비 중...                         ################################# [100%]
Updating / installing...
   1:oracle-database-ee-19c-1.0-1     ################################# [100%]
[INFO] Executing post installation scripts...
[INFO] Oracle home installed successfully and ready to be configured.
To configure a sample Oracle Database you can execute the following service configuration script as root: /etc/init.d/oracledb_ORCLCDB-19c configure

※ Preinstall 패키지가 설치 되어야 database 패키지 설치가 진행됩니다.

[root@ol7 tmp]# rpm -ivh oracle-database-ee-19c-1.0-1.x86_64.rpm
경고: oracle-database-ee-19c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
오류: Failed dependencies:
        oracle-database-preinstall-19c is needed by oracle-database-ee-19c-1.0-1.x86_64

 

/etc/init.d/oracledb_ORCLCDB-19c configure
 

 

cd /opt/oracle
pwd
ls -ltra
 

 

ps -ef | grep ora_ | grep -v grep
 

 

ps -ef | grep tnslsnr | grep -v grep
 

 

export ORACLE_HOME=/opt/oracle/product/19c/dbhome_1
export ORACLE_SID=ORCLCDB
export PATH=$PATH:$ORACLE_HOME/bin
export NLS_LANG=KOREAN_KOREA.AL32UTF8
sqlplus / as sysdba