DBMS LAB Manual
DBMS LAB Manual
Oracle Database 21c is the newest release from Oracle Corporation in it’s Oracle
Database line. Today in this tutorial I will show you how to install Oracle 21c on
Windows 10 or Windows 11 x64 Professional version.
Both these editions are bundled in the same file that I mentioned earlier. You
don’t need to download them separately. I have explained the process of
downloading Oracle Database 21c in my video tutorial. If you still have any
confusion then check out the video.
Desktop class is the minimal configuration of your Oracle Database. You select
this option when you are installing your Oracle DB on your desktop or laptop.
Server class, as the name suggests is a more advance installation of the Oracle
DB. You select this option when you are installing your Oracle Database on a
server grade systems.
For the demonstration here we will go with the 1st option which is desktop-class.
Step 3: Oracle Home User
In order to keep everything in control Oracle Server needs a windows user. And, in this
step Oracle Universal installer (The OUI) will give you 4 options to configure a windows
user for your Oracle Database. These 4 options are –
1. User Virtual Account You select this option when you neither want to create a
new nor want to use an existing windows user
2. Use Existing Windows User As the name suggests you go with this option
when you want to use an existing windows administrative or a standard
windows user for your Oracle Database
3. Create A New Windows User This is the most recommended option. In this
option you create a windows user which is dedicated only for your Oracle
Database. This newly created user doesn’t have logon privileges . Which
means you will not be able to log on to your windows OS using this user.
4. Use Windows Built-In Account This option will allow you to use all the windows
accounts which windows operating system has created for you during the
installation.
My recommendation is to go with the 3rd option and create a new Windows user which
is solely dedicated for the work of your Oracle Database.
Step 4: Typical Installation
This is most crucial step of the installation. Here you will configure the heart
of your Oracle Database 21c. I would suggest you to be very careful with this
step.
Recommended Action: refer to the attached picture for the recommended
values
Oracle Base: This is the base directory of all your Oracle products. This will
be the location where all the necessary directories like Oracle Home of your
Oracle 21c will be placed.
This is an editable drop down menu. Here you may already have one or two
option in the menu which you can choose as your Oracle Base location. You
can also select one of your own locations as oracle base if you want to, for
that simply press the browse button and select your desirable location.
Software Location: Software location also known as Oracle Home or DB
Home. This is a non-editable field. In image-based installation we cannot
change the Oracle home location. The Oracle Universal installer (OUI) takes
the location of setup files and assign it as a software location.
Database File location: This is the location where all the core files of the
Oracle Database 21c are stored. By core files I mean Data files, redo log
files, control files, server parameter files and the password files. For the
proper functioning of the Oracle DB all these files are very important.
Database Edition: This is another drop down list. This is already populated
field with all the available edition of the Oracle Database 21c. Currently
Oracle 21c is available in two editions.
1. Enterprise Edition, and
2. Oracle Standard Edition 2
Character Set: This field lets you set the character set of your database.
Global Database Name: Global database name is the name of your
database and serves as your database SID. You will need this global
database name for making connection with your database using software
like SQL Developer. By default it is set as ORCL. If you want you can change
it but I would recommend you to save the information somewhere securely.
Password: This will be the password for your Oracle Database’s
administrative users like SYS and SYSTEM. These administrative users are
the special users. Using them you can change the core settings of your
Oracle Database thus it is always advisable to set a strong password for
them.
Pluggable Database name: The last field of this step is the pluggable
database name. Here you will set a unique name for the pluggable database.
By default it is set to “ORCLPDB” if you want you can change it. This
pluggable database will serve as a template for all the PDBs that you will be
creating in the future.
Step 7: Oracle EM
Once the installation is done the Oracle Universal Installer will show you a
URL. Using this URL you can access the Oracle Enterprise manager. To know
about Oracle Enterprise Manager check out the series that I did a short while
ago.