19c Database Installation

Installing and Creating an oracle Database 19c on Red Hat Enterprise Linux Server release 7

Pre Installation Tasks

Download the oracle 19c software for oracle e-delivery

 

Download the software from http://edelivery.oracle.com. It comes in zip format.

 

Install the required RPM in Linux server

 

yum -y install oracle-database-ee-19c

yum install oracle*

yum install oracle* --skip-broken

 

OS Users and group creation

#groupadd oinstall

#groupadd dba

#groupadd oper

#useradd oracle

#useradd -g oinstall -G oinstall,dba,oper oracle

#passwd oracle (give the password for oracle)

 

Directory Creation

 

#mkdir -p /u01/app/oracle

#mkdir -p /u01/app/oraInventory

#chown -R oracle:oinstall /u01/app/oracle

#chown -R oracle:oinstall /u01/app/oraInventory

#chmod -R 775 /u01/app

 

Unzip and install the 19c software

 

$su - oracle

$mkdir -p /u01/app/oracle/product/19.0.0.0/dbhome_1

$mkdir -p /u01/patches/

 

 

#unzip /u01/patches/V982063-01.zip -d /u01/app/oracle/product/19.0.0.0/dbhome_1

#cd /u01/app/oracle/product/19.0.0.0/

#chown -R oracle:oinstall dbhome_1

 

$cd /u01/app/oracle/product/19.0.0.0/dbhome_1

$./runInstaller

 

 














[root@oraclelab1 ~]# /u01/app/oraInventory/orainstRoot.sh

Changing permissions of /u01/app/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions for world.

 

Changing groupname of /u01/app/oraInventory to oinstall.

The execution of the script is complete.

[root@oraclelab1 ~]#

[root@oraclelab1 ~]# /u01/app/oracle/product/19.0.0.0/dbhome_1/root.sh

Performing root user operation.

 

The following environment variables are set as:

    ORACLE_OWNER= oracle

    ORACLE_HOME=  /u01/app/oracle/product/19.0.0.0/dbhome_1

 

Enter the full pathname of the local bin directory: [/usr/local/bin]:

   Copying dbhome to /usr/local/bin ...

   Copying oraenv to /usr/local/bin ...

   Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Oracle Trace File Analyzer (TFA - Standalone Mode) is available at :

    /u01/app/oracle/product/19.0.0.0/dbhome_1/bin/tfactl

 

Note :

1. tfactl will use TFA Service if that service is running and user has been granted access

2. tfactl will configure TFA Standalone Mode only if user has no access to TFA Service or TFA is not installed

 

[root@oraclelab1 ~]#

 



  

Database creation Using DBCA utility

 

[oracle@oraclelab1 bin]$ pwd

/u01/app/oracle/product/19.0.0.0/dbhome_1/bin

[oracle@oraclelab1 bin]$ ls -ltr dbca

-rwxr-x---. 1 oracle oinstall 7749 Jul  8 21:30 dbca

[oracle@oraclelab1 bin]$ ./dbca

 



 

Here I create Normal database

 

Global database name we need to give our DB name

 

Global database name: DEVDB

Sys password: Manager@123

 

 



 


 


 

 

 DB creation Completed.

 

SQL> select name,created,open_mode,log_mode from v$database;

 

NAME          CREATED   OPEN_MODE                 LOG_MODE

--------- --------- -------------------- ------------

DEVDB          09-JUL-22 READ WRITE                 NOARCHIVELOG

 



 

 

Comments

Popular posts from this blog

How to troubleshoot long running concurrent request in R12.2

How to run Gather Schema Statistics in R12.2

How to compile forms in R12.2