Tag Archives: How to install 19C step by step on linux

Install 19c

Step by Step Install Oracle 19c Release 3 on Linux 7.5

Pre-requisites already been taken care like memory, swap, kernel parameters, add groups, profile and users…etc

Table of Contents
___________________________________________________________________________________________________

1. Hardware Requirements
2. Verify OS version
3. Download 19c db software
4. Unzip
5. Oracle Installation Prerequisites
6. Set the DISPLAY Environment
7. Invoke ./runInstaller
8. Verify
___________________________________________________________________________________________________


1. Hardware Requirements

The first thing we need to verify the hardware requirements for an Oracle 19c Release 3

— Check Physical RAM.
# grep MemTotal /proc/meminfo
We need at least 8192 MB of physical RAM. <----

— Check Swap Space.
# grep SwapTotal /proc/meminfo/*
RAM up to 1024MB then swap = 2 times the size of RAM
RAM between 2049MB and 8192MB then swap = equal to the size of RAM
RAM more than 8192MB then swap size = 0.75 times the size of RAM

We need at least 8192 MB of swap <----


-– Check space available in /tmp
# df -h /tmp/*
You need to have at least 2048 MB of space in the /tmp directory. <---

-– Check space for Oracle Software and pre-configured database.
# df -h

Space requirement for Oracle 19c Software:
Enterprise Edition 10G  <---- Minimum

[oracle@rac1 19.0.0]$ du -sh dbhome_1
9.9G    dbhome_1
[oracle@rac1 19.0.0]$

—- To determine whether the system architecture can run the software, enter the following command:

# grep "model name" /proc/cpuinfo

This command displays the processor type. Verify that the processor architecture matches the Oracle software release that you want to install. If you do not see the expected output, then you cannot install the software on this system.


2. Verify OS version

[oracle@rac1 ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5
[oracle@rac1 ~]$


3. Download Software

Download the Oracle software from OTN or MY ORACLE SUPPORT (MOS).

https://www.oracle.com/database/technologies/oracle19c-linux-downloads.html


4. Unzip Software

NOTE: You can't edit oracle home location while installation using OUI. It will pickup automatically ORACLE HOME location, where you have unzipped database binaries. Hence directly unzip in ORACLE HOME location and then start ./runInstaller

After unzip, it will NOT keep all files in single directory like 10g,11g and 12c.

[oracle@rac1 dbhome_1]$ pwd
/u01/app/oracle/product/19.0.0/dbhome_1
[oracle@rac1 dbhome_1]$ ls -ltr
-rwxrwxr-x. 1 oracle oinstall 3059705302 Jan 24 20:25 LINUX.X64_193000_db_home.zip
[oracle@rac1 dbhome_1]$

[oracle@rac1 dbhome_1]$ unzip LINUX.X64_193000_db_home.zip

[oracle@rac1 ~]$ cd /u01/app/oracle/product/19.0.0/dbhome_1/
[oracle@rac1 dbhome_1]$ ls -ltr
total 2988120
-rw-r--r--.  1 oracle oinstall        852 Aug 18  2015 env.ora
-rw-r--r--.  1 oracle oinstall       2927 Oct 15  2016 schagent.conf
-rwxr-x---.  1 oracle oinstall       1783 Mar  9  2017 runInstaller
drwxr-x---. 14 oracle oinstall       4096 Apr 12  2019 OPatch
drwxr-x---.  7 oracle oinstall         69 Apr 17  2019 xdk
drwxr-xr-x.  3 oracle oinstall         19 Apr 17  2019 wwg
drwxr-xr-x.  4 oracle oinstall         31 Apr 17  2019 usm
drwxr-xr-x.  5 oracle oinstall         45 Apr 17  2019 suptools
drwxr-xr-x.  6 oracle oinstall         54 Apr 17  2019 srvm
drwxr-xr-x.  3 oracle oinstall         17 Apr 17  2019 sqlj
drwxr-xr-x.  4 oracle oinstall         41 Apr 17  2019 sqldeveloper
drwxr-xr-x.  3 oracle oinstall         18 Apr 17  2019 slax
-rw-r-----.  1 oracle oinstall         10 Apr 17  2019 root.sh.old.1
drwxr-xr-x.  3 oracle oinstall         21 Apr 17  2019 relnotes
drwxr-xr-x.  4 oracle oinstall         29 Apr 17  2019 racg
drwxr-xr-x.  5 oracle oinstall         52 Apr 17  2019 R
drwxr-xr-x.  5 oracle oinstall         39 Apr 17  2019 perl
drwxr-xr-x.  4 oracle oinstall         33 Apr 17  2019 owm
drwxr-xr-x.  3 oracle oinstall         19 Apr 17  2019 oss
drwxr-xr-x.  6 oracle oinstall         52 Apr 17  2019 ord
drwxr-xr-x.  4 oracle oinstall         34 Apr 17  2019 oracore
drwxr-xr-x.  7 oracle oinstall         65 Apr 17  2019 opmn
drwxr-xr-x.  5 oracle oinstall         42 Apr 17  2019 olap
drwxr-xr-x.  5 oracle oinstall         46 Apr 17  2019 nls
drwxr-xr-x.  4 oracle oinstall         31 Apr 17  2019 mgw
drwxr-xr-x.  9 oracle oinstall       4096 Apr 17  2019 md
drwxr-xr-x. 10 oracle oinstall       4096 Apr 17  2019 ldap
drwxr-xr-x.  3 oracle oinstall         18 Apr 17  2019 has
drwxr-xr-x.  3 oracle oinstall         19 Apr 17  2019 dv
drwxr-xr-x.  3 oracle oinstall         20 Apr 17  2019 diagnostics
drwxr-xr-x.  3 oracle oinstall         20 Apr 17  2019 demo
drwxr-xr-x.  3 oracle oinstall         19 Apr 17  2019 dbjava
drwxr-xr-x.  3 oracle oinstall         20 Apr 17  2019 data
drwxr-xr-x.  7 oracle oinstall         71 Apr 17  2019 cv
drwxr-xr-x.  3 oracle oinstall         18 Apr 17  2019 css
drwxr-xr-x.  6 oracle oinstall         55 Apr 17  2019 crs
drwxr-xr-x.  6 oracle oinstall         78 Apr 17  2019 plsql
drwxr-xr-x.  2 oracle oinstall         22 Apr 17  2019 dbs
drwxr-xr-x.  2 oracle oinstall         33 Apr 17  2019 utl
drwxr-xr-x.  2 oracle oinstall         29 Apr 17  2019 instantclient
drwxr-xr-x. 13 oracle oinstall       4096 Apr 17  2019 dmu
drwxr-xr-x.  3 oracle oinstall         35 Apr 17  2019 ucp
drwxr-xr-x.  3 oracle oinstall         35 Apr 17  2019 jdbc
drwxr-xr-x.  2 oracle oinstall         26 Apr 17  2019 QOpatch
drwxr-xr-x.  4 oracle oinstall         66 Apr 17  2019 ords
drwxr-xr-x.  5 oracle oinstall       4096 Apr 17  2019 sdk
drwxr-xr-x.  6 oracle oinstall       4096 Apr 17  2019 apex
drwxr-xr-x.  8 oracle oinstall       4096 Apr 17  2019 odbc
drwxr-xr-x.  2 oracle oinstall       4096 Apr 17  2019 jlib
drwxr-xr-x.  4 oracle oinstall         30 Apr 17  2019 drdaas
drwxr-xr-x. 11 oracle oinstall       4096 Apr 17  2019 ctx
-rwx------.  1 oracle oinstall        786 Apr 17  2019 root.sh.old
drwxr-xr-x. 10 oracle oinstall       4096 Apr 17  2019 network
drwxr-xr-x.  5 oracle oinstall         41 Apr 17  2019 hs
drwxr-xr-x.  9 oracle oinstall         93 Apr 17  2019 assistants
drwxr-xr-x.  6 oracle oinstall         53 Apr 18  2019 sqlplus
-rwx------.  1 oracle oinstall        638 Apr 18  2019 root.sh
drwxr-xr-x.  8 oracle oinstall       4096 Apr 18  2019 oui
drwxr-xr-x.  5 oracle oinstall       4096 Apr 18  2019 deinstall
drwxr-xr-x.  4 oracle oinstall         87 Apr 18  2019 clone
drwxr-xr-x.  2 oracle oinstall       4096 Apr 18  2019 addnode
drwxr-xr-x.  4 oracle oinstall       4096 Apr 18  2019 sqlpatch
drwxr-xr-x. 13 oracle oinstall       4096 Apr 18  2019 rdbms
drwxr-xr-x.  6 oracle oinstall         56 Apr 18  2019 precomp
drwxr-xr-x.  4 oracle oinstall      12288 Apr 18  2019 lib
drwxr-xr-x.  6 oracle oinstall       4096 Apr 18  2019 jdk
drwxr-xr-x.  8 oracle oinstall         82 Apr 18  2019 javavm
drwxr-x---. 13 oracle oinstall       4096 Apr 18  2019 inventory
drwxr-xr-x.  2 oracle oinstall       8192 Apr 18  2019 bin
drwxr-xr-x. 10 oracle oinstall       4096 Apr 18  2019 install
-rwxrwxr-x.  1 oracle oinstall 3059705302 Jan 24 20:25 LINUX.X64_193000_db_home.zip
drwxr-xr-x.  3 oracle oinstall         17 Jan 26 02:03 cfgtoollogs
[oracle@rac1 dbhome_1]$


5. Oracle Installation Prerequisites

[root@rac1 ~]# yum install -y oracle-database-preinstall-19c
Loaded plugins: langpacks, ulninfo
ol7_UEKR4                                                       | 2.5 kB  00:00:00
ol7_latest                                                      | 2.7 kB  00:00:00
(1/4): ol7_UEKR4/x86_64/updateinfo                              |  87 kB  00:00:00
(2/4): ol7_UEKR4/x86_64/primary_db                              | 5.6 MB  00:00:02
(3/4): ol7_latest/x86_64/primary_db                             |  26 MB  00:00:04
(4/4): ol7_latest/x86_64/updateinfo                             | 2.6 MB  00:00:04
Resolving Dependencies
--> Running transaction check
---> Package oracle-database-preinstall-19c.x86_64 0:1.0-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
 Package                                                 Arch                            Version                              Repository                           Size
========================================================================================================================================================================
Installing:
 oracle-database-preinstall-19c                          x86_64                          1.0-1.el7                            ol7_latest                           18 k

Transaction Summary
========================================================================================================================================================================
Install  1 Package

Total download size: 18 k
Installed size: 55 k
Downloading packages:
oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm                                                                                              |  18 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : oracle-database-preinstall-19c-1.0-1.el7.x86_64                                                                                                      1/1
  Verifying  : oracle-database-preinstall-19c-1.0-1.el7.x86_64                                                                                                      1/1

Installed:
  oracle-database-preinstall-19c.x86_64 0:1.0-1.el7

Complete!
[root@rac1 ~]#


6. Set the DISPLAY Environment

Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable.

[oracle@rac1 dbhome_1]$ export DISPLAY=192.168.2.1:0.0;


7. Invoke ./runInstaller

Start the Oracle Universal Installer (OUI) by issuing the following command.



























8. Verify

[oracle@rac1 bin]$ pwd
/u01/app/oracle/product/19.0.0/dbhome_1/bin
[oracle@rac1 bin]$
[oracle@rac1 bin]$ export ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1
[oracle@rac1 bin]$
[oracle@rac1 bin]$ ./sqlplus

SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 26 02:26:02 2020
Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle.  All rights reserved.

Enter user-name:

Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.

Thank you,
Rajasekhar Amudala
Email: br8dba@gmail.com
WhatsApp : +
Linkedin: https://www.linkedin.com/in/rajasekhar-amudala/