Oracle by Example brandingPerform a Software-Only Installation of Oracle Database

section 0Before You Begin

This 20-minute tutorial shows you how to download and perform a software-only installation of Oracle Database 18c.

Background

In a software-only installation you install the Oracle Database software but do not create a database as part of the installation process.

What Do You Need?

  • A Linux machine with version 6 or later of Oracle Linux or Red Hat Enterprise Linux.
  • Disk Storage Space: At least 7.5 GB
  • RAM: At least 2 GB
  • Swap space that is equal to the size of the RAM.
  • At least 1 GB of space in the /tmp directory.
  • At least 1024 x 768 display resolution.
  • File Storage: File System or Oracle ASM.

    Note: Oracle ASM is installed as part of an Oracle Grid Infrastructure installation.

  • Access to Oracle Database Installation Guide
  • Access to Oracle Technology Network
  • Access to Oracle Software Delivery Cloud Portal

section 1Install Oracle Database Software

  1. Download the Oracle Database installation image files (LINUX.X64_180000_db_home.zip ) to a directory of your choice. For example, you can download the image files to the /tmp directory.
  2. Create the Oracle home directory and extract the image files that you have downloaded in to this Oracle home directory:
    export ORACLE_HOME=/u01/app/oracle/product/18.0.0/dbhome_1
    $ mkdir -p $ORACLE_HOME                 
    $ chgrp oinstall $ORACLE_HOME
    $ cd $ORACLE_HOME
    $ unzip -q /tmp/LINUX.X64_180000_db_home.zip 
  3. Start the Oracle Database Setup Wizard.
    ./runInstaller
  4. In the Select Configuration Option screen, select Set Up Software Only and click Next.
    Description of the configuration options for installing Oracle Database
    Description of the configuration options for installing Oracle Database
  5. In the Select Database Installation Option screen, select Single instance database installation and click Next.
  6. In the Select Database Edition screen, select Enterprise Edition and click Next.
  7. In the Specify Installation Location screen, select the directory for Oracle base, which is /u01/app/oracle and click Next.

    The Oracle base directory contains all Oracle software and configuration-related files installed by the installation owner.

    The Oracle home directory, /u01/app/oracle/product/18.0.0/dbhome_1 where the Oracle Database Software is installed is automatically populated based on the Oracle base directory.

  8. In the Create Inventory screen, select the inventory directory and oraInventory group name. Click Next.

    Note: The Create Inventory screen comes up only when you perform any Oracle software installation for the very first time, asking you for the inventory directory and the orainventory group name. The inventory directory is the same for all Oracle software installations. This screen is not displayed for subsequent installations of Oracle Database.

  9. In the Privileged Operating System groups screen, select the system privileges that are required to create a database. Click Next to start the prerequisite checks.
    Description of Privileged Operating System Groups
    Description of Privileged Operating System Groups screen
  10. In the Perform Prerequisite Checks screen, the installer verifies if the target environment meets the minimum installation and configuration requirements and reports any errors.
  11. In the Summary screen, verify the details and click Edit if you want to make any changes.

    Click Save Response File to save the response file. You can use this response file later to perform a silent installation of Oracle Database.

    Click Install to install the software.

  12. In the Install Product screen, you can see the installation in progress. The setup wizard prompts you to execute root scripts as a root user.
    Description of the Execute Configuration Scripts Screen
    Description of the Execute Configuration Scripts Screen
  13. Open a terminal window, log in as root and run the root scripts.

    When you run the root scripts, the ORACLE_OWNER and the ORACLE_HOME environment variables are set. You are prompted to enter the full path name of the local bin directory. The script also creates the /etc/oratab file, which contains information about automatic database startup and shutdown.

    Description of the Configuration Scripts Output Screen
    Description of the Configuration Scripts Output Screen
  14. Click Close to complete the installation.

next stepNext Tutorial

Enable a Read-Only Oracle Home and Create a Database