Oracle linux yum repos

Oracle linux yum repos

Administrator’s Solutions Guide

  • Preface
  • The Unbreakable Enterprise Kernel
    • About the Unbreakable Enterprise Kernel
      • About UEK Release 1
      • About UEK Release 2
      • About UEK Release 3
      • About UEK Release 4
      • About Yum
      • About ULN
      • Yum Configuration
        • Configuring Use of a Proxy Server
        • Yum Repository Configuration
        • Downloading the Oracle Linux Yum Server Repository Files
        • Using Yum Utilities to Manage Configuration
        • Overview of Oracle Ksplice
          • Supported Kernels
          • About Ksplice Updates
          • Patching and Updating Your System
          • About the Ksplice Enhanced Client
          • About the Ksplice Uptrack Client
          • About the Btrfs File System
          • Creating a Btrfs File System
          • Modifying a Btrfs File System
          • Compressing and Defragmenting a Btrfs File System
          • Resizing a Btrfs File System
          • Creating Subvolumes and Snapshots
            • Cloning Virtual Machine Images and Linux Containers
            • Using Send/Receive to Implement Incremental Backups
            • Converting a Non-root File System
            • Converting the root File System
            • Mounting the Image of the Original File System
            • Deleting the Snapshot of the Original File System
            • Recovering an Original Non-root File System
            • Setting up a New NFS Server
            • Configuring an Existing NFS Server
            • Setting up a New HTTP Server
            • Configuring an Existing HTTP Server
            • Setting up a Network Installation Server
            • Installing from a Network Installation Server
            • About the Installation root File System
            • Creating Snapshots of the root File System
            • Mounting Alternate Snapshots as the root File System
            • Deleting Snapshots of the root File System
            • About the XFS File System
              • About External XFS Journals
              • About XFS Write Barriers
              • About Lazy Counters
              • Setting Project Quotas
              • About OCFS2
              • Installing and Configuring OCFS2
                • Preparing a Cluster for OCFS2
                • Configuring the Firewall
                • Configuring the Cluster Software
                • Creating the Configuration File for the Cluster Stack
                • Configuring the Cluster Stack
                • Configuring the Kernel for Cluster Operation
                • Starting and Stopping the Cluster Stack
                • Creating OCFS2 volumes
                • Mounting OCFS2 Volumes
                • Querying and Changing Volume Parameters
                • Recommended Tools for Debugging
                • Mounting the debugfs File System
                • Configuring OCFS2 Tracing
                • Debugging File System Locks
                • Configuring the Behavior of Fenced Nodes
                • Load Balancing
                • Oracle Real Application Cluster (RAC)
                • Oracle Databases
                • About cgroups
                • Subsystems
                  • blkio Parameters
                  • cpu Parameters
                  • cpuacct Parameters
                  • cpuset Parameters
                  • devices Parameters
                  • freezer Parameter
                  • memory Parameters
                  • net_cls Parameter
                  • Pinning Processes to CPU Cores
                  • Controlling CPU and Memory Usage
                  • Restricting Access to Devices
                  • Throttling I/O Bandwidth
                  • About Linux Containers
                    • Supported Oracle Linux Container Versions
                    • Installing and Configuring the Software
                    • Setting up the File System for the Containers
                    • Creating and Starting a Container
                    • About the lxc-oracle Template Script
                    • About Veth and Macvlan
                    • Modifying a Container to Use Macvlan
                      • Modifying a Container to Use a Static IP Address
                      • About HugePages
                      • Configuring HugePages for Oracle Database
                      • For More Information About HugePages
                      • About kexec
                      • Setting up Fast Reboots of the Current Kernel
                      • Controlling Fast Reboots
                      • For More Information About kexec
                      • About DTrace
                      • Installing and Configuring DTrace
                        • Changing the Mode of the DTrace Helper Device
                        • Loading DTrace Kernel Modules
                        • Probe Clauses
                        • Pragmas
                        • Global Variables
                        • Predicates
                        • Scalar Arrays and Associative Arrays
                        • Pointers and External Variables
                        • Address Spaces
                        • Thread-local Variables
                        • Speculations
                        • Aggregations
                        • Examining the Stack Trace of a User-Space Application
                        • About sosreport
                          • Configuring and Using sosreport
                          • Configuring and Using Kdump
                          • Files Used by Kdump
                          • Installing OSWbb
                          • Running OSWbb

                          The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
                          Oracle recommends that you upgrade the software described by this documentation as soon as possible.

                          2.3.3 Downloading the Oracle Linux Yum Server Repository Files

                          The Oracle Linux yum server provides a direct mapping of all of the Unbreakable Linux Network (ULN) channels that are available to the public without any specific support agreement. The repository labels used for each repository on the Oracle Linux yum server map directly onto the channel names on ULN. See Oracle ® Linux: Unbreakable Linux Network User’s Guide for Oracle Linux 6 and Oracle Linux 7 for more information about the channel names and common suffixes used for channels and repositories.

                          Prior to January 2019, Oracle shipped a single yum repository configuration file for each Oracle Linux release. This configuration file is copied into /etc/yum.repos.d/public-yum-ol6.repo at installation, but can also be downloaded from the Oracle Linux yum server directly to obtain updates.

                          The original configuration file is deprecated in favor of modular repository files that are managed and updated automatically via yum in the form of RPM packages that are more targeted in scope. For example, core repository configuration files required for Oracle Linux 6 are available in the oraclelinux-release-el6 package. This package includes all of the repository configuration required to install base packages for the release, including packages from the ol6_latest , ol6_addons repositories and all of the supported repositories for UEK.

                          The modular yum repository configuration files released as packages that can be maintained via yum can help to simplify repository management and also ensure that your yum repository definitions are kept up to date automatically, whenever you update your system.

                          A list of all available RPM files to manage all of the possible yum repository configurations for your release can be obtained by running:

                          # yum list *release-el6*

                          To install the yum repository configuration for a particular set of software that you wish to use, use yum to install the corresponding package. For example, to install the yum repository configuration for the Oracle Linux Software Collection Library, run:

                          # yum install oracle-softwarecollection-release-el6

                          If your system is still configured to use the original single yum repository configuration file at /etc/yum.repos.d/public-yum-ol6.repo , you should update your system to transition to the current approach to handling yum repository configuration. To do this, ensure that your system is up to date and then run the /usr/bin/ol_yum_configure.sh script:

                          # yum update # /usr/bin/ol_yum_configure.sh

                          The /usr/bin/ol_yum_configure.sh script checks the /etc/yum.repos.d/public-yum-ol6.repo file to determine which repositories are already enabled and installs the appropriate corresponding packages before renaming the original configuration file to /etc/yum.repos.d/public-yum-ol6.repo.sav to disable it in favor of the more recent modular repository configuration files.

                          If, for some reason, you manage to remove all configuration to access the Oracle Linux yum server repositories, you should create a temporary yum repository configuration file at /etc/yum.repos.d/ol6-temp.repo with the following as the minimum required content:

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

                          Then reinstall the oraclelinux-release-el6 package to restore the default yum configuration:

                          # yum reinstall oraclelinux-release-el6 # rm /etc/yum.repos.d/ol6-temp.repo

                          For more information on manually setting up Oracle Linux yum server repository configuration files, see https://yum.oracle.com/getting-started.html.

                          You can enable or disable repositories in each repository configuration file by setting the value of the enabled directive to 1 or 0 for each repository listed in the file, as required. The preferred method of enabling or disabling repositories under Oracle Linux 6 is to use the yum-config-manager command provided in the yum-utils package.

                          Copyright © 2012, 2021, Oracle and/or its affiliates. Legal Notices

                          Источник

                          Читайте также:  Linux backup command line
Оцените статью
Adblock
detector