Description
An RPM-based installation performs pre installation checks, extracts the database software, reassigns ownership of the extracted software to the preconfigured user and groups, maintains the Oracle inventory, and executes all root operations required to configure the Oracle Database software for a single-instance Oracle Database creation and configuration.
The RPM–based installation process detects when the minimum requirements for an installation are not met and prompts you to finish these minimum preinstallation requirements.
An RPM-based installation performs a software-only Oracle Database installation and creates an Oracle home. After the Oracle home is created, you can then use Oracle Database Configuration Assistant (Oracle DBCA) to create an Oracle Database.
OUTLINES:
- Installing Oracle Database RPM Manually
- Login as Root and Download and install the Oracle Preinstallation RPM
- Download the .rpm file from Oracle Technology Network required for performing an RPM-based installation to a directory
[root@standby ~]# curl -o oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 18204 100 18204 0 0 9704 0 0:00:01 0:00:01 --:--:-- 9703
[root@standby ~]# yum -y localinstall oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
Loaded plugins: langpacks, ulninfo
Examining oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm: oracle-database-preinstall-19c-1.0-1.el7.x86_64
Marking oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package oracle-database-preinstall-19c.x86_64 0:1.0-1.el7 will be installed
--> Finished Dependency Resolution
ol7_UEKR5/x86_64 | 1.2 kB 00:00:00
ol7_UEKR5/x86_64/updateinfo | 18 kB 00:00:00
ol7_UEKR5/x86_64/primary | 3.6 MB 00:00:16
ol7_latest/x86_64 | 1.4 kB 00:00:00
ol7_latest/x86_64/updateinfo | 926 kB 00:00:04
ol7_latest/x86_64/primary | 14 MB 00:01:00
Dependencies Resolved
=====================================================================================================
Package Arch Version Repository Size
=====================================================================================================
Installing:
oracle-database-preinstall-19c
x86_64 1.0-1.el7 /oracle-database-preinstall-19c-1.0-1.el7.x86_64 55 k
Transaction Summary
=====================================================================================================
Install 1 Package
Total size: 55 k
Installed size: 55 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : oracle-database-preinstall-19c-1.0-1.el7.x86_64 1/1
Verifying : oracle-database-preinstall-19c-1.0-1.el7.x86_64 1/1
Installed:
oracle-database-preinstall-19c.x86_64 0:1.0-1.el7
Complete!
After successful installation, you can delete the downloaded RPM file:
[root@standby ~]# rm oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
rm: remove regular file ‘oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm’? y
Download the .rpm file required for performing an RPM-based installation to a directory of your choice.
For example, download the oracle-database-ee-19c-1.0-1.x86_64.rpm file to the /tmp directory.
[root@standby ~]# yum -y localinstall oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
Loaded plugins: langpacks, ulninfo
Examining oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm: oracle-database-preinstall-19c-1.0-1.el7.x86_64
Marking oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm to be installed
Resolving Dependencies
–> Running transaction check
—> Package oracle-database-preinstall-19c.x86_64 0:1.0-1.el7 will be installed
–> Finished Dependency Resolution
ol7_UEKR5/x86_64 | 1.2 kB 00:00:00
ol7_UEKR5/x86_64/updateinfo | 18 kB 00:00:00
ol7_UEKR5/x86_64/primary | 3.6 MB 00:00:16
ol7_latest/x86_64 | 1.4 kB 00:00:00
ol7_latest/x86_64/updateinfo | 926 kB 00:00:04
ol7_latest/x86_64/primary | 14 MB 00:01:00
Dependencies Resolved
========================================
Package Arch Version Repository Size
========================================
Installing:
oracle-database-preinstall-19c
x86_64 1.0-1.el7 /oracle-database-preinstall-19c-1.0-1.el7.x86_64 55 k
Transaction Summary
========================================
Install 1 Package
Total size: 55 k
Installed size: 55 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : oracle-database-preinstall-19c-1.0-1.el7.x86_64 1/1
Verifying : oracle-database-preinstall-19c-1.0-1.el7.x86_64 1/1
Installed:
oracle-database-preinstall-19c.x86_64 0:1.0-1.el7
Complete!
[root@oracle19c sw]# yum -y localinstall oracle-database-ee-19c-1.0-1.x86_64.rpm
Loaded plugins: langpacks, ulninfo
Examining oracle-database-ee-19c-1.0-1.x86_64.rpm: oracle-database-ee-19c-1.0-1.x86_64
Marking oracle-database-ee-19c-1.0-1.x86_64.rpm to be installed
Resolving Dependencies
–> Running transaction check
—> Package oracle-database-ee-19c.x86_64 0:1.0-1 will be installed
–> Processing Dependency: oracle-database-preinstall-19c for package: oracle-database-ee-19c-1.0-1.x86_64
ol7_UEKR5 | 1.2 kB 00:00:00
ol7_latest | 1.4 kB 00:00:00
–> Running transaction check
—> Package oracle-database-preinstall-19c.x86_64 0:1.0-1.el7 will be installed
–> Finished Dependency Resolution
Dependencies Resolved
================================
Package Arch Version Repository Size
================================
Installing:
oracle-database-ee-19c x86_64 1.0-1 /oracle-database-ee-19c-1.0-1.x86_64 6.9 G
Installing for dependencies:
oracle-database-preinstall-19c x86_64 1.0-1.el7 ol7_latest 18 k
Transaction Summary
=================================
Install 1 Package (+1 Dependent package)
Total size: 6.9 G
Total download size: 18 k
Installed size: 6.9 G
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/ol7_latest/packages/oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY| 0 B –:–:– ETA
Public key for oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm is not installed
oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm | 18 kB 00:00:03
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Importing GPG key 0xEC551F03:
Userid : “Oracle OSS group (Open Source Software group) <build@oss.oracle.com>”
Fingerprint: 4214 4123 fecf c55b 9086 313d 72f9 7b74 ec55 1f03
Package : 7:oraclelinux-release-7.6-1.0.15.el7.x86_64 (@anaconda/7.6)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : oracle-database-preinstall-19c-1.0-1.el7.x86_64 1/2
Installing : oracle-database-ee-19c-1.0-1.x86_64 2/2
[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
Verifying : oracle-database-preinstall-19c-1.0-1.el7.x86_64 1/2
Verifying : oracle-database-ee-19c-1.0-1.x86_64 2/2
Installed:
oracle-database-ee-19c.x86_64 0:1.0-1
Dependency Installed:
oracle-database-preinstall-19c.x86_64 0:1.0-1.el7
Complete!
[root@standby ~]# rm oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm
rm: remove regular file ‘oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm’? yes
The installation of Oracle Database software is completed.
Catch Me On:- Hariprasath Rajaram
Telegram App: https://t.me/joinchat/I_f4DkeGfZsVSRHiM8pfyg
LinkedIn:https://www.linkedin.com/in/hari-prasath-a65bb19/
Facebook:https://www.facebook.com/HariPrasathdba
FB Group:https://www.facebook.com/groups/894402327369506/
FB Page: https://www.facebook.com/dbahariprasath/?
Twitter: https://twitter.com/hariprasathdba