Installing Oracle DB 19.0.0

Make Sure you fulfill the requirements:
OS: Oracle Linux 7/8

Run the following command

sudo yum update

Install the required packages

sudo yum install -y oracle-database-preinstall-19c

change oracle user password

sudo passwd oracle

create directories required for oracle

sudo mkdir -p /u01/app/oracle/product/19.0.0/dbhome_1
sudo mkdir -p /u01/app/oraInventory
sudo chown -R oracle:oinstall /u01
sudo chmod -R 775 /u01

Edit /etc/security/limits.conf

oracle soft nofile 1024
oracle hard nofile 65536
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft stack 10240
oracle hard stack 32768
oracle hard memlock 134217728
oracle soft memlock 134217728

Download Oracle DB zip file db_home on the Website

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

switch user to Oracle

su – oracle

Unzip the db_home.zip file to db_home directory created before

unzip -q LINUX.X64_193000_db_home.zip -d /u01/app/oracle/product/19.0.0/dbhome_1/

go to the dbhome_1 directory and run the installer script. (either use X11 forwarding or use oracle linux with GUI when installing )

cd /u01/app/oracle/product/19.0.0/dbhome_1/
./runInstaller

after running the installer( GUI) export oracle_home and add it to path

export ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1
export PATH=$PATH:$ORACLE_HOME/bin

run the following command

source ~/.bashrc

to create database, run

dbca

There will be GUI found after running dbca, choose create database.

Leave a Reply

Your email address will not be published. Required fields are marked *