YUM Repository Configuration

Introduction

To perform an installation without the system needing access to the internet, a local YUM mirror must be made of the OL7 latest, epel, and addons repository used by the OS installation.

A repository file will need to be created to reference this local YUM repository, and placed on the necessary machines (those which run the OCCNE installation Docker instances).

Prerequisites

  1. Local YUM mirror repository for the OL7 'latest', 'epel', and 'addons' repositories. Directions here: HTTPS://WWW.ORACLE.COM/TECHNICAL-RESOURCES/ARTICLES/IT-INFRASTRUCTURE/UNBREAKABLE-LINUX-NETWORK.HTML

  2. Subscribe to following channels while creating the yum mirror from uln:

    [ol7_x86_64_UEKR5]
    [ol7_x86_64_ksplice]
    [ol7_x86_64_latest]
    [ol7_x86_64_addons]
    [ol7_x86_64_developer]

Procedure Steps

Table A-1 Procedure to configure OCCNE YUM Repository

Step # Procedure Description
1. Create OL7 repository mirror repo HTTPS://WWW.ORACLE.COM/TECHNICAL-RESOURCES/ARTICLES/IT-INFRASTRUCTURE/UNBREAKABLE-LINUX-NETWORK.HTML

Below is an example of a repository file providing the details on a mirror with the necessary repositories. This repository file would be placed on the OCCNE Bootstrap machine that will setup the OCCNE Bastion Host. (directions on the locations in the installation procedure)

[local_ol7_x86_64_UEKR5]
name=Unbreakable Enterprise Kernel Release 5 for Oracle Linux 7 (x86_64)
baseurl=http://10.75.155.195/yum/OracleLinux/OL7/UEKR5/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
enabled=1
proxy=_none_
  
[local_ol7_x86_64_latest]
name=Oracle Linux 7 Latest (x86_64)
baseurl=http://10.75.155.195/yum/OracleLinux/OL7/latest/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
enabled=1
proxy=_none_
  
[local_ol7_x86_64_addons]
name=Oracle Linux 7 Addons (x86_64)
baseurl=http://10.75.155.195/yum/OracleLinux/OL7/addons/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
enabled=1
proxy=_none_
  
[local_ol7_x86_64_ksplice]
name=Ksplice for Oracle Linux 7 (x86_64)
baseurl=http://10.75.155.195/yum/OracleLinux/OL7/ksplice/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
enabled=1
proxy=_none_
  
[local_ol7_x86_64_developer]
name=Packages for creating test and development environments for Oracle Linux 7 (x86_64)
baseurl=http://10.75.155.195/yum/OracleLinux/OL7/developer/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
enabled=1
proxy=_none_
  
[local_ol7_x86_64_developer_EPEL]
name=EPEL Packages for creating test and development environments for Oracle Linux 7 (x86_64)
baseurl=http://10.75.155.195/yum/OracleLinux/OL7/developer/EPEL/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
enabled=1
proxy=_none_