Oracle linux update yum

Oracle linux update yum

This chapter describes system configuration changes that you might make after an installation.

Registering with the Unbreakable Linux Network

When you install Oracle Linux 7 on a system, you have the option of registering the system with the Unbreakable Linux Network (ULN). To register with ULN after installation, you can use the uln_register command. Or,from the desktop menu, you can select System Tools under the Applications menu, then select the ULN Registration option.

To obtain Oracle Linux updates from ULN, you must have an Oracle Linux support subscription. For more information, see https://linux.oracle.com.

During the ULN registration, your server is automatically registered with the latest channels for the base repository and the Unbreakable Enterprise Kernel Release 5.

ULN also provides channels for Oracle-specific software packages such as Oracle’s ASMlib user space package and the Oracle Instant Client. To enable access to these packages, log in to ULN and subscribe your system to the Oracle Software for Oracle Linux 7 channel.

If you have an Oracle Linux Premier Support account, you can opt to use Oracle Ksplice, which enables you to keep your systems secure and highly available by automatically updating them with the latest kernel security errata and other critical updates. If you choose to use Ksplice, you can subscribe your systems to the Ksplice for Oracle Linux channel and install the Ksplice on them. After the registration is complete, you can use the yum command to install the Ksplice Uptrack package. The Ksplice Uptrack client downloads the access key from ULN and automatically configures itself so that your system can immediately begin to use Ksplice Uptrack. For more information about Ksplice, see Oracle ® Linux: Ksplice User’s Guide

Obtaining Errata and Updates from the Oracle Linux Yum Server

Oracle also provides all errata and updates for Oracle Linux through the Oracle Linux yum server, which includes updates to the base distribution, but does not include Oracle-specific software. You do not require an Oracle Linux support subscription to use this service. For more information on how to obtain updates from the Oracle Linux yum server, see https://yum.oracle.com.

Читайте также:  Linux сменить точку монтирования

By default, all new installations of Oracle Linux 7 are automatically configured to use the Oracle Linux yum server. If you subsequently register the system with ULN, any configuration for using the Oracle Linux yum server is automatically disabled.

The configuration files that control access to repositories hosted on the the Oracle Linux yum server are located in /etc/yum.repos.d/ .

Oracle revised how repository configuration files for the Oracle Linux yum server are distributed and updated in January 2019. Older implementations may use a consolidated configuration file available in /etc/yum.repos.d/public-yum-ol7.repo . If your system is still configured in this way, consider updating and running the /usr/bin/ol_yum_configure.sh script to complete the transition to use the modular yum configuration files managed through yum itself.

Core repositories such as ol7_latest are enabled by default at installation. These repositories allow you to install base software required to run Oracle Linux 7. They also allow you to install the packages that provide the Oracle Linux yum server repository configurations that enable repositories where other software may be available. You can get a listing of the available repository configuration packages by running:

Obtaining Packages from the Oracle Linux Installation Media

After installation, following these steps to configure yum to use the full installation ISO image as a repository for installing packages:

    Mount the full installation ISO image on a suitable mount point, such as /mnt :

sudo mount -t iso9660 -o loop full_image.iso /mnt
[ol7_base_media] name=Oracle Linux 7 Base Media baseurl=file:///mnt gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=1

Applying Updates

When you have set up the ULN channels, Oracle Linux yum server repositories, or installation media repositories that yum should use, you can update all of the installed packages as follows:

Читайте также:  Godex g500 linux driver

This command upgrades your system to the latest available update of Oracle Linux 7.

Use the following command to install or update a specific package:

For example, to install or update the Z-shell package ( zsh ), you would enter:

For more information, see the yum(8) man page.

Managing an Oracle Linux 7 System

The following are some common tasks for managing an Oracle Linux 7 system after an installation:

System Locale and Keyboard Layout

Use the localectl command to change the default system locale and keyboard layout, or you can edit the settings in the /etc/locale.conf file, and then reboot the system. For more information, see the localectl(1) and locale.conf(5) man pages.

Use the timedatectl command to change the system date and time. For more information, see the timedatectl(1) man page.

Use the systemctl command to enable, start and stop system services. For more information, see the systemctl(1) man page.

To implement a simple, general-purpose firewall, you can use the Firewall Configuration GUI ( firewall-config ) or the firewall-cmd command to create basic packet filtering rules. To create a more complex firewall configuration, use the iptables and ip6tables utilities to configure the rules for IPv4 and IPv6.

The following table lists some ports that you might need to open in the firewall to allow access to various services.

Источник

Oracle linux update yum

  • Preface
  • Pre-installation Configuration
    • System Requirements
    • Obtaining Oracle Linux 6 Installation Media
    • Planning the Installation
    • Configuring a Network Installation Server
      • 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
      • Modifying a Full DVD Image to Support Btrfs root File System Installation
      • Configuring DHCP and TFTP Services to Support PXE Clients
      • Configuring Dnsmasq to Support PXE Clients
      • About Boot-Loader Configuration Files
      • Configuring DHCP to Support iPXE Clients
      • Installation Overview
        • Starting the Installation
        • Continuing the Installation
        • Configuring Disk Partitions
        • Selecting Software Packages
        • Performing FirstBoot Configuration Tasks
        • Installing a Btrfs root File System
        • Creating a Kickstart File
          • Installation Options Section
          • Packages Section
          • Pre-installation Configuration Section
          • Post-installation Configuration Section
          • Registering with the Unbreakable Linux Network
          • Obtaining Errata and Updates from the Oracle Linux Yum Server
          • Obtaining Packages from the Oracle Linux Installation Media
          • Applying Updates
          • Installing the Unbreakable Enterprise Kernel
          • Upgrading the Unbreakable Enterprise Kernel
          • Configuring the System Firewall
          • Changing the SELinux Mode

          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.

          4.2 Obtaining Errata and Updates from the Oracle Linux Yum Server

          Oracle also provides all errata and updates for Oracle Linux through the Oracle Linux yum server, which includes updates to the base distribution, but does not include Oracle-specific software. You do not require an Oracle Linux support subscription to use this service. For more information on how to obtain updates from the Oracle Linux yum server, see https://yum.oracle.com.

          By default, all new installations of Oracle Linux 6 are automatically configured to use the Oracle Linux yum server. If you subsequently register the system with ULN, any configuration for using the Oracle Linux yum server is automatically disabled.

          The configuration files that control access to repositories hosted on the the Oracle Linux yum server are located in /etc/yum.repos.d/ .

          Oracle revised how repository configuration files for the Oracle Linux yum server are distributed and updated in January 2019. Older implementations may use a consolidated configuration file available in /etc/yum.repos.d/public-yum-ol6.repo . If your system is still configured in this way, consider updating and running the /usr/bin/ol_yum_configure.sh script to complete the transition to use the modular yum configuration files managed through yum itself.

          Core repositories such as ol6_latest are enabled by default at installation. These repositories allow you to install base software required to run Oracle Linux 6. They also allow you to install the packages that provide the Oracle Linux yum server repository configurations that enable repositories where other software may be available. You can get a listing of the available repository configuration packages by running:

          # yum list *release-el6*

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

          Источник

Оцените статью
Adblock
detector