Running Oracle Universal Installer 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.

  1. Login as an Administrator user. Follow the Oracle Optimal Flexible Architecture (OFA) recommendations and specify the correct owner, group, and permissions for this directory.
    C:\>md C:\app\oracle
    C:\>icacls oracle:oinstall C:\app\oracle

    If you are installing on a Primary Domain Controller (PDC) or a Backup Domain Controller (BDC), log on as a member of the Domain Administrators group.

  2. If you are installing Oracle Database on a computer with multiple Network Interface Cards or multiple aliases, use System in the Control Panel to create the ORACLE_HOSTNAME system environment variable. Set this variable to point to the host name of the computer on which you are installing Oracle Database.
  3. Log in to the Oracle Database server as the Oracle Database software owner user (oracle).
  4. Download the Oracle Database 21c release 21.3 installation image file (db_home.zip) from Oracle Software Delivery Cloud website to a directory of your choice.
  5. Create an OFA-compliant Oracle home directory on the local file system and extract the image files that you have downloaded in to this Oracle home directory. For example:
    C:\>md C:\app\oracle\product\21.0.0\dbhome_1
    C:\>cd C:\app\oracle\product\21.0.0\dbhome_1
    C:\app\oracle\product\21.0.0\dbhome_1> unzip \tmp\db_home.zip
  6. From the Oracle home directory, run the setup.exe command to start the Oracle Database Setup Wizard.
    Starting with Oracle Database 21c, installation of non-CDB Oracle Database architecture is no longer supported.

    The non-CDB architecture was deprecated in Oracle Database 12c. It is desupported in Oracle Database 21c. Oracle Universal Installer can no longer be used to create non-CDB Oracle Database instances.

    C:\app\oracle\product\21.0.0\dbhome_1>setup.exe

    Note:

    Run the setup.exe command from the Oracle home directory only. Do not use the setup.exe command that resides at %ORACLE_HOME%\oui\bin\, or any other location, to install Oracle Database.
  7. In the Select Configuration Option screen, select Set Up Software Only.
  8. In the Select Database Installation Option screen, select Single instance database installation.
  9. In the Select Database Edition screen, select Enterprise Edition.
  10. Respond to the configuration prompts as needed.

    Note:

    Click Help if you have any questions about the information you are asked to submit during installation.
  11. When the Configuration Assistant tasks are complete, click Finish, click Exit, then click Yes to exit from Oracle Universal Installer.
  12. See for information about tasks that you must complete after you have installed Oracle Database.