Running Oracle Database Setup Wizard to Install Oracle Database

Extract the database image files and use the runInstaller command to start the installation.

Have all the information you need to provide regarding users groups, and storage paths before you start installation. Oracle recommends that you have your My Oracle Support credentials available during installation. You should also be prepared to run root scripts or provide information to automate root scripts.

  1. Log in as the Oracle installation owner user account (oracle) that you want to own the software binaries.
  2. Download the Oracle Database installation image files (db_home.zip) to a directory of your choice. For example, you can download the image files to the /tmp directory.
  3. Create the Oracle home directory and extract the image files that you have downloaded in to this Oracle home directory. For example:
    $ mkdir -p /u01/app/oracle/product/19.0.0/dbhome_1
    $ chgrp oinstall /u01/app/oracle/product/19.0.0/dbhome_1
    $ cd /u01/app/oracle/product/19.0.0/dbhome_1
    $ unzip -q /tmp/db_home.zip

    Note:

    Oracle recommends that the Oracle home directory path you create is in compliance with the Oracle Optimal Flexible Architecture recommendations. Also, unzip the installation image files only in this Oracle home directory that you created.
  4. From the Oracle home directory, run the runInstaller command to start the Oracle Database Setup Wizard.
    $ cd /u01/app/oracle/product/19.0.0/dbhome_1
    $ ./runInstaller
    

    Note:

    Run the runInstaller command from the Oracle home directory only. Do not use the runInstaller command that resides at $ORACLE_HOME/oui/bin/, or any other location, to install Oracle Database, Oracle Database Client, or Oracle Grid Infrastructure.
  5. In the Select Configuration Option screen, select Create and configure a single instance database.
  6. Select your installation type.

    Installation screens vary depending on the installation option you select. Respond to the configuration prompts as needed.

  7. Provide information to automate root scripts, or run scripts as root when prompted by the setup wizard.

    If you configure automation for running root scripts, and a root script fails, then you can fix the problem manually, and click Retry to run the root script again.

    Note:

    Click Help if you have any questions about the information you are asked to submit during installation.