Professional Documents
Culture Documents
This post is a quick reminder that Oracle Linux includes a handy RPM to address
pre-installation requirement for Oracle Database 12c. Starting with Oracle
Database 12c Release 2, we changed the name for this RPM, so the RPM you
should look for depends on what release of Oracle Database 12c you plan to
install:
https://blogs.oracle.com/linux/oracle-database-12c-preinstall-steps-for-oracle-linux-simplified 1/14
16/9/2019 Oracle Database 12c Preinstall Steps for Oracle Linux Simplified | Oracle Linux Blog
Both of these RPMs are in the ol6_latest and ol7_latest repository for Oracle Linux
6 and 7 on the Oracle Linux yum server as well as from ULN. All recent releases of
Oracle Linux 6 and 7 by default include the proper yum configuration to install
these RPMs.
The output below is from a fresh Oracle Linux 7.4 installation to prepare for Oracle
Database 12c Release 2:
2 ol7_UEKR4
3 ol7_addons
4 ol7_latest
5 (1/7): ol7_addons/x86_64/updateinfo
6 (2/7): ol7_addons/x86_64/primary
7 (3/7): ol7_UEKR4/x86_64/updateinfo
8 (4/7): ol7_latest/x86_64/group
9 (5/7): ol7_latest/x86_64/updateinfo
10 (6/7): ol7_UEKR4/x86_64/primary
11 (7/7): ol7_latest/x86_64/primary
12 ol7_UEKR4
13 ol7_addons
14 ol7_latest
15 Resolving Dependencies
https://blogs.oracle.com/linux/oracle-database-12c-preinstall-steps-for-oracle-linux-simplified 2/14
16/9/2019 Oracle Database 12c Preinstall Steps for Oracle Linux Simplified | Oracle Linux Blog
https://blogs.oracle.com/linux/oracle-database-12c-preinstall-steps-for-oracle-linux-simplified 3/14
16/9/2019 Oracle Database 12c Preinstall Steps for Oracle Linux Simplified | Oracle Linux Blog
https://blogs.oracle.com/linux/oracle-database-12c-preinstall-steps-for-oracle-linux-simplified 4/14
16/9/2019 Oracle Database 12c Preinstall Steps for Oracle Linux Simplified | Oracle Linux Blog
146
147 Dependencies Resolved
148
149 ========================================================================================
150 Package Arch Version
151 ========================================================================================
152 Installing:
153 oracle-database-server-12cR2-preinstall x86_64 1.0-3.el7
154 Installing for dependencies:
https://blogs.oracle.com/linux/oracle-database-12c-preinstall-steps-for-oracle-linux-simplified 5/14
16/9/2019 Oracle Database 12c Preinstall Steps for Oracle Linux Simplified | Oracle Linux Blog
https://blogs.oracle.com/linux/oracle-database-12c-preinstall-steps-for-oracle-linux-simplified 6/14
16/9/2019 Oracle Database 12c Preinstall Steps for Oracle Linux Simplified | Oracle Linux Blog
210 ========================================================================================
212
213 Total download size: 16 M
https://blogs.oracle.com/linux/oracle-database-12c-preinstall-steps-for-oracle-linux-simplified 7/14
16/9/2019 Oracle Database 12c Preinstall Steps for Oracle Linux Simplified | Oracle Linux Blog
271 ----------------------------------------------------------------------------------------
272 Total
https://blogs.oracle.com/linux/oracle-database-12c-preinstall-steps-for-oracle-linux-simplified 8/14
16/9/2019 Oracle Database 12c Preinstall Steps for Oracle Linux Simplified | Oracle Linux Blog
https://blogs.oracle.com/linux/oracle-database-12c-preinstall-steps-for-oracle-linux-simplified 9/14
16/9/2019 Oracle Database 12c Preinstall Steps for Oracle Linux Simplified | Oracle Linux Blog
https://blogs.oracle.com/linux/oracle-database-12c-preinstall-steps-for-oracle-linux-simplified 10/14
16/9/2019 Oracle Database 12c Preinstall Steps for Oracle Linux Simplified | Oracle Linux Blog
385
386 Installed:
417
418 Complete!
You can review all the actions performed by the preinstallation RPM in a log file
located here
/var/log/oracle-database-server-12cR2-preinstall/results/orakernel.log
https://blogs.oracle.com/linux/oracle-database-12c-preinstall-steps-for-oracle-linux-simplified 11/14
16/9/2019 Oracle Database 12c Preinstall Steps for Oracle Linux Simplified | Oracle Linux Blog
1 # cat orakernel.log
27 Adding net.ipv4.conf.all.rp_filter = 2
28 net.ipv4.conf.default.rp_filter is matching with preinstall config.
29 net.ipv4.conf.default.rp_filter = 2
37
38 Setting user limits using /etc/security/limits.d/oracle-database-server-12cR2-preinstall.
39
40 Verifying oracle user OS limits as per Oracle recommendations...
41 Adding oracle soft nofile 1024
59
60 old boot params: "no_timer_check console=tty0 console=ttyS0,115200 net.ifnames=0 biosdevn
61 new boot params: "no_timer_check console=tty0 console=ttyS0,115200 net.ifnames=0 biosdevn
62
63 Setting kernel boot parameters as per Oracle recommendations...
64 G_DIR=/boot/grub2
65 Default kernel is -> 4.1.12-103.3.8.el7uek.x86_64
66 Default saved_entry is -> Oracle Linux Server (4.1.12-103.3.8.el7uek.x86_64 with Unbreaka
67 Default saved_entry_line is -> linux16 /vmlinuz-4.1.12-103.3.8.el7uek.x86_64
68 Saving a copy of grubenv... in /var/log/oracle-database-server-12cR2-preinstall/backup/Se
69 Generating grub configuration file ...
70 File descriptor 199 (/run/lock/subsys/oracle-preinstall.lock) leaked on vgs invocation. P
References
Oracle Database 12c Release 2 Installation Guide: Automatically Configuring
Oracle Linux with Oracle Preinstallation RPM
Comments ( 5 )
Recent Content
https://blogs.oracle.com/linux/oracle-database-12c-preinstall-steps-for-oracle-linux-simplified 14/14