DB_HOME 경로 생성 후 설치 파일 압축 해제
mkdir -p $DB_HOME unzip LINUX.X64_193000_db_home.zip -d $DB_HOME
Database response 파일 생성
cat > ~/db_install.rsp oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v19.0.0 oracle.install.option=INSTALL_DB_SWONLY UNIX_GROUP_NAME=oinstall INVENTORY_LOCATION=/u01/app/oraInventory ORACLE_HOME=/u01/app/oracle/product/19c/db_1 ORACLE_BASE=/u01/app/oracle oracle.install.db.InstallEdition=EE oracle.install.db.OSDBA_GROUP=dba oracle.install.db.OSOPER_GROUP=oper oracle.install.db.OSBACKUPDBA_GROUP=backupdba oracle.install.db.OSDGDBA_GROUP=dgdba oracle.install.db.OSKMDBA_GROUP=kmdba oracle.install.db.OSRACDBA_GROUP=racdba oracle.install.db.rootconfig.executeRootScript=false oracle.install.db.CLUSTER_NODES=rac1,rac2 ^C
Database 설치 전 검사
$DB_HOME/runInstaller -silent -responseFile ~/db_install.rsp -executePrereqs
Database 설치
$DB_HOME/runInstaller -silent -responseFile ~/db_install.rsp -waitForCompletion
root.sh 스크립트 실행
/u01/app/oracle/product/19c/db_1/root.sh