4 Installation and Availability

You can download a full Oracle Linux 7 Update 2 installation media image from the Oracle Software Delivery Cloud at https://edelivery.oracle.com/linux. You can also obtain the latest Oracle Linux 7 packages from the Unbreakable Linux Network (ULN) and the Oracle Linux yum server.

The following table lists some of the channels and repositories that are available on ULN and Oracle Linux yum server for Oracle Linux 7.

ULN Channel Oracle Linux yum server Repository Description

ol7_x86_64_latest

ol7_latest

Latest packages for Oracle Linux 7.

ol7_x86_64_u0_base

ol7_u0_base

Base packages for the initial release (Update 0) of Oracle Linux 7.

ol7_x86_64_u0_patch

 

Patches for the initial-release packages of Oracle Linux 7.

ol7_x86_64_uN_base

ol7_uN_base

Base packages for Update N of Oracle Linux 7.

ol7_x86_64_uN_patch

 

Patches for Update N of Oracle Linux 7.

ol7_x86_64_addons

ol7_addons

GPL-licensed packages for Oracle Linux 7 that have not been sourced from upstream.

ol7_x86_64_Dtrace_userspace

 

DTrace user-space packages for Oracle Linux 7 with UEK R3.

ol7_x86_64_UEKR4_DTrace_userspace

 

DTrace user-space packages for Oracle Linux 7 with UEK R4.

ol7_x86_64_Ksplice

 

Ksplice packages for Oracle Linux 7.

ol7_x86_64_MySQL55

ol7_MySQL55

MySQL Community Edition 5.5 packages for Oracle Linux 7.

ol7_x86_64_MySQL56

ol7_MySQL56

MySQL Community Edition 5.6 packages for Oracle Linux 7.

ol7_x86_64_optional_latest

ol7_optional_latest

Latest optional packages (including most *-devel packages) for Oracle Linux 7 that have been sourced from upstream.

ol7_x86_64_oracle

 

Oracle software packages for Oracle Linux 7.

ol7_x86_64_UEKR3

ol7_UEKR3

Latest Unbreakable Enterprise Kernel Release 3 (UEK R3) packages for Oracle Linux 7.

ol7_x86_64_UEKR4

ol7_UEKR4

Latest Unbreakable Enterprise Kernel Release 4 (UEK R4) packages for Oracle Linux 7.

ol7_x86_64_UEKR3_OFED20

 

OpenFabrics Enterprise Distribution (OFED) packages for UEK R3 on Oracle Linux 7. See Installing or Upgrading the Oracle-Supported OFED Packages.

ol7_x86_64_UEKR4_OFED

 

OpenFabrics Enterprise Distribution (OFED) packages for UEK R4 on Oracle Linux 7. See Unbreakable Enterprise Kernel documentation.

ol7_x86_64_VirtualBox

 

Oracle VM VirtualBox packages for Oracle Linux 7.

Note:

Oracle Linux yum server does not provide equivalent repositories for some channels that are available on ULN. These channels provide non-open source packages.

The kernel source code is available after the initial release via a public git source code repository at https://oss.oracle.com/git/?p=linux-uek3-3.8.git.

If installed, remove the i686 versions of the krb5-server and krb5-server-ldap packages before updating the system, for example:

# yum remove krb5-server.i686 krb5-server-ldap.i686

If you are installing the update on a system on which you have previously installed the Oracle-supported OFED packages, see the following sections for instructions on how to update these packages during the upgrade:

UEK R3 is the default boot kernel for fresh installations of Oracle Linux 7 but the UEK R4 kernel is now also available. For more information, see Unbreakable Enterprise Kernel documentation.

For systems that are running UEK R3 or UEK R4 and are subscribed to the ol7_x86_64_UEKR3 or ol7_x86_64_UEKR4 channel on ULN, or the ol7_x86_64_UEKR3 or ol7_x86_64_UEKR4 repository on Oracle Yum Server, upgrade to the latest UEK release as follows:

  1. Upgrade all packages on the system, including kernel packages.

    sudo yum update

    By default, the boot manager automatically enables the most recent kernel version so you do not need to change your GRUB configuration.

  2. Reboot the system.

    sudo systemctl reboot

Important:

Oracle Linux 7 Update 2 updates many major subsystems. To ensure that your updated systems function correctly, reboot them after updating.

Upgrading from Oracle Linux 6

It is possible to upgrade an Oracle Linux 6 system to Oracle Linux 7 Update 2 under the following conditions:

  • The system meets the minimum installation requirements for Oracle Linux 7 as described in System Requirements.

  • The Oracle Linux 6 system has been completely updated from the ol6_x86_64_latest channel or ol6_latest repository.

  • UEK R3 has been installed on the system to be upgraded and is the default boot kernel. Upgrading from UEK R2 is not supported.

  • No Oracle product stack is present on the system.

Upgrading is supported only for systems that are installed with the Minimal Install base environment.

The following table shows the changes that are applied to any kernels that are configured on the system being upgraded.

Kernel on Original System Kernel on Upgraded System

RHCK (2.6.32)

RHCK (3.10.0) for Oracle Linux 7 is installed. RHCK (2.6.32) is removed.

UEK R3 (3.8.13)

UEK R3 (3.8.13) for Oracle Linux 7 is installed and made the default boot kernel. The previous version of UEK R3 is removed.

For instructions on how to perform an upgrade, see Oracle Linux 7: Installation Guide.

Installing or Upgrading the Oracle-Supported OFED Packages

The following sections describe how to install or upgrade the OFED packages provided by Oracle, including how to replace the default OFED packages from Red Hat that are present on a system that you have upgraded to Oracle Linux 7 or that you have installed from the Oracle Linux 7 full installation DVD image, the ol7_x86_64_latest channel on ULN, or the ol7_latest repository on Oracle Linux yum server.

For instructions for installing or upgrading OFED packages with UEK R4, see Unbreakable Enterprise Kernel documentation.

(Bug ID 19177152)

Installing Oracle Linux 7 Update 2 from ULN if the Oracle-Supported OFED Packages Are Already Installed

Note:

This procedure assumes that you have registered the system with ULN. See Oracle Linux: Unbreakable Linux Network User's Guide for Oracle Linux 6 and Oracle Linux 7.

To install Update 2 from ULN on an Oracle Linux 7 system on which the Oracle-supported OFED packages are already present:

  1. Subscribe the system to the ol7_x86_64_optional_latest, ol7_x86_64_UEKR3_OFED20, ol7_x86_64_UEKR3, and ol7_x86_64_latest channels on ULN. (By default, the ol7_x86_64_UEKR3 and ol7_x86_64_latest channels are enabled when you register an Oracle Linux 7 system with ULN.)

  2. Edit /etc/yum/pluginconf.d/rhnplugin.conf and add the following lines to the end of the file:

    [ol7_x86_64_UEKR3_OFED20]
    priority=20 
  3. Install the yum-plugin-priorities package from the ol7_x86_64_optional_latest channel:

    sudo yum install yum-plugin-priorities
  4. To apply Oracle Linux 7 Update 2 to the system:

    sudo yum update

    Any Oracle-supported OFED packages that were already present are updated from the ol7_x86_64_UEKR3_OFED20 channel.

  5. Install Oracle-supported OFED packages such as ibutils, libibcm, librdmacm-devel, librdmacm-utils, librdmacm, opensm, opensm-libs, and srptools from the ol7_x86_64_UEKR3_OFED20 channel as required, for example:

    sudo yum install ibutils

Installing Oracle Linux 7 Update 2 from Oracle Linux Yum Server if the Oracle-Supported OFED Packages Are Already Installed

To install Update 2 from Oracle Linux yum server on an Oracle Linux 7 system on which the Oracle-supported OFED packages are already present:

  1. If you updated the server from Oracle Linux 6 or the initial release of Oracle Linux 7, ensure that your system is up to date and that you have transitioned to use the modular yum repository configuration by installing the oraclelinux-release-el7 package and running the /usr/bin/ol_yum_configure.sh script.

    sudo yum install oraclelinux-release-el7
    sudo /usr/bin/ol_yum_configure.sh
  2. Enable the ol7_optional_latest, ol7_latest, ol7_UEKR3 and ol7_UEKR3_OFED20 repositories.

    sudo yum-config-manager --enable ol7_latest ol7_UEKR3 ol7_optional_latest ol7_UEKR3_OFED20
  3. Install the yum-plugin-priorities package from the ol7_optional_latest repository:

    sudo yum install yum-plugin-priorities
  4. To apply Oracle Linux 7 Update 2 to the system:

    sudo yum update

    Any Oracle-supported OFED packages that were already present are updated from the ol7_UEKR3_OFED20 repository.

  5. Install Oracle-supported OFED packages such as ibutils, libibcm, librdmacm-devel, librdmacm-utils, librdmacm, opensm, opensm-libs, and srptools from the ol7_UEKR3_OFED20 repository as required, for example:

    sudo yum install ibutils

Installing the Oracle-Supported OFED Packages from ULN if the Default OFED Packages Are Not Already Installed

Note:

This procedure assumes that you have registered the system with ULN. See Oracle Linux: Unbreakable Linux Network User's Guide for Oracle Linux 6 and Oracle Linux 7.

To install the Oracle-supported OFED packages from ULN on a minimally installed Oracle Linux 7 system on which the default OFED packages have not been installed:

  1. Subscribe the system to the ol7_x86_64_optional_latest, ol7_x86_64_UEKR3_OFED20, ol7_x86_64_UEKR3, and ol7_x86_64_latest channels on ULN. (By default, the ol7_x86_64_UEKR3 and ol7_x86_64_latest channels are enabled when you register an Oracle Linux 7 system with ULN.)

  2. Edit /etc/yum/pluginconf.d/rhnplugin.conf and add the following lines to the end of the file:

    [ol7_x86_64_UEKR3_OFED20]
    priority=20 
  3. Install the yum-plugin-priorities package from the ol7_x86_64_optional_latest channel:

    sudo yum install yum-plugin-priorities
  4. Install Oracle-supported OFED packages such as ibutils, libibcm, librdmacm-devel, librdmacm-utils, librdmacm, opensm, opensm-libs, and srptools from the ol7_x86_64_UEKR3_OFED20 channel as required, for example:

    sudo yum install ibutils

Installing the Oracle-Supported OFED Packages from Oracle Linux Yum Server if the Default OFED Packages Are Not Already Installed

To install the Oracle-supported OFED packages from Oracle Linux yum server on a minimally installed Oracle Linux 7 system on which the default OFED packages have not been installed:

  1. If you updated the server from Oracle Linux 6 or the initial release of Oracle Linux 7, ensure that your system is up to date and that you have transitioned to use the modular yum repository configuration by installing the oraclelinux-release-el7 package and running the /usr/bin/ol_yum_configure.sh script.

    sudo yum install oraclelinux-release-el7
    sudo /usr/bin/ol_yum_configure.sh
  2. Enable the ol7_optional_latest, ol7_latest, ol7_UEKR3 and ol7_UEKR3_OFED20 repositories.

    sudo yum-config-manager --enable ol7_latest ol7_UEKR3 ol7_optional_latest ol7_UEKR3_OFED20
  3. Install the yum-plugin-priorities package from the ol7_optional_latest repository:

    sudo yum install yum-plugin-priorities
  4. Install Oracle-supported OFED packages such as ibutils, libibcm, librdmacm-devel, librdmacm-utils, librdmacm, opensm, opensm-libs, and srptools from the ol7_UEKR3_OFED20 repository as required, for example:

    sudo yum install ibutils

Installing the Oracle-Supported OFED Packages from ULN if the Default OFED Packages Are Already Present

Note:

This procedure assumes that you have registered the system with ULN. See Oracle Linux: Unbreakable Linux Network User's Guide for Oracle Linux 6 and Oracle Linux 7.

To install the Oracle-supported OFED packages from ULN if the default OFED packages have already been installed on an Oracle Linux 7 system:

  1. Subscribe the system to the ol7_x86_64_optional_latest, ol7_x86_64_UEKR3_OFED20, ol7_x86_64_UEKR3, and ol7_x86_64_latest channels on ULN. (By default, the ol7_x86_64_UEKR3 and ol7_x86_64_latest channels are enabled when you register an Oracle Linux 7 system with ULN.)

  2. Edit /etc/yum/pluginconf.d/rhnplugin.conf and add the following lines to the end of the file:

    [ol7_x86_64_UEKR3_OFED20]
    priority=20 
  3. Install the yum-plugin-priorities package from the ol7_x86_64_optional_latest channel:

    sudo yum install yum-plugin-priorities
  4. Downgrade any default OFED packages other than ibutils, libibcm, librdmacm, librdmacm-devel, librdmacm-utils, opensm, opensm-libs, and srptools that are already present on the system, for example:

    sudo yum downgrade rdma

    These packages are replaced with the Oracle-supported OFED packages from the ol7_x86_64_UEKR3_OFED20 channel.

  5. Remove the default ibutils-libs package (if present):

    sudo yum remove ibutils-libs
  6. Install Oracle-supported OFED packages such as ibutils, libibcm, librdmacm-devel, librdmacm-utils, librdmacm, opensm, opensm-libs, and srptools from the ol7_x86_64_UEKR3_OFED20 channel as required, for example:

    sudo yum install ibutils

Installing the Oracle-Supported OFED packages from Oracle Linux Yum Server if the Default OFED Packages Are Already Present

To install the Oracle-supported OFED packages from Oracle Linux yum server if the default OFED packages have already been installed on an Oracle Linux 7 system:

  1. If you updated the server from Oracle Linux 6 or the initial release of Oracle Linux 7, ensure that your system is up to date and that you have transitioned to use the modular yum repository configuration by installing the oraclelinux-release-el7 package and running the /usr/bin/ol_yum_configure.sh script.

    sudo yum install oraclelinux-release-el7
    sudo /usr/bin/ol_yum_configure.sh
  2. Enable the ol7_optional_latest, ol7_latest, ol7_UEKR3 and ol7_UEKR3_OFED20 repositories.

    sudo yum-config-manager --enable ol7_latest ol7_UEKR3 ol7_optional_latest ol7_UEKR3_OFED20
  3. Install the yum-plugin-priorities package from the ol7_optional_latest repository:

    sudo yum install yum-plugin-priorities
  4. Downgrade any default OFED packages other than ibutils, libibcm, librdmacm, librdmacm-devel, librdmacm-utils, opensm, opensm-libs, and srptools that are already present on the system, for example:

    sudo yum downgrade rdma

    These packages are replaced with the Oracle-supported OFED packages from the ol7_UEKR3_OFED20 repository.

  5. Remove the default ibutils-libs package (if present):

    sudo yum remove ibutils-libs
  6. Install Oracle-supported OFED packages such as ibutils, libibcm, librdmacm-devel, librdmacm-utils, librdmacm, opensm, opensm-libs, and srptools from the ol7_UEKR3_OFED20 repository as required, for example:

    sudo yum install ibutils