Davoud Teimouri

Virtualization & 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

Find the Owning process associated with each connection and port

 You can use Netstat, FindSTR and TaskList commands for finding the owning process.Example:You want to find that which process is listening on port 8080. So first, find all process that listening on port 8080: netstat -a -n -o | findstr 8080 >> Result.txt or this command-line: netstat -a -n -o >> Result.csv - Find PID of the process that using 8080 port.Then check PID with task list result: tasklist /FI "PID eq {Process ID}" 

2,588 total views, 4 views today

Oracle Linux Yum Server
5 (100%) 1 Votes

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Teimouri.net © 2012 Frontier Theme
%d bloggers like this:
Read more:
PowerCLI
[Script]: Find ESXi HBA WWN via PowerCLI

You know, PowerCLI is one of vSphere scripting and automation tools and most of administrators using it for automation and...

Close