Install Oracle Database 19.3c on CentOS 7

Kalana Eranda Jayasuriya
Level Up Coding
Published in
4 min readNov 5, 2020

--

What is Oracle Database?

Oracle Database is a multi-model database management system. It means a database that can store, index, and query data in more than one model. Also, it is a free product that can use by everyone.

What are the uses of Oracle Database?

Most commonly, it uses Data Warehousing (DW), Online Transaction Processing (OLTP), and both mix of DW and OLTP.

Evaluation of Oracle Database

Oracle started its first product as “Oracle v2” and then upgraded it until “Oracle 7.3” as regular versions.

After that, they evaluate their oracle versions using three categories that started in 1998.

  • The “i” version -: Stands for “internet.” Ex: Oracle 8i, Oracle 9i
  • The “g” version -: stands for grid computing. Ex: Oracle 10g, Oracle 11g
  • The “c” version -: stands for cloud computing. Ex: Oracle 12c, Oracle 18c, Oracle 19c

How to prepare the environment before installation beginning?

At this time, the most stable version of the Oracle Database version is 19.3c. To install that, I have selected CentOS 7 because it has better positive reviews than other versions of Linux platforms.

In my case, I used VMware to run CentOS. You can find the CentOS VM image from this web site.

After setting the CentOS7, it shows the CLI version. To get the GUI version to follow these methods.

After configuring GUI, we need to create a new user profile capable of supporting the Oracle Database. To create a new custom profile, follow this link and follow only from 2nd step to 4th step. Then sign out from the current profile and login to the newly created profile whose name is “oracle.” Password is also “oracle.”

After those steps, now we have to install the oracle database. Previously I told you, I have selected oracle 19.3c for this. Therefore, you can find the zip file using this link. In there, select the zip file that along with “Linux x86–64”.

After that, follow these lines using the terminal again.

[oracle@centos7 ~]# mkdir database[oracle@centos7 ~]# cd database

Then put the oracle installation zip file into the database folder.

[oracle@centos7 database]# unzip LINUX.X64_193000_db_home.zip[oracle@centos7 database]# ./runInstaller

After that Oracle Database installation wizard will appear

Then the wizard will open, and we can install our oracle database. Therefore, follow my steps.

Step 1 -: In the wizard select “Set Up Software Only” because I will install DBCA separately. Therefore, I will be able to set up all settings without any conflicts.

Step 2 -: Continue the wizard by clicking the next button until step 7. In step 7 select “Automatic check box” and set the root password to configure the root script. After step 7 continue the installation by clicking next.

Step 3 -: Then click “next” until finish.

In upcoming tutorials, I will teach you how to create CDB, PDB, Listeners and further more. Thank you!

  1. Part 2 Oracle Database 19.3c — Multitenant Architecture, Create CDB and PDB -: https://kalanaejayasuriya.medium.com/oracle-database-multitenant-architecture-create-cdb-and-pdb-4a9bb954803b
  2. Part 3Oracle Database — Create custom Listener and register it to a PDB in Oracle Database 19.3c -: https://kalanaejayasuriya.medium.com/create-custom-listener-and-register-it-to-a-pdb-f6c709d23054

--

--

Software Engineer at Kodez | Former Research Analyst at CoinGuru | Specialize in Data Science