Oracle Database 19c Step by Step Installation On Oracle Linux 7.6
Oracle Database 19c Step by Step Installation On Oracle Linux 7.6
This post describes the installation of Oracle Database 19c 64-bit on Oracle Linux 7.6 x86-64 bit. The
Linux server needs a minimum of 3G swap and secure Linux set to permissive. An example of this type
Download Software
Automatic Setup
If you are using RHEL7 or CentOS7, you can pick up the PRM from the OL7 repository and install it. It
database-preinstall-19c-1.0-1.el7.x86_64.rpm
Hosts File
Set a fully qualified name for the server in the "/etc/hosts" file.
# vi /etc/hosts
# vi /etc/hostname
arandy.cm
NB!! Make sure you can ping the hostname you added in the host file.
Additional Setup
# passwd oracle
# vi /etc/selinux/config
SELINUX=permissive
# setenforce Permissive
mkdir -p /u01/app/oracle/product/19.3.0/dbhome_1
mkdir -p /u02/oradata
Reboot the server and login in with the oracle user using the password that we set above.
Hope you haven’t forgotten your password if you have don’t worry just log in as the root user and reset
# reboot
$ vi .bash_profile
# Oracle Settings
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_HOSTNAME=arandy.cm
export ORACLE_UNQNAME=cdb1
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/19.3.0/dbhome_1
export ORA_INVENTORY=/u01/app/oraInventory
export ORACLE_SID=cdb1
export PDB_NAME=pdb1
export DATA_DIR=/u02/oradata
export PATH=/usr/sbin:/usr/local/bin:$PATH
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
$ . .bash_profile
Switch to the ORACLE_HOME directory and unzip the software directly into this path.
Please note that after you must have downloaded the installation file you have to transfer them into
the VM. This can be done with Filezilla or by using the scp command in the terminal.
$ cd $ORACLE_HOME
Log into the oracle user, start the Oracle Universal Installer (OUI) by issuing the following command
$ cd $ORACLE_HOME
$ ./runInstaller
Select the install option Set Up Software Only and click Next
Next:
Select the install option Single Instance database installation and click Next
Next:
Click Next.
Click Next.
Click Next.
Click Next.
Click Next.
Click Install.
# /u01/app/oraInventory/orainstRoot.sh
# /u01/app/oracle/product/19.0.0/dbhome_1/root.sh
Click Close.
Database Creation
You create a database using the Database Configuration Assistant (DBCA). The interactive mode will
$ lsnrctl start
To create the database using the interactive mode, start the Database Configuration Assistance (dbca)
by issuing the following command and follow the GUI guided steps
# Interactive mode.
$ dbca
Click Next.
Typical configuration:
Click Next.
Click Finish.
Database Summary.
Once the Database 19c successfully created, validate the database using the following command.
$ sqlplus / as sysdba
Caution: Any information or materials on this blog 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.
Thanks,
randyDBA { serving to discover }
REPLY
REPLY
REPLY
Thanks for sharing this great information on Oracle PPM Cloud. Actually I was looking for the same
information on internet for Oracle Project Portfolio Management (PPM) Cloud Tutorial and came across
your blog. I am impressed by the information that you have on this blog. It shows how well you
understand this subject, you can learn more about PPM Cloud by attending Oracle PPM Cloud Training .
REPLY
Popular Posts
Automating RMAN backup Jobs with CRON utility DBAs often debate
whether they should use Oracle Scheduler or the Linux/Unix cron utility
for scheduling and automating tasks. There are many benefits that Oracle
Scheduler has over cron, but yet despite these benefits, many DBAs prefer…
Oracle Audit Vault and Database Firewall Installation (Oracle Audit Vault
Server 12.2.0.4)
Powered by Blogger