COLLEGE OF ENGINEERING
Bachelor of Science in Computer Engineering
Computer Architecture and Organization
Members:
Ruiz, Edsel Anthony
Manalastas, Zharren De Belen
Vicerra II, Jaysthon
ENGR. RICHARD DINGAL
Submitted to:
December 05, 2024
Date:
1
COLLEGE OF ENGINEERING
Bachelor of Science in Computer Engineering
How to install Oracle Database 19c on Oracle Linux/RHEL 8
Follow the steps:
Step 1: Open Command Prompt (In your PC/Desktop)
Step 2: Type ‘yum install -y oracle-database-preinstall -19c’
Wait for the packages to install
Step 3: Type ‘passwd oracle’ and then create new password for your oracle
Step 4: Type ‘mkdir -p /u01/app/oracle/product/19.3/db_home’
Step 5: Type ‘chown -R oracle: oinstall /u01’
Step 6: Type ‘chmod -R 775 /u01’
Step 7: Type ‘su – oracle’
Step 8: Type ‘$ vi .bash_profile’
Step 9: remove this by pressing ‘~’ and then type ‘I’ then paste the entire code from “ #
.bash_profile” to export PATH
Step 10: Press the “Escape” then colon type ‘WQ!’
Step 11: Type ‘more .bash_profile’ and then enter
Step 12: Type ‘$ . .bash_profile’
2
COLLEGE OF ENGINEERING
Bachelor of Science in Computer Engineering
Now you have to download Oracle 19c from Chrome or Firefox
Go to this link and download the Oracle 19c
https://www.oracle.com/database/technologies/oracle19c-linux-downloads.html
Click the “oracle-database-ee-19c-1.0-1x86_64.rpm.” (Recommended)
Click and check the “I reviewed and accept the Oracle License Agreement”
And then download the “oracle-database-ee-19c-1.0-1x86_64.rpm”
After you download the “oracle-database-ee-19c-1.0-1x86_64.rpm”
Login to your oracle account but if you don’t have you can create account below the login
3
COLLEGE OF ENGINEERING
Bachelor of Science in Computer Engineering
After login, save the file and you can now download the “oracle-database-ee-19c-1.0-
1x86_64.rpm”
Wait for the file to download, the file has a “2.8GB” of size
After it is done downloading
Open a new terminal in your windows/Linux
Type “cd Downloads/”
Type “cp LINUX.X64_193000_db_home.zip /u01/app/oracle/product/” then press
enter
Type “19.3/db_home/”
Now go back to previous terminal to unzip the file
Type “unzip -qo LINUX.X64_193000_db_home.zip” then press enter
Switch to your root user
Type “cd $ORACLE_HOME”
Type “u01/app/oracle/product/19.3/db_home/”
Type “ls”
Type “./runinstaller”
If it shows ERROR
Then go to new terminal
Type “su – oracle”
Type “cd $ORACLE_HOME”
Type “ls”
Type “./runinstaller”
Then the file will launch….
4
COLLEGE OF ENGINEERING
Bachelor of Science in Computer Engineering
Click “No”
Type “export CV_ASSUME_DISTID=0EL7.8”
Type “./runinstaller” then press enter
keep clicking “next” until you are in “Typical Installation”
Set up a password
Click and check the “Create as Container database”
Then click “next”
Click “Yes”
keep clicking “next” until you are in “Root script execution”
5
COLLEGE OF ENGINEERING
Bachelor of Science in Computer Engineering
Then click and check the box and type your password
Then click “next”
keep clicking “next” until you are in “Install Product”
then click “install” now
wait for the application to install
Then click “Yes”
And after the application were finish then you may close it now
Type “sqlplus / as sysdba” then press enter
Type “select instance_name, status from v$instance;” then press enter
Switch to your root user
Type “export ORACLE_SID=orcl
Type “sqlplus / as sysdba” then press enter
Type “select instance_name, status from v$instance;” then press enter
Type “startup”
Type “shutdown”
Then type “startup” again
Type “select instance_name, status from v$instance;” then press enter
6
COLLEGE OF ENGINEERING
Bachelor of Science in Computer Engineering
THEN YOU ARE DONE/COMPLETED
Conclusion:
This guide walks you through setting up Oracle Database 19c on Oracle Linux/RHEL 8
from start to finish. It covers everything from prepping the environment to configuring and
verifying the installation. Follow the steps as outlined, and you’ll have a fully operational
Oracle Database 19c up and running without a hitch.
URL LINK IF YOU WANT A VIDEO TUTORIAL:
https://www.youtube.com/watch?v=LWxhTu1hYc0&t=184s