Oracle Database 19c Installation on Red Hat 8

Jul 30, 2024

Installation of Oracle Database 19c on Red Hat 8

Introduction

  • Video tutorial on downloading and installing Oracle Database 19c on Red Hat 8.

Preparation Steps

  1. Download Oracle Database 19c

    • Make sure to download the correct version for Red Hat (state db-home).
    • The instructor has already downloaded the file.
  2. Connect to the Server

    • Connect using the root account.
    • Prepare the server based on the minimum OS requirements for swap and memory.

Installation Steps

User and Group Setup

  • Create a list of required groups for Oracle installation.
  • After creating the groups, create the Oracle user and add it to the necessary groups.
    • Command to set Oracle user password.
    • Verify user and group assignment using: id -a.

Kernel Parameter Setup

  • Modify kernel parameters according to Oracle documentation.
  • Ensure changes are made using the root user via /etc/sysctl.conf.
  • Save changes with :wq.
  • Apply the changes with the required command.

Package Installation

  • Update and install required packages using dnf or yum.
  • Ensure all required packages are installed, including optional ones for Red Hat 8.
  • Check for package dependencies to confirm installation status.

Environment Variables

  • Set ulimit by creating limits.conf under /etc/security for Oracle user settings.

Directory Structure Setup

  • Create recommended Oracle directories based on Optimal Flexible Architecture (OFA).
  • Set permissions and ownership as per documentation.

Installer Execution

  1. Prepare for Installation

    • Upload the downloaded Oracle file to /tmp.
    • Start a new terminal session to avoid issues with X11 forwarding.
  2. Unzip Install Files

    • Use the command to unzip the file quietly in the Oracle home directory.
    • Verify successful extraction by listing files with ll.
  3. Run the Installer

    • Address known bugs when running the installer on Red Hat.
    • If an error occurs stating unsupported OS, modify the environment variable to assume compatibility with another OS.
    • Set the export command to change the OS assumption.

Installation Process

  • Choose to install Software Only or configure the database later.
  • Follow the prompts to select installation type (single node, enterprise edition).
  • Perform prerequisite checks and execute installation.
  • Monitor the installation process until completion.

Post-Installation

  1. Run Configuration Scripts
    • Execute post-installation scripts as the root user.
    • Follow the instructions to register Oracle successfully.

Conclusion

  • Installation of Oracle Database 19c was successful on Red Hat 8.
  • Maintain awareness of documentation for updates and verification.
  • Wrap up with an invitation to watch future videos.

References

  • Additional documentation and reference links will be provided in the video description.

Acknowledgments

  • Thank you for watching!