Overview
Oracle has significantly simplified the installation of the necessary libraries and procedures since 11gR2 oracle-rdbms-server-11gR2-preinstall for Linux based systems. Now it is only needed to install the pre-install binaries. So let's forumale our plan:
1) Create the file systems for Oracle
2) Install the pre-installed libraries
3) Install & Configure Oracle
Create the File systems for Oracle
Install the Pre-Installed Libraries
From 12c, Oracle changed a little bit how we installed the Pre-Install libraries,so let's check
Create Temporal Repo
First, create a temporal Repo:
Create temporal Repo
[root@temporaprod yum.repos.d]# cat oracle-softwarecollection-ol7.repo [ol7_software_collections] name=Software Collection Library release 3.0 packages for Oracle Linux 7 ($basearch) baseurl=https://yum$ociregion.oracle.com/repo/OracleLinux/OL7/SoftwareCollections/$basearch/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=1 [root@temporaprod yum.repos.d]#
Create GPG Key
The GPG key is used for authentication of the packages. You will need that key anyway and you can find it from the internet but from Linux 7 is teh following one:
Create GPG key
[root@temporaprod yum.repos.d]# cat /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.5 (GNU/Linux) mQENBEwtJWoBCACpiY2rGA6T0ceBi92X88/QclytVBjtDRohOVzs3pmIPh3ULqsW G323nmyKbKQBBSjh9OnuO9Y09VG8mzr/w9YV0Ix4cI9/HDTERZ2+TR5u+VNn5J5h yvwQSN/FEK6oH2+mz7O0yUNleN7UltR4MOEkHIoAhIvv+1AQQKN3OM8oalz+3gv/ zz9rAoQczQzT7QWOtBrsRMZgBrKXY/TpJrpVSO3Hx8CnbhKGtLxCCrxZ5v7hh1ht 3CRAr2+h5bDA9KP6vBZWKEs7NgcvtZFDY6EJc7AoApr3phX9hHE2+snTxe82DkFT uA69C8wLyjPCoSy+tcaCqJKOZelNy9RN/WKRABEBAAG0RE9yYWNsZSBPU1MgZ3Jv dXAgKE9wZW4gU291cmNlIFNvZnR3YXJlIGdyb3VwKSA8YnVpbGRAb3NzLm9yYWNs ZS5jb20+iQE8BBMBAgAmAhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AFAlNhkUEF CSaOl9cACgkQcvl7dOxVHwNHFQf9G2ZI5ZH8T1VASvQteTyUR7uNgqXEbJhi9zZO 7EO26+wzkj9EGLmH1COdUApZ1cINsYfGGgUJT5mfcRV3yYZbwc4AZJbJe0z7C5Yu ZLs5W0ryV4bzIqcWnVphIAOwmxMxIVGz8Cr1Dsyyal7ORgYzdfOppYetwtZ+J+Wn /oVgFkh9v19l/CltBkRh2SqgUZYfCoELo7hUzLNh7cw2av8rcSUKSH3ra9MvpYfS ANCnouzbgKix1gD6niT3pm1s5II3VuQ2vEcJunnoRFci9FzLXelTuL00MvuxERr7 Fsqm1/D2JfKDbE09qy5bLWrWaTM6zOFQKN7F2edY2uaukLT6/w== =Djed -----END PGP PUBLIC KEY BLOCK-----
Then, we can install the REAL repo:
Install the actual Repo
Install actual Repo
[root@temporaprod yum.repos.d]# yum install -y oracle-softwarecollection-release-el7 Loaded plugins: langpacks, ulninfo epel/x86_64/metalink | 19 kB 00:00:00 epel | 4.7 kB 00:00:00 ol7_latest | 2.7 kB 00:00:00 (1/2): epel/x86_64/updateinfo | 1.0 MB 00:00:01 (2/2): epel/x86_64/primary_db | 6.8 MB 00:00:03 (1/2): ol7_latest/x86_64/updateinfo | 2.8 MB 00:00:01 (2/2): ol7_latest/x86_64/primary_db | 32 MB 00:00:09 Resolving Dependencies --> Running transaction check ---> Package oracle-softwarecollection-release-el7.x86_64 0:1.0-2.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================== Package Arch Version Repository Size ============================================================================================================================================================================================== Installing: oracle-softwarecollection-release-el7 x86_64 1.0-2.el7 ol7_latest 14 k Transaction Summary ============================================================================================================================================================================================== Install 1 Package Total download size: 14 k Installed size: 18 k Downloading packages: oracle-softwarecollection-release-el7-1.0-2.el7.x86_64.rpm | 14 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : oracle-softwarecollection-release-el7-1.0-2.el7.x86_64 1/1 Verifying : oracle-softwarecollection-release-el7-1.0-2.el7.x86_64 1/1 Installed: oracle-softwarecollection-release-el7.x86_64 0:1.0-2.el7 Complete!
Finally, let's install the Pre-Install
Install the Pre-Install Package
Install Pre-Install
[root@temporaprod yum.repos.d]# yum install oracle-database-server-12cR2-preinstall.x86_64 Loaded plugins: langpacks, ulninfo ol7_software_collections | 2.5 kB 00:00:00 (1/2): ol7_software_collections/x86_64/updateinfo | 8.7 kB 00:00:00 (2/2): ol7_software_collections/x86_64/primary_db | 6.8 MB 00:00:02 Resolving Dependencies --> Running transaction check ---> Package oracle-database-server-12cR2-preinstall.x86_64 0:1.0-5.el7 will be installed --> Processing Dependency: xorg-x11-utils for package: oracle-database-server-12cR2-preinstall-1.0-5.el7.x86_64 --> Processing Dependency: kernel-uek for package: oracle-database-server-12cR2-preinstall-1.0-5.el7.x86_64 --> Processing Dependency: ksh for package: oracle-database-server-12cR2-preinstall-1.0-5.el7.x86_64 --> Processing Dependency: libaio-devel for package: oracle-database-server-12cR2-preinstall-1.0-5.el7.x86_64 --> Processing Dependency: xorg-x11-xauth for package: oracle-database-server-12cR2-preinstall-1.0-5.el7.x86_64 --> Processing Dependency: libstdc++-devel for package: oracle-database-server-12cR2-preinstall-1.0-5.el7.x86_64 --> Processing Dependency: nfs-utils for package: oracle-database-server-12cR2-preinstall-1.0-5.el7.x86_64 --> Running transaction check ---> Package kernel-container.x86_64 0:3.10.0-0.0.0.2.el7 will be installed ---> Package ksh.x86_64 0:20120801-142.0.1.el7 will be installed ---> Package libaio-devel.x86_64 0:0.3.109-13.el7 will be installed ---> Package libstdc++-devel.x86_64 0:4.8.5-39.0.3.el7 will be installed ---> Package nfs-utils.x86_64 1:1.3.0-0.66.0.1.el7 will be installed --> Processing Dependency: gssproxy >= 0.7.0-3 for package: 1:nfs-utils-1.3.0-0.66.0.1.el7.x86_64 --> Processing Dependency: keyutils for package: 1:nfs-utils-1.3.0-0.66.0.1.el7.x86_64 --> Processing Dependency: libevent for package: 1:nfs-utils-1.3.0-0.66.0.1.el7.x86_64 --> Processing Dependency: libevent-2.0.so.5()(64bit) for package: 1:nfs-utils-1.3.0-0.66.0.1.el7.x86_64 ---> Package xorg-x11-utils.x86_64 0:7.5-23.el7 will be installed --> Processing Dependency: libXext.so.6()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64 --> Processing Dependency: libXv.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64 --> Processing Dependency: libXtst.so.6()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64 --> Processing Dependency: libXrender.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64 --> Processing Dependency: libXxf86vm.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64 --> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64 --> Processing Dependency: libXrandr.so.2()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64 --> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64 --> Processing Dependency: libXinerama.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64 --> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64 --> Processing Dependency: libXi.so.6()(64bit) for package: xorg-x11-utils-7.5-23.el7.x86_64 ---> Package xorg-x11-xauth.x86_64 1:1.0.9-1.el7 will be installed --> Processing Dependency: libXmuu.so.1()(64bit) for package: 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 --> Running transaction check ---> Package gssproxy.x86_64 0:0.7.0-28.el7 will be installed --> Processing Dependency: libverto-module-base for package: gssproxy-0.7.0-28.el7.x86_64 ---> Package keyutils.x86_64 0:1.5.8-3.el7 will be installed ---> Package libXext.x86_64 0:1.3.3-3.el7 will be installed ---> Package libXi.x86_64 0:1.7.9-1.el7 will be installed ---> Package libXinerama.x86_64 0:1.1.3-2.1.el7 will be installed ---> Package libXmu.x86_64 0:1.1.2-2.el7 will be installed --> Processing Dependency: libXt.so.6()(64bit) for package: libXmu-1.1.2-2.el7.x86_64 ---> Package libXrandr.x86_64 0:1.5.1-2.el7 will be installed ---> Package libXrender.x86_64 0:0.9.10-1.el7 will be installed ---> Package libXtst.x86_64 0:1.2.3-1.el7 will be installed ---> Package libXv.x86_64 0:1.0.11-1.el7 will be installed ---> Package libXxf86dga.x86_64 0:1.1.4-2.1.el7 will be installed ---> Package libXxf86misc.x86_64 0:1.0.3-7.1.el7 will be installed ---> Package libXxf86vm.x86_64 0:1.1.4-1.el7 will be installed ---> Package libdmx.x86_64 0:1.1.3-3.el7 will be installed ---> Package libevent.x86_64 0:2.0.21-4.el7 will be installed --> Running transaction check ---> Package libXt.x86_64 0:1.1.5-3.el7 will be installed --> Processing Dependency: libICE.so.6()(64bit) for package: libXt-1.1.5-3.el7.x86_64 --> Processing Dependency: libSM.so.6()(64bit) for package: libXt-1.1.5-3.el7.x86_64 ---> Package libverto-tevent.x86_64 0:0.2.5-4.el7 will be installed --> Running transaction check ---> Package libICE.x86_64 0:1.0.9-9.el7 will be installed ---> Package libSM.x86_64 0:1.2.2-2.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================== Package Arch Version Repository Size ============================================================================================================================================================================================== Installing: oracle-database-server-12cR2-preinstall x86_64 1.0-5.el7 ol7_latest 19 k Installing for dependencies: gssproxy x86_64 0.7.0-28.el7 ol7_latest 110 k kernel-container x86_64 3.10.0-0.0.0.2.el7 ol7_latest 2.6 k keyutils x86_64 1.5.8-3.el7 ol7_latest 53 k ksh x86_64 20120801-142.0.1.el7 ol7_latest 882 k libICE x86_64 1.0.9-9.el7 ol7_latest 66 k libSM x86_64 1.2.2-2.el7 ol7_latest 39 k libXext x86_64 1.3.3-3.el7 ol7_latest 38 k libXi x86_64 1.7.9-1.el7 ol7_latest 40 k libXinerama x86_64 1.1.3-2.1.el7 ol7_latest 13 k libXmu x86_64 1.1.2-2.el7 ol7_latest 70 k libXrandr x86_64 1.5.1-2.el7 ol7_latest 27 k libXrender x86_64 0.9.10-1.el7 ol7_latest 25 k libXt x86_64 1.1.5-3.el7 ol7_latest 172 k libXtst x86_64 1.2.3-1.el7 ol7_latest 20 k libXv x86_64 1.0.11-1.el7 ol7_latest 18 k libXxf86dga x86_64 1.1.4-2.1.el7 ol7_latest 18 k libXxf86misc x86_64 1.0.3-7.1.el7 ol7_latest 19 k libXxf86vm x86_64 1.1.4-1.el7 ol7_latest 17 k libaio-devel x86_64 0.3.109-13.el7 ol7_latest 12 k libdmx x86_64 1.1.3-3.el7 ol7_latest 15 k libevent x86_64 2.0.21-4.el7 ol7_latest 208 k libstdc++-devel x86_64 4.8.5-39.0.3.el7 ol7_latest 1.5 M libverto-tevent x86_64 0.2.5-4.el7 ol7_latest 8.4 k nfs-utils x86_64 1:1.3.0-0.66.0.1.el7 ol7_latest 412 k xorg-x11-utils x86_64 7.5-23.el7 ol7_latest 114 k xorg-x11-xauth x86_64 1:1.0.9-1.el7 ol7_latest 29 k Transaction Summary ============================================================================================================================================================================================== Install 1 Package (+26 Dependent packages) Total size: 3.9 M Installed size: 15 M Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : libXext-1.3.3-3.el7.x86_64 1/27 Installing : libXi-1.7.9-1.el7.x86_64 2/27 Installing : libXrender-0.9.10-1.el7.x86_64 3/27 Installing : libICE-1.0.9-9.el7.x86_64 4/27 Installing : libSM-1.2.2-2.el7.x86_64 5/27 Installing : libXt-1.1.5-3.el7.x86_64 6/27 Installing : libXmu-1.1.2-2.el7.x86_64 7/27 Installing : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 8/27 Installing : libXrandr-1.5.1-2.el7.x86_64 9/27 Installing : libXtst-1.2.3-1.el7.x86_64 10/27 Installing : libXxf86misc-1.0.3-7.1.el7.x86_64 11/27 Installing : libdmx-1.1.3-3.el7.x86_64 12/27 Installing : libXinerama-1.1.3-2.1.el7.x86_64 13/27 Installing : libXv-1.0.11-1.el7.x86_64 14/27 Installing : libXxf86vm-1.1.4-1.el7.x86_64 15/27 Installing : libXxf86dga-1.1.4-2.1.el7.x86_64 16/27 Installing : xorg-x11-utils-7.5-23.el7.x86_64 17/27 Installing : keyutils-1.5.8-3.el7.x86_64 18/27 Installing : libaio-devel-0.3.109-13.el7.x86_64 19/27 Installing : ksh-20120801-142.0.1.el7.x86_64 20/27 Installing : libevent-2.0.21-4.el7.x86_64 21/27 Installing : libstdc++-devel-4.8.5-39.0.3.el7.x86_64 22/27 Installing : kernel-container-3.10.0-0.0.0.2.el7.x86_64 23/27 Installing : libverto-tevent-0.2.5-4.el7.x86_64 24/27 Installing : gssproxy-0.7.0-28.el7.x86_64 25/27 Installing : 1:nfs-utils-1.3.0-0.66.0.1.el7.x86_64 26/27 Installing : oracle-database-server-12cR2-preinstall-1.0-5.el7.x86_64 27/27 Verifying : libXext-1.3.3-3.el7.x86_64 1/27 Verifying : libXxf86misc-1.0.3-7.1.el7.x86_64 2/27 Verifying : libdmx-1.1.3-3.el7.x86_64 3/27 Verifying : libICE-1.0.9-9.el7.x86_64 4/27 Verifying : libverto-tevent-0.2.5-4.el7.x86_64 5/27 Verifying : 1:nfs-utils-1.3.0-0.66.0.1.el7.x86_64 6/27 Verifying : libXinerama-1.1.3-2.1.el7.x86_64 7/27 Verifying : libXrender-0.9.10-1.el7.x86_64 8/27 Verifying : libXv-1.0.11-1.el7.x86_64 9/27 Verifying : libXi-1.7.9-1.el7.x86_64 10/27 Verifying : libXxf86vm-1.1.4-1.el7.x86_64 11/27 Verifying : kernel-container-3.10.0-0.0.0.2.el7.x86_64 12/27 Verifying : libXt-1.1.5-3.el7.x86_64 13/27 Verifying : gssproxy-0.7.0-28.el7.x86_64 14/27 Verifying : libstdc++-devel-4.8.5-39.0.3.el7.x86_64 15/27 Verifying : xorg-x11-utils-7.5-23.el7.x86_64 16/27 Verifying : libXtst-1.2.3-1.el7.x86_64 17/27 Verifying : libevent-2.0.21-4.el7.x86_64 18/27 Verifying : ksh-20120801-142.0.1.el7.x86_64 19/27 Verifying : oracle-database-server-12cR2-preinstall-1.0-5.el7.x86_64 20/27 Verifying : libXrandr-1.5.1-2.el7.x86_64 21/27 Verifying : libaio-devel-0.3.109-13.el7.x86_64 22/27 Verifying : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 23/27 Verifying : libSM-1.2.2-2.el7.x86_64 24/27 Verifying : libXxf86dga-1.1.4-2.1.el7.x86_64 25/27 Verifying : libXmu-1.1.2-2.el7.x86_64 26/27 Verifying : keyutils-1.5.8-3.el7.x86_64 27/27 Installed: oracle-database-server-12cR2-preinstall.x86_64 0:1.0-5.el7 Dependency Installed: gssproxy.x86_64 0:0.7.0-28.el7 kernel-container.x86_64 0:3.10.0-0.0.0.2.el7 keyutils.x86_64 0:1.5.8-3.el7 ksh.x86_64 0:20120801-142.0.1.el7 libICE.x86_64 0:1.0.9-9.el7 libSM.x86_64 0:1.2.2-2.el7 libXext.x86_64 0:1.3.3-3.el7 libXi.x86_64 0:1.7.9-1.el7 libXinerama.x86_64 0:1.1.3-2.1.el7 libXmu.x86_64 0:1.1.2-2.el7 libXrandr.x86_64 0:1.5.1-2.el7 libXrender.x86_64 0:0.9.10-1.el7 libXt.x86_64 0:1.1.5-3.el7 libXtst.x86_64 0:1.2.3-1.el7 libXv.x86_64 0:1.0.11-1.el7 libXxf86dga.x86_64 0:1.1.4-2.1.el7 libXxf86misc.x86_64 0:1.0.3-7.1.el7 libXxf86vm.x86_64 0:1.1.4-1.el7 libaio-devel.x86_64 0:0.3.109-13.el7 libdmx.x86_64 0:1.1.3-3.el7 libevent.x86_64 0:2.0.21-4.el7 libstdc++-devel.x86_64 0:4.8.5-39.0.3.el7 libverto-tevent.x86_64 0:0.2.5-4.el7 nfs-utils.x86_64 1:1.3.0-0.66.0.1.el7 xorg-x11-utils.x86_64 0:7.5-23.el7 xorg-x11-xauth.x86_64 1:1.0.9-1.el7 Complete!