Oracle Linux 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.
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:
- Download and install Oracle Linux server.
Download and copy the appropriate yum configuration file in place, by running the following commands as root:
Oracle Linux 7
# cd /etc/yum.repos.d # wget http://yum.oracle.com/public-yum-ol7.repo
Oracle Linux 6
# cd /etc/yum.repos.d # wget http://yum.oracle.com/public-yum-ol6.repo
Oracle Linux 5
# cd /etc/yum.repos.d # wget http://yum.oracle.com/public-yum-el5.repo
Oracle Linux 4, Update 6 or Newer
# cd /etc/yum.repos.d # mv Oracle-Base.repo Oracle-Base.repo.disabled # wget http://yum.oracle.com/public-yum-el4.repo
Oracle OpenStack for Oracle Linux 2.0
# cd /etc/yum.repos.d # wget http://yum.oracle.com/public-yum-ol7.repo # yum install yum-plugin-priorities
Note: Make sure to enable ol7_optional_latest repository before installing yum-plugin-priorities on your system
Oracle OpenStack for Oracle Linux 1.0
# cd /etc/yum.repos.d # wget http://yum.oracle.com/public-yum-openstack-ol6.repo
Oracle VM 2
# cd /etc/yum.repos.d # wget http://yum.oracle.com/public-yum-ovm2.repo
Linux for SPARC 1.0
# cd /etc/yum.repos.d # wget http://yum.oracle.com/yum-linux-sparc64.repo
- By default, the
latestrepository 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.
- Begin using yum, for example:
# yum list # yum install firefox
You may be prompted to confirm the import of the Oracle OSS Group GPG key.
You can find more information on the below link: