Davoud Teimouri - Virtualization & Datacenter

A technology blog mainly focusing on virtualization and datacenter

Oracle Linux Yum Server

Yum Server

Sometimes, you need to update single package on your Linux (Oracle – RedHat) and you have to search and find RPM file on this regard or compile the package from its source code.

But we are talking enterprise Linux servers that you can’t accept any risk of installing miscellaneous or unreliable package on your server.

So you need to have safe and secure source for installation or upgrade.

Maybe, you are thinking about YUM! Yes, you can update your application by run Yum but if your server has no connection to internet!

There is many solution for updating Linux packages but we are talking about a single application and some special conditions.

Hopefully, Oracle has a service that called “Yum Server” and the service is free for use by anyone. Oracle Yum Server offers you a free and convenient way to install the latest Oracle Linux packages as well as packages from the Oracle VM installation media via a yum client.

Please consider that this service deliver no support to you and just you can download updated packages from that.

Repositories

Currently, the below repositories are available on Yum server:

Configuring the Oracle Linux Yum Server

The Oracle Linux Yum Server is pre-configured during installation of Oracle Linux 5 Update 7 or Oracle Linux 6 Update 3 or higher.

If you have an older version of Oracle Linux, you can manually configure your server to receive updates from the Oracle Linux Yum Server:

  1. Download and install Oracle Linux server.

  2. Download and copy the appropriate yum configuration file in place, by running the following commands as root:

Oracle Linux 7

Oracle Linux 6

Oracle Linux 5

Oracle Linux 4, Update 6 or Newer

Oracle OpenStack for Oracle Linux 2.0

Note: Make sure to enable ol7_optional_latest repository before installing yum-plugin-priorities on your system

Oracle OpenStack for Oracle Linux 1.0

Oracle VM 2

Linux for SPARC 1.0

  1. By default, the latest repository is enabled. If you want to change the default, you can enable an alternative repository by editing the yum configuration file.
    • Open the yum configuration file in a text editor
    • Locate the section in the file for the repository want to enable, e.g. [el4_u6_base]
    • Change enabled=0 to enabled=1
  2. Begin using yum, for example:

You may be prompted to confirm the import of the Oracle OSS Group GPG key.

You can find more information on the below link:

Oracle Linux Yum Server

Tips: Remove Domain Policies

Order to remove all policies that applied by domain, you can remove this key from registry:HKCU\Software\Microsoft\Windows\CurrentVersion\Group PolicyDon't forget to take backup from registry.

Davoud Teimouri is as a professional blogger, vExpert 2015-2016-2017, VCA, MCITP. This blog is started with simple posts and now, it has large following readers.

1,158 total views, 64 views today

Leave a Reply

Teimouri.net © 2012 Frontier Theme
%d bloggers like this:
Read more:
Proxmox Virtual Environment

Proxmox Virtual Environment is a management server for KVM hypervisor and container based hypervisor LXC. It has been made from...

Close