3.3 Enabling Access to Oracle Linux Yum Server Channels

At the Oracle Linux yum server repository at http://yum.oracle.com/, the kernel image and user-space packages are available on the following channels for Oracle Linux 6:

  • ol6_latest (latest user-space packages for Oracle Linux 6 other than the OFED tool packages)

  • ol6_UEKR4 (kernel-uek*, dtrace-modules-*, and libdtrace-*)

  • ol6_UEKR4_OFED (latest OFED tools packages)

For Oracle Linux 7:

  • ol7_latest (latest user-space packages for Oracle Linux 7 other than the OFED tool packages)

  • ol7_UEKR4 (kernel-uek*, dtrace-modules-*, and libdtrace-*)

  • ol7_UEKR4_OFED (latest OFED tools packages)

Note

To be able to install UEK R4, enable the appropriate ol6_UEKR4 or ol7_UEKR4 channel and disable the ol6_UEKR3_latest or ol7_UEKR3 channel.

The DTrace utility and DRBD packages are not available on Oracle Linux yum server.

To enable access to the Oracle Linux 6 channels on Oracle Linux yum server, create entries such as the following in /etc/yum.conf or in a repository file in the /etc/yum.repos.d directory:

[ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol6_UEK_latest]
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0

[ol6_UEKR4]
name=Latest Unbreakable Enterprise Kernel Release 4 for Oracle Linux $releasever ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL6/UEKR4/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol6_playground_latest]
name=Latest mainline stable kernel for Oracle Linux 6 ($basearch) - Unsupported 
baseurl=http://yum.oracle.com/repo/OracleLinux/OL6/playground/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0

[ol6_UEKR4_OFED]
name=OFED supporting tool packages for Unbreakable Enterprise Kernel Release 4 on Oracle Linux 6 ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL6/UEKR4/OFED/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
priority=20

To enable a channel, set the value of the enabled parameter for the channel to 1.

To disable a channel, set the value of the enabled parameter for the channel to 0.

In this example, access is enabled to the ol6_latest and ol6_UEKR4 channels but not to the ol6_UEK_latest, ol6_playground_latest and ol6_UEKR4_OFED channels.

To enable access to the Oracle Linux 7 channels, create entries such as the following:

[ol7_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol7_UEKR4]
name=Latest Unbreakable Enterprise Kernel Release 4 for Oracle Linux $releasever ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/UEKR4/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol7_UEKR4_OFED]
name=OFED supporting tool packages for Unbreakable Enterprise Kernel Release 4 on Oracle Linux 7 ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/UEKR4/OFED/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
priority=20

In this example, access is enabled to the ol7_latest and ol7_UEKR4 channels but not to the ol7_UEKR4_OFED channel.

You can find more information about installing the software at http://yum.oracle.com/, from where you download a copy of a suitable repository file (http://yum.oracle.com/public-yum-ol6.repo or http://yum.oracle.com/public-yum-ol7.repo).