This article explains the steps to install the Oracle database 19c3 software while creating an Oracle database CDB on Oracle ASM disk group on Oracle Linux 7u5.
Tables of contents:
- Install all the prerequists
- Unzip the Oracle database binary
- Install the Oracle database software
1. Install all the prerequists
We have already the Oracle Grid Infrastructure installed on the Oracle Linux, so all the system Linux prerequists have been installed.
Install Oracle Grid Infrastructure Standalone 19c3
Create a new ASM DiskGoup on 19c3
2. Unzip the Oracle Databas Home binary :
# mkdir –p /u01/app/oracle/product/19.3.0/dbhome_1
# chown –R oracle :oinstall /u01/app/oracle
# chmod –R 775 /u01/app/oracle
$ unzip LINUX.X64_193000_db_home.zip -d /u01/app/oracle/product/19.3.0/dbhome_1
2. Install the Oracle database software:
Step 1 : Install the Software :
$ cd /u01/app/oracle/product/19.3.0/dbhome_1
$ ./runInstaller
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-1.png)
Step 2 : Choose System Server Class
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-2.png)
Step 3 : Which database edition.
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-3.png)
Step 4 : Oracle Base destination
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-4.png)
Step 5 : Database type
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-5.png)
Step 6 : Specify database identifiers
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-6.png)
Step 7a : Enable/Disable automatic memory management
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-7-01.png)
Step 7b : Choose the character sets
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-7-02.png)
Step 7c : Install or not the sample schemas in the database
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-7-03.png)
Step 8 : Specify database storage options, choose ASM
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-8.png)
Step 9 : Specify management options
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-9.png)
Step 10 : Enable/disable recovery
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-10.png)
Step 11 : Select ASM disk group
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-11.png)
Step 12 : Set up the ASM password
Step 13 : Set privileged operating system groups
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-13.png)
Step 14 : root script execution configuration
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-14.png)
Step 15 : Perform prerequisite checks
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-15.png)
Note : In my case, I have only ignored the swap, but not recommanded for production
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-15-error.png)
Step 16 : begin Installation
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-16.png)
Step 17 : Installation progress
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-17.png)
Step 18 : End of installation
![](https://wadhahdaouehi.tn/wp-content/uploads/2019/05/install-Oracle-database-19c3-ASM-Standalone-Step-18.png)
3. Check the Oracle database resource within the Grid Infrastructure :
$ crsctl stat res -t
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg ONLINE ONLINE ol7u5-19c STABLE
ora.FRA.dg ONLINE ONLINE ol7u5-19c STABLE
ora.LISTENER.lsnr ONLINE ONLINE ol7u5-19c STABLE
ora.asm ONLINE ONLINE ol7u5-19c Started,STABLE
ora.ons OFFLINE OFFLINE ol7u5-19c STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
1 ONLINE ONLINE ol7u5-19c STABLE
ora.diskmon
1 OFFLINE OFFLINE STABLE
ora.evmd
1 ONLINE ONLINE ol7u5-19c STABLE
ora.orcl.db
1 ONLINE ONLINE ol7u5-19c Open,HOME=/u01/app/oracle/product/19.3.0/dbhome_1,STABLE
--------------------------------------------------------------------------------
[oracle@ol7u5-19c dbhome_1]$
Conclusion :
We have enjoyed the creation on an Oracle database ORCL CDB with 19c3 on ASM within Oracle Linux 7u5.