- Install preinstall package for Oracle 19c
yum install -y oracle-database-preinstall-19c
- If you using RHEL8, then retreive RPM's from repository as follows
curl -o oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/getPackage/oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm
yum -y localinstall oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm
- Download oracle 19c database software
https://www.oracle.com/database/technologies/oracle19c-linux-downloads.html
- Copy downloaded file to the server and unzip under oracle_home
mkdir /u01/app/oracle/product/19.3.0 -p
cd /u01/app/oracle/product/19.3.0
unzip ~/LINUX.X64_193000_client.zip
- Modify Response file as below
/usr1/app/oracle/product/client/response/client_install.rsp
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/usr1/app/oracle/product/oraInventory
ORACLE_HOME=/usr1/app/oracle/product/19.3.0/
ORACLE_BASE=/usr1/app/oracle/product
oracle.install.client.installType=Administrator
- To avoid bug '[INS-08101] Unexpected error while executing the action at state: 'supportedOSCheck'' in Oracle 19c on RHEL8
export CV_ASSUME_DISTID=OEL7.8
- Install DB software as silent mode
./runInstaller -showProgress -silent -responseFile /usr1/app/oracle/product/19.3.0/client/response/client_install.rsp
Prepare in progress.
.................................................. 7% Done.
Prepare successful.
Copy files in progress.
.................................................. 12% Done.
.................................................. 17% Done.
.................................................. 22% Done.
.................................................. 27% Done.
.................................................. 32% Done.
.................................................. 37% Done.
.................................................. 42% Done.
.................................................. 47% Done.
.................................................. 52% Done.
........................................
Copy files successful.
Link binaries in progress.
..........
Link binaries successful.
Setup files in progress.
.................................................. 57% Done.
....................
Setup files successful.
Setup Inventory in progress.
Setup Inventory successful.
Finish Setup in progress.
..........
Finish Setup successful.
The installation of Oracle Client 19c was successful.
Please check '/usr1/app/oracle/oraInventory/logs/silentInstall2023-01-20_11-07-59AM.log' for more details.
Setup Oracle Base in progress.
Setup Oracle Base successful.
.................................................. 67% Done.
Prepare for configuration steps in progress.
Prepare for configuration steps successful.
.................................................. 82% Done.
Oracle Client Configuration in progress.
Oracle Client Configuration successful.
.................................................. 96% Done.
As a root user, execute the following script(s):
1. /usr1/app/oracle/oraInventory/orainstRoot.sh
Successfully Setup Software with warning(s).
.................................................. 100% Done.
- Execute root.sh from root user
/usr1/app/oracle/oraInventory/orainstRoot.sh
No comments:
Post a Comment