Usually, the easiest way to obtain the Oracle software is to download it from the Oracle website (oracle.com/downloads). Make sure you download the correct versions for the OS you want to install it on. If you are working with Linux systems, you can just install with yum and the RPM package.
$ yum -y install oracle-database-server-preinstall-23c $ yum -y install oracle-database-ee-23c
Step 4: Unzip the Files
For previous versions, it was recommended to unzip the files in a standard directory where you wanted the installation media. Starting with Oracle 18c, you should extract the binaries in the directory ORACLE_HOME or GRID_HOME. The zip file can be placed in a temporary location but extracted to ORACLE_HOME and GRID_HOME, respectively.
Of course, if you want to skip this step, you can just use the RPM image, as shown in step 3.
Installing Remotely with the Graphical Installer
Before we run the installer, we need to remotely install with the graphical interface. For the installation you need to have the graphical output displayed on your local computer or have a virtual type of desktop running on the virtual machine that you can remote into. Normally in any type of environments, you need to connect remotely or over a bastion host without direct connection to the server you are installing the database software on. This remote connection is typical with virtual network computing (VNC) software or X Windows System emulation on your local computer.
Listed next are the steps for setting up your environment to display graphical screens on your local computer while remotely running the Oracle installer:
1. Install software on the local computer that allows for X Window System emulation and secure networking. There are several free tools that are available such as Cygwin (http://x.cygwin.com) for a PC or XQuartz (https://www.xquartz.org) for Mac. Your company might have licensed software that you should use and install according to their policies. These will run commands such as ssh (secure shell) and scp (secure copy) and provide the X emulation utilities.
2. Start an X session on the local computer using the software installed in step 1 and issue the startx command or the command needed for an X session based on your tool.
3. Log in to the remote computer from an X terminal. Use the ssh utility to log in.
$ ssh -Y -l oracle <hostname>
4. Ensure that the DISPLAY variable is set correctly on the remote computer.
$ echo $DISPLAY
If your DISPLAY is set to localhost, you will need to determine the IP address of your local computer. Use the ping or arp utility to determine the IP address. (If this step isn’t successful, there might be VPN connections that would require a different IP address setting.)
$ export DISPLAY=129.151.31.147:0.0
If DISPLAY and the connection are all configured properly, you will be able to walk through the graphical installer steps.