Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
3 views4 pages

Chapter 3 DB Software Installation and DB Creation

This document provides a step-by-step guide for installing Oracle Database Software 19c on Oracle Linux 7.4 using VirtualBox. It includes instructions for setting up the virtual machine, configuring network settings, installing necessary packages, and creating the database. Key steps involve configuring static IP, disabling firewall and SELinux, and executing the Oracle installer to create a database.

Uploaded by

Parth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views4 pages

Chapter 3 DB Software Installation and DB Creation

This document provides a step-by-step guide for installing Oracle Database Software 19c on Oracle Linux 7.4 using VirtualBox. It includes instructions for setting up the virtual machine, configuring network settings, installing necessary packages, and creating the database. Key steps involve configuring static IP, disabling firewall and SELinux, and executing the Oracle installer to create a database.

Uploaded by

Parth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

DBA Trainer Oracle DBA - Installation Oracle DB Software www.dbatrainer.

com

Installation Oracle Database Software 19c

1. Install VirtualBox + Extension Pack.

https://www.virtualbox.org/wiki/Download_Old_Builds_6_0

2. Install Putty

3. Create New Virtual Box to install Oracle Linux 7.4 - size - Dynamic - 80 GB + 1 Host Network
adapter for static IP. (192.168.56.15)

Download – edelivery.oracle.com (Sign up for oracle account if not created)

Partitions -

/ - 20 GB

/u01 - 25 GB

/u02 - 25 GB

/tmp - 5 GB

swap - 5 GB

-- Perform all steps as root user.

4. Install Guest Additions on Oracle Linux 7.2

5. Static IP configuration

192.168.56.15

6. Putty Configuration

7. Disable Firewall

systemctl stop firewalld

systemctl disable firewalld

8. Disable SELIUX

vi /etc/sysconfig/selinux

DBA Trainer -Online Oracle DBA Training InstitutePage 1


DBA Trainer Oracle DBA - Installation Oracle DB Software www.dbatrainer.com

disabled

9. Hostname

cat /etc/hostname

vi /etc/sysconfig/network

HOSTNAME=ORACLE19C

10 . Add Static IP Information in /etc/hosts

192.168.56.15 ORACLE

11. Download WinSCP and install it on Windows Machine.

12. Copy RPMs from windows to Linux Box

$chmod -R 775 RPMs/

1) rpm –Uvh libaio-0.3.109-13.el7.x86_64.rpm – this is already installed

2) rpm -Uvh libaio-devel-0.3.109-13.el7.x86_64.rpm

3) rpm -Uvh ksh-20120801-10.el6.x86_64.rpm

5) rpm -Uvh unixODBC-2.2.14-11.el6.x86_64.rpm

6) rpm -Uvh unixODBC-devel-2.2.14-11.el6.x86_64.rpm

7) rpm -Uvh kmod-20-21.el7.x86_64.rpm

8) rpm -Uvh kmod-libs-20-21.el7.x86_64.rpm

9) yum install -y oracle-database-preinstall-19c( Internet connectivity required on Linux Box )

14. create oracle user / check oracle user exists or not.

id oracle

passwd oracle

15. Create a Directory structure to install Oracle database Software.

DBA Trainer -Online Oracle DBA Training InstitutePage 2


DBA Trainer Oracle DBA - Installation Oracle DB Software www.dbatrainer.com

mkdir -p /u01/app/oracle/product/19.3.0/db_1

chmod -R 775 /u01 /u02

chown -R oracle:oinstall /u01 /u02

---Do below activity as Oracle User.---

16. Copy Software from Windows to Linux and unzip it as Oracle User

Copy 19c Software to this location directly - /u01/app/oracle/product/19.3.0/db_1 and then


unzip it

17. Setting up .bash_profile as Oracle User

export ORACLE_BASE=/u01/app/oracle/

export DB_HOME=$ORACLE_BASE/product/19.3.0/db_1

export ORACLE_HOME=$DB_HOME

export BASE_PATH=/usr/sbin:$PATH

export PATH=$ORACLE_HOME/bin:$BASE_PATH

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib

export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib

18 . Install Database Software 19c on Linux Machine.

./runInstaller

19. Create a database

Create Non-CDB Database using DBCA

DBA Trainer -Online Oracle DBA Training InstitutePage 3


DBA Trainer Oracle DBA - Installation Oracle DB Software www.dbatrainer.com

CDB + PDB

DBA Trainer -Online Oracle DBA Training InstitutePage 4

You might also like