DatabaseOracle DatabaseUncategorized

A Step-by-Step Guide to Install Oracle Database 19c on Linux

Pre-installation

Before you download and install Oracle Database 19c, you must perform some preliminary setup steps. We will be utilizing the yum repository for all of these initial preparations. To get started, open your terminal as the root user execute the following command to install the required OS packages, and set the kernel limits.

Please note – this rpm sets the default values; it is recommended to review these limits and modify them as per your hardware specs.

yum install -y oracle-database-preinstall-19c
Image describe the installation of per-requisites rpm

Download & Install

Once you’ve downloaded the Oracle 19c binaries from here, you can proceed with the software install.

Download the highlighted file.

Image describing the download options

Download the files and scp to your Linux server through oracle user in ORACLE_HOME. Unzip the files there. It will look like below.

To install, you first retrieve the files and securely copy them to your Linux server using the Oracle user within your ORACLE_HOME directory. Extract the files, and the structure will resemble the following.

Image describing the files and directories when installing oracle database 19c

You have two installation methods to choose from: the silent mode or the GUI mode. In this guide, we’ll opt for the GUI mode to ensure a more user-friendly and interactive installation process.

Run the below command.

[opc@apex-967696 product]$ ./runInstaller
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused

Can't connect to X11 window server using 'localhost:12.0' as the value of the DISPLAY variable.

It failed because we didn’t set the DISPLAY parameter. Below you can see how to set DISPLAY from putty. Click on ssh, then X11. Check the “Enable X11 forwarding” checkbox, and give the “x display location”

Image describing setup of port forwarding

Again, we run the runInstaller.

Image describing how to launch the runinstaller

Oracle GUI will open. Click on “set up software only”

Image to launch the runInstaller

Select the option “Single instance database installation”

Image to launch the runInstaller

Choose Enterprise Edition

Image to launch the runInstaller

Set the Oracle Base or leave it as it is.

Image to launch the runInstaller

Click Next

Image to launch the runInstaller

Give the root credentials. In my case Oracle user has sudo privileges. so enter the oracle password.

Image to launch the runInstaller

Image to launch the runInstaller

This is the response file generated from the above parameters which we set during the installation.

Image to launch the runInstaller

Image to launch the runInstaller

Image to launch the runInstaller

Finally, we are finished with the installation. I hope you find my helpful blog. Thanks !!

One thought on “A Step-by-Step Guide to Install Oracle Database 19c on Linux

Leave a Reply