Subscribe YouTube Channel For More Live Tutorials

Oracle Linux provides the yum utility which you can use to install or upgrade RPM packages. The main benefit of using yum is that it also installs or upgrades any package dependencies. yum downloads the packages from repositories such as those that are available on the Oracle Linux yum server, but you can also set up your own repositories on systems that do not have Internet access.

The Oracle Linux yum server is a convenient way to install Oracle Linux and Oracle VM packages, including bug fixes, security fixes and enhancements, rather than installing them from installation media. You can access the server at https://yum.oracle.com/.

Directly Access Repository Metadata

Add the following to /etc/yum.repos.d/oracle-linux.repo

[ol7_latest]

name=Oracle Linux 7 Latest ($basearch)

baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/latest/$basearch/

gpgkey=http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7

gpgcheck=1

enabled=1

How to Check Server Status

#ping yum.oracle.com

Using URL

#wget https://yum.oracle.com/​repo/​OracleLinux/​OL7/​latest/​x86_64

To Install the Package for Linux 7

#yum install oracle-database-preinstall-19c

 How to 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

Oracle Linux Repositories

Get here Yum Repositories for Linux 9

Get here Yum Repositories for Linux 8

Get here Yum Repositories for Linux 7

Get here Yum Repositories for Linux 6

https://yum.oracle.com/index.html

Firewall Disable – to allow incoming http

If you have enabled a firewall on your system, configure it to allow incoming HTTP connection requests on TCP port 80.For example, the following command configures iptables to allow incoming HTTP connection requests and saves the change to the firewall configuration:

    # iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT

    # service iptables save