Skip to content

How to Install Oracle Database 21c on Windows

  • by

Extract Oracle DB Home 21.3 Image

Since release 18c, all database software installation packages has become image-based to save installation time, so we start the procedure from uncompressing DB home 21c image to ORACLE_HOME.

Extract Oracle DB Home Image - 01

Extract Oracle DB Home Image - 01

You don't need to create the directory of ORACLE_HOME in advance, it will be created if there's no such directory.

Extract Oracle DB Home Image - 02

Extract Oracle DB Home Image - 02

In this case, ORACLE_HOME is:

C:\app\oracle\product\21.3.0\dbhome_1

As a result, all files are extracted to ORACLE_HOME.

Extract Oracle DB Home Image - 03

Extract Oracle DB Home Image - 03

Install Oracle Software 21.3

After the image has been extracted, you can click on "Setup.exe", or run it in CMD command line.

C:\Users\Administrator>cd C:\app\oracle\product\21.3.0\dbhome_1

C:\app\oracle\product\21.3.0\dbhome_1>setup.exe
Launching Oracle Database Setup Wizard...
Oracle Software 21.3 Installation on Windows - 01

Oracle Software 21.3 Installation on Windows - 01

Oracle Software 21.3 Installation on Windows - 02

Oracle Software 21.3 Installation on Windows - 02

Oracle Software 21.3 Installation on Windows - 03

Oracle Software 21.3 Installation on Windows - 03

Oracle Software 21.3 Installation on Windows - 04

Oracle Software 21.3 Installation on Windows - 04

Oracle Software 21.3 Installation on Windows - 05

Oracle Software 21.3 Installation on Windows - 05

Oracle Software 21.3 Installation on Windows - 06

Oracle Software 21.3 Installation on Windows - 06

Oracle Software 21.3 Installation on Windows - 07

Oracle Software 21.3 Installation on Windows - 07

Oracle Software 21.3 Installation on Windows - 08

Oracle Software 21.3 Installation on Windows - 08

Oracle Software 21.3 Installation on Windows - 09

Oracle Software 21.3 Installation on Windows - 09

Create Oracle Database

We click on Database Configuration Assistant (DBCA) to initiate the database creation process.

Run DBCA (Database Configuration Assistant)

Run DBCA (Database Configuration Assistant)

Please note that, don't directly run dbca in CMD command line, it'll fail later.

Oracle Database 21.3 Creation - 01

Oracle Database 21.3 Creation - 01

Oracle Database 21.3 Creation - 02

Oracle Database 21.3 Creation - 02

Oracle Database 21.3 Creation - 03

Oracle Database 21.3 Creation - 03

Oracle Database 21.3 Creation - 04

Oracle Database 21.3 Creation - 04

Oracle Database 21.3 Creation - 05

Oracle Database 21.3 Creation - 05

Oracle Database 21.3 Creation - 06

Oracle Database 21.3 Creation - 06

Oracle Database 21.3 Creation - 07

Oracle Database 21.3 Creation - 07

Oracle Database 21.3 Creation - 08

Oracle Database 21.3 Creation - 08

Oracle Database 21.3 Creation - 09-1

Oracle Database 21.3 Creation - 09-1

Oracle Database 21.3 Creation - 09-2

Oracle Database 21.3 Creation - 09-2

Oracle Database 21.3 Creation - 09-3

Oracle Database 21.3 Creation - 09-3

Oracle Database 21.3 Creation - 09-4

Oracle Database 21.3 Creation - 09-4

Oracle Database 21.3 Creation - 10

Oracle Database 21.3 Creation - 10

Oracle Database 21.3 Creation - 11

Oracle Database 21.3 Creation - 11

Oracle Database 21.3 Creation - 12

Oracle Database 21.3 Creation - 12

Oracle Database 21.3 Creation - 12-1

Oracle Database 21.3 Creation - 12-1

Oracle Database 21.3 Creation - 12-2

Oracle Database 21.3 Creation - 12-2

Oracle Database 21.3 Creation - 12-3

Oracle Database 21.3 Creation - 12-3

Oracle Database 21.3 Creation - 12-4

Oracle Database 21.3 Creation - 12-4

Oracle Database 21.3 Creation - 13-1

Oracle Database 21.3 Creation - 13-1

Oracle Database 21.3 Creation - 13-2

Oracle Database 21.3 Creation - 13-2

Oracle Database 21.3 Creation - 13-3

Oracle Database 21.3 Creation - 13-3

Oracle Database 21.3 Creation - 13-4

Oracle Database 21.3 Creation - 13-4

Oracle Database 21.3 Creation - 14

Oracle Database 21.3 Creation - 14

Oracle Database 21.3 Creation - 15

Oracle Database 21.3 Creation - 15

The database is running.

One last move is to open port 1521 for your incoming connections on windows server.

Leave a Reply

Your email address will not be published.