KEMBAR78
Installation of Linux and Oracle DB | PDF | Computing Platforms | Operating System Families
0% found this document useful (0 votes)
22 views46 pages

Installation of Linux and Oracle DB

This document provides a step-by-step guide for installing a virtual machine and Oracle Database Enterprise Edition using VirtualBox. It includes instructions for setting up the virtual machine, installing the operating system, and configuring the Oracle database environment. The guide concludes with commands to verify the database installation and start the SQLPlus interface.

Uploaded by

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

Installation of Linux and Oracle DB

This document provides a step-by-step guide for installing a virtual machine and Oracle Database Enterprise Edition using VirtualBox. It includes instructions for setting up the virtual machine, installing the operating system, and configuring the Oracle database environment. The guide concludes with commands to verify the database installation and start the SQLPlus interface.

Uploaded by

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

Virtual machine Installation and Oracle Database Enterprise Edition

Installationguide
-> Open Virual Box
-> Click on New
-> Give Name to your Virtual machine
-> Select ISO File

W
->

Select Unattended installation

-> Click Next


GiveBaseMemory (RAM) around 8 GB
-> Give 1 CPU
-> Click Next
->
GiveStorage Size to Virtualmachine (Around 50 – 125GB)

-> Click Next


RightClickon themachineyoucreated in Virtual Boxand go toSettings
->

Go toStorage andYou willseean Unattended Disk .Click on itand in right side you will find a disk symbol, click on it and again select
your iso file
->

-> Click on OK Button


StartYourVirtualmachineandYou will see an Installation page
->

-> Press Enter or It will automatically start installation in few seconds.


then you will see a Welcome Window.
-> Choose your preferred language and Keyboard.
-> Click Next
In next page you will find following
page.
-> Set the root password
-> Click on Installation destination
 Select Disk and Click on Done
 Clickon Begin Installation
 Installation has been started
 When Installation is done, Click on Reboot System
-> After Reboot you will find following window
-> Click on License Information then accept the terms C Condition then click on done
-> Click on Finish Configuration
 Boom! Linux Virtual machine has been Installed on your machine.
Nowlogin as Root User and open Terminal -
> add two groups dba and oinstall groupadd
dba groupadd oinstall
-> add a user oracle with primary group oinstall and additional group
dba useradd –g oinstall –G dba oracle -> set password for oracle user
passwd oracle
login as oracle user
-> Open Browser and go to edelivery page of
oracle https://edelivery.oracle.com/ -> Sign In
/ Create Oracle Account
 Search for Oracle Database 19c Enterprise Edition and Select it
 Download Oracle Database Long Term Release and Select your OS type and
continue
 Clickon Download

Click hear to Downloads

-> wait for the file to be downloaded file has been downloaded
go to oracle user’s home directory - /home/oracle
-> create directory named oracle
mkdir /home/oracle/oracle
-> inside oracle directory create another directory named 19.0.0
mkdir /home/oracle/oracle/19.0.0
go to Downloads folder where Oracle db Setup zip is downloaded;
-> move setup file from Downloads to /home/oracle/oracle/19.0.0
->go to
/home/oracle/oracle/19.0.0
-> unzip the setup files unzip –q
<Filename.zip>
fromroot user, change ownership of /home/oracle/oracle recursively, so that ownership change can be applied on all. make oracle
owner and set group oinstall chown –R
oracle:oinstall /home/oracle/oracle

-> You need to install Preinstallation files of Oracle db using following command with root priviledges.
yum install –y oracle-database-preinstall-19c
set an environment variable by following command:
export CV_ASSUME_DESTID=OEL8.10
->go to /home/oracle/oracle/19.0.0 cd
/home/oracle/oracle/19.0.0
-> run Installer
./runInstaller
-> then oracle setup Popup will open
-> choose Create and configuration a single instance database
-> Click Next
 Choose Desktop Class and Click Next
- >give global database name – yash
-> give password
-> uncheck Create as Container database
-> Click Next

ClickNext
->
check ignoreall if there is any warning
-> Click Next

ClickInstall
->

Installation has started


->

After Sometime following Popup will come and ask to run some script using root user
->

Open a newTerminal Window and run following Scripts:


->
sh /home/oracle/oraInventory/orainstRoot.sh
sh /home/oracle/oracle/19.0.0/root.sh
-> close the newly opened terminal
-> and Click OK on the PopUp

Installation will be continued.


->
Oracle database has been successfully installed
->

now we need to set environment variable and path for the


database -> open .bash_profile which exist in the home directory
of the user vi /home/oracle/.bashprofile
Go to Insert mode and Add following Environment variables and Path to the database
export ORACLE_SID=yash
export ORACLE_HOME=/home/oracle/oracle/19.0.0
.
->

Save the file and exit from vim editor


-> Since .bash_profile file is run when a user logs in. We need to run it manually:
. /home/oracle/.bash_profile
-> now start sqlplus
Sqlplus / as sysdba
-> Database has been started
-> you can check database name with following command
select name from v$database;

You might also like