How to install Oracle database 19c on Linux || Oracle 19c Installation on Linux 7.8 step by step guide || Oracle 19c Installation on Linux 8 step by step
Learn How to install Oracle database 19c on Linux
In this tutorial, I will guide you to perform the oracle 19c installation step by step.
For downloading software refer below links:
1. For Oracle RDBMS 19c software check the below link:
2. Download Oracle Linux 7.8 from the below link:
3. Download VirtualBox from below link:
Simple Steps for Oracle 19c Single Instance Software Installation and database creation on Linux Platform. This Tutorial has been successfully tested on Oracle Linux 7.8 version on Virtual Box
STEP1: Install the 19c preinstall package using the yum command.
From root user:
yum install -y oracle-database-preinstall-19c
crosscheck >>> cat /etc/sysctl.conf
or
sysctl -p
STEP2: Change Oracle USER password.
Set Oracle password : passwd oracle
STEP3: Create required directories for 19c software and data files.
Create required directories for oracle 19c software and datafiles and archive log
mkdir -p /u01/app/oracle/product/19c/db_1/
mkdir -p /u01/app/oracle/oradata/
mkdir -p /u01/app/oracle/FRA/
chown -R oracle:oinstall /u01/
chmod -R 775 /u01/
STEP4: Set bash_profile from oracle user.
From oracle user:
Set bash_profile i.e. environment variables.
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_BASE=/u01/app/oracle
export DB_HOME=$ORACLE_BASE/product/19c/db_1
export ORACLE_HOME=$DB_HOME
export ORACLE_SID=test
export ORACLE_TERM=xterm
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
STEP5: Set limits from the root user.
From root user:
Add the below entries in /etc/security/limits.conf file which will define the limits
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
STEP6: Copy Binary files into oracle home and unzip.
From oracle user:
Unzip oracle 19c software which is already copied on the server.
cd /u01/app/oracle/product/19c/db_1/
unzip LINUX.X64_193000_db_home.zip
STEP7: Invoke runInstaller after setting Display (note: if you want you can use Mobaxterm which does not require Display settings).
Login to oracle user and set DISPLAY
DISPLAY=<machine-name>:0.0;
export DISPLAY
Set profile and go to ORACLE_HOME location and run the following command and follow the steps.
cd $ORACLE_HOME
./runInstaller
STEP8: Verification.
for verification use:
sqlplus -v
or check
cat /etc/oraInst.loc
cd /u01/app/oraInventory/ContentsXML
cat inventory.xml
STEP 9: Create a database using the DBCA utility.
Create a database using dbca utility.
Done...!!!
Thanks for Reading.
For More details check our video on YouTube.
-----------------------------------------------
Join Our Live training
#Oracle19c #OracleDBA #DatabaseInstallation #LinuxInstallation #OracleOnLinux #StepByStepGuide #DBA #DatabaseAdmin #OracleDatabase #Linux #OracleInstallation #OracleLinux #TechTutorial #DatabaseManagement #OracleSetup #ITTraining #DatabaseGuide #OracleTutorial #LinuxGuide #OracleConfiguration #DatabaseTips #InstallationGuide #Oracle19cSetup #OracleDBA19c #LinuxDBA
Commenti