1. Download the VirtualBox-6.1.
12-139181-Win
2. Then create a virtual machine with any name let us say ( ORACLE LINUX 7 ).
3. After successfully creation of that select it and press settings and do some sort of settings.
4. General Advance Shared Clipboard choose bidirectional, and same for Dragn’s Drop
bidirectional.
5. We did this setting to enable the copy the files from host machine to guest machine which is
in this case our virtual box .
6. Now select, System pointing device choose USB Tablet
7. Now select, Network Adapter 1choose Bridge adapter.
8. Enable us to use the network facility which we are using in our host machine.
9. Now the settings are finished and just click ok.
1. Now download Linux from website Oracle software delivery cloud
https://edelivery.oracle.com/osdc/faces/Home.jspx;jsessionid=RD64qwvc2P9DZgX6cB-
YZt0hzyzQZWybqBlo05I1Qhx29wOjq1td!-1527336037
2. Just sign in and search oracle linux and choose first result now click Oracle linux 7.9 and view
items, click the dropdown list and select 64 bits and click continue.
3. Now there will be so many file shown there but we didn’t have to download whole just right
click on that file containing Update 6 for x86(64 bit) 4.3GB and choose save link as and it will
began to download.
4. Now again open settings. (Do only which are listed as rest are by default correct)
5. Goto Storage click plus sign (left one) click add and go to that destination where you
downloaded the iso image and select that file, and click open then choose then ok.
6. Now setting part is over and we can now just start the Virtual machine box and a UI will be
open just click next and Install it.
7. Now here also you have to do some sort of settings.
8. Edit date and time there.
9. Then click Software selection In basic environment choose Server with GUI In add-ones
choose Development tools and compatibility library.
10. Now for Network and Host name change the host name testdb.com press configure
In genera click Automatially connect to this network when its available press save and wait
until the configuration not finished Then click on done.
11. In Security Policy turn it off press Done.
12. Now click Begin Installation. And also set the root password and create a user if want
otherwise can be created after as well.
To enable the zooming the window and copy paste just insert guest edition CD image from
device and just click on run and restart the virtual machine.
1. Now create a folder in the desktop in windows and copy that zip file of Oracle db 19C in that
folder and then open the virual box.
2. Goto settings shared folder click plus and then add that folder which you have created
in the desktop and press ok.
3. Now in terminal to mount the shared folder otherwise you will not be able to access that
shared folder just wright:
4. First, make sure you have the mount point directory: sudo mkdir -p
/media/sf_ORACLE_19C
5. Then, mount the shared folder: sudo mount -t vboxsf ORACLE_19C
/media/sf_ORACLE_19C
6. Finally, check if you can access the folder: ls /media/sf_ORACLE_19C
7. Then to move file to the destination folder from shared folder just wright:
8. sudo chown oracle:oinstall /u01/app/oracle/products/19c/db-
1/LINUX.X64_193000_db_home.zip
Here’s an even clearer, step-by-step breakdown of what’s
happening:
1. Install Oracle: You're preparing your system to install Oracle, a database software.
2. Become the admin (root user): You need full system control, so you switch to the root user
by typing su root.
3. Create a new user (rishij): You create a new user named 'rishij' who will help manage Oracle.
4. Add rishij to the shared folder group: You give this new user access to a special group
(vboxsf) that manages shared folders.
5. Check the network: You use ifconfig to see your computer's IP address and network info.
6. Assign a name to the IP address: You link your IP address (like 192.168.31.24) to a name
(testdb.com), so it’s easier to reference the machine.
7. Update the system’s hosts file: You officially connect your IP address to the name
(testdb.com) by editing a system file.
8. Install Oracle’s pre-required software: You install some extra software packages that Oracle
needs to run properly.
9. Create a directory for Oracle: You make a special folder (/u01/app/oracle/product/19/db-1)
where Oracle will be installed.
10. Set folder permissions: You give the right users permission to access and modify the Oracle
folder.
11. Turn off the firewall: You disable your computer’s firewall (a security feature) temporarily to
avoid any problems during Oracle installation.
12. Set a password for the Oracle user: You create a password for 'oracle', a user dedicated to
managing the database.
13. Log in as Oracle: You switch to the 'oracle' user to continue setting up the database.
14. Configure environment settings: You edit a file to tell your system where Oracle is installed
and how to use it. This makes sure the system can find Oracle when needed.
15. Save the changes: You save the file after editing it, making these settings official.
16. Log back in as Oracle: You re-login to make sure the new settings are in place.
17. Add Oracle user to the shared folder group: You give the 'oracle' user the same shared
folder access as 'rishij'.
18. Log in again as Oracle: You switch to 'oracle' to check that everything is set up correctly.
19. Move the Oracle installation file: You manually place the Oracle installer (a large file) into
the correct directory you created earlier.
20. Unzip the installer: You extract the Oracle installation files so they can be used.
21. Set up graphical access over the network: You adjust SSH (a tool for remote access) to allow
graphical installations if needed.
22. Run the Oracle installer: Finally, you run the Oracle installation program from the directory
where you unzipped the files.
Detailed explanation for each step:
1. Switch to the root user
su root
Explanation:
su root is used to switch to the root user, which has administrative privileges required to
perform system-wide changes, like installing software, creating users, and editing system
files. The root user can bypass restrictions that normal users have.
2. Create a new user (rishij)
useradd rishij
Explanation:
useradd rishij creates a new user named rishij.
This user will be useful to manage specific tasks related to the Oracle installation without
giving root access to everything. It’s good practice to isolate user privileges for different
tasks.
3. Add rishij to the vboxsf group
usermod -a -G vboxsf rishij
Explanation:
usermod -a -G vboxsf rishij adds rishij to the vboxsf group.
-a stands for append, ensuring the user is added without losing current group memberships.
-G specifies the target group (vboxsf).
The vboxsf group allows the user to access shared folders if using VirtualBox. This may be
required when files need to be transferred between host and guest systems.
4. Check the network configuration
ifconfig
Explanation:
ifconfig displays network configuration details like IP addresses and network interfaces.
Knowing the IP address (e.g., 192.168.31.24) helps configure network-related settings, such
as mapping hostnames to IPs, which is crucial for later steps when you configure Oracle’s
network access.
5. Edit the /etc/hosts file
vi /etc/hosts
Explanation:
vi /etc/hosts opens the system’s hosts file in the vi editor, which allows you to manually edit
the file.
The hosts file maps IP addresses to hostnames locally on your machine. Adding a mapping
ensures that when the system sees a hostname (like testdb.com), it knows which IP (e.g.,
192.168.31.24) to route traffic to.
Content to add:
192.168.31.24 testdb.com testdb
This line maps the IP address 192.168.31.24 to the hostname testdb.com and machine name
testdb. This is important for Oracle database communication and ensures easy access to the
database server by name instead of IP.
6. Install Oracle 19c preinstall packages
yum install -y oracle-database-preinstall-19c
Explanation:
yum is the package manager for Red Hat-based Linux distributions like CentOS.
This command installs the required system packages and kernel settings necessary for
running Oracle Database 19c.
-y automatically answers "yes" to any prompts, ensuring the installation proceeds without
manual input.
These preinstall packages configure the environment (kernel parameters, limits) that Oracle
requires to run efficiently.
7. Create necessary directories for Oracle installation
mkdir -p /u01/app/oracle/product/19/db-1
Explanation:
mkdir creates directories.
-p ensures that parent directories (/u01, /u01/app, etc.) are created if they don't already
exist.
This specific directory (/u01/app/oracle/product/19/db-1) will hold Oracle’s database files
and software, following Oracle's directory structure best practices.
8. Change ownership and permissions of the directory
chown -R oracle:oinstall /u01
chmod -R 775 /u01
Explanation:
chown changes the ownership of the /u01 directory.
-R makes the change recursive, meaning all files and subdirectories inside /u01 will also be
affected.
oracle:oinstall assigns the oracle user and oinstall group as the owners.
chmod changes file permissions.
-R applies permissions recursively.
775 gives read, write, and execute permissions to the owner and group, and read and
execute permissions to others.
This step ensures that the oracle user has full control over Oracle's installation directory,
which is essential for installing and running the database software.
9. Disable firewall services
systemctl stop firewalld
systemctl disable firewalld
Explanation:
systemctl stop firewalld temporarily disables the firewall, which could block necessary ports
for Oracle installation.
systemctl disable firewalld prevents the firewall from starting at boot, ensuring it stays off
after a restart.
This is necessary because some Oracle components may require network access that could
be blocked by an active firewall.
10. Set the password for the Oracle user
passwd oracle
Explanation:
This command sets a password for the oracle user, which will be used to manage the Oracle
database.
The password is required for logging in as the Oracle user, which is necessary for continuing
the setup.
11. Log in as the Oracle user
su - oracle
Explanation:
su - oracle switches to the oracle user.
The - ensures that you also load the user’s environment variables (like $PATH), which is
critical for setting up Oracle correctly.
From this point, all commands are executed as the oracle user, which is the recommended
user for managing Oracle database software.
12. Edit the .bash_profile to configure environment variables
vi /home/oracle/.bash_profile
Explanation:
This command opens the .bash_profile in the vi editor. The .bash_profile is a file that runs
each time the Oracle user logs in, and it sets important environment variables.
Environment variables added:
export PATH
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_HOSTNAME=oracle.server
export ORACLE_UNQNAME=orcl
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/19/db-1
export ORACLE_SID=orcl
export PDB_NAME=pdb1
export PATH=/usr/sbin:$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
Explanation of each variable:
PATH: Extends the system's executable search paths to include Oracle binaries and utilities.
TMP and TMPDIR: Specify temporary directories, which Oracle needs for some operations.
ORACLE_HOSTNAME: Sets the hostname where the Oracle database will run.
ORACLE_UNQNAME: A unique name for the Oracle database.
ORACLE_BASE: The base directory for Oracle installation files.
ORACLE_HOME: Specifies where Oracle software is installed.
ORACLE_SID: The system identifier for the database instance.
PDB_NAME: Specifies the name of the pluggable database (PDB).
LD_LIBRARY_PATH: Points to directories where shared libraries for Oracle are located.
CLASSPATH: Used by Java components of Oracle.
Why?: These environment variables ensure that whenever the Oracle user logs in, the
system knows where Oracle files are, how to run Oracle commands, and how to find
essential Oracle components.
13. Save and exit the file
Esc + :wq!
Explanation:
This is the command sequence used in vi to save (w) the changes and quit (q) the editor. The
! forces the editor to close, even if there are warnings.
14. Move Oracle 19c zip file to the target location
mv LINUX_X64_193000_db_home.zip /u01/app/oracle/product/19/db-1/
Explanation:
mv moves the Oracle installer zip file (LINUX_X64_193000_db_home.zip) to the target
directory you created earlier.
The installer must be placed in the correct directory to ensure everything is in place when
you run it.
15. Unzip the Oracle installer
cd /u01/app/oracle/product/19/db-1/
unzip LINUX_X64_193000_db_home.zip
Explanation:
cd navigates to the directory where you placed the Oracle installer.
unzip extracts the content of the zip file. This unpacks Oracle’s installation files, preparing
them for execution.
16. Run the Oracle Database installer
After unzipping the Oracle installer files, you need to run the Oracle Universal Installer (OUI)
to install the database software.
./runInstaller
Explanation:
./runInstaller is the command to start the Oracle Universal Installer (OUI). This installer will
guide you through the process of setting up Oracle Database 19c.
The ./ is used to run an executable in the current directory (/u01/app/oracle/product/19/db-
1/).
The installer will now prompt you to configure the database environment, specify Oracle
settings, and more.
17. Follow the Oracle Universal Installer (OUI) prompts
The OUI will present a series of prompts to configure the Oracle database. Here are the
typical steps involved:
Select Installation Type:
Choose "Set up Software Only" (this option installs Oracle without creating a database,
which we'll create later).
Specify Oracle Base and Oracle Home:
Oracle Base: /u01/app/oracle
Oracle Home: /u01/app/oracle/product/19/db-1
Specify the Operating System (OS) Group:
Choose oinstall as the Oracle Inventory Group. This group is responsible for managing Oracle
files and installations.
Prerequisite Check:
The installer checks your system for required packages, kernel parameters, and other
prerequisites. If any issues are found, you’ll need to resolve them before proceeding.
Start Installation:
Once all configurations are complete, click Install to begin the installation. The installer will
copy files to the Oracle Home and set up the environment.
18. Run root.sh scripts
During installation, OUI will ask you to run two root scripts (orainstRoot.sh and root.sh) to
set up necessary permissions and configurations.
Open a new terminal, switch to the root user, and run the following scripts:
su - root
/u01/app/oraInventory/orainstRoot.sh
/u01/app/oracle/product/19/db-1/root.sh
Explanation:
These scripts configure the necessary permissions for Oracle to function correctly, like setting
up the Oracle Inventory (used to track Oracle installations) and the Oracle Home directory.
Running these scripts as the root user is essential to ensure the Oracle installation has the
correct system-level access.
19. Check Oracle installation logs
After running the installer and the root scripts, the installer will provide a summary. If there
were any issues during the installation, it’s a good idea to check the logs for errors or
warnings.
tail -f /u01/app/oraInventory/logs/installActions.log
Explanation:
tail -f continuously monitors the log file (installActions.log) generated by the Oracle installer,
showing the latest log entries as they appear.
Checking the logs helps you troubleshoot any installation issues.
20. Configure the Oracle Listener
The listener is a process that listens for client requests and enables Oracle to communicate
over the network. You’ll configure it using the netca (Network Configuration Assistant).
netca
Explanation:
netca is the command to start the Network Configuration Assistant, which configures
Oracle’s network components.
During this process, you’ll configure the listener, which allows clients to connect to the
Oracle database via a network connection (TCP/IP).
Steps in the Network Configuration Assistant:
Choose "Listener Configuration".
Select "Add" to create a new listener.
Listener Name: Use the default name LISTENER.
Protocol: Choose TCP.
Port Number: Default is 1521, which is Oracle’s standard port.
Finish the configuration.
After configuring the listener, it will start and be ready to accept database connections.
21. Create the Oracle database
Now that the software and listener are installed, you can create a database using the
Database Configuration Assistant (dbca).
dbca
Explanation:
dbca launches the Database Configuration Assistant, which provides a graphical interface to
create and manage Oracle databases.
You’ll follow the wizard to create a new Oracle database instance.
Steps in DBCA:
Select "Create a Database".
Database Type: Choose "Advanced Configuration" if you want more control or "Typical
Configuration" for a quick setup.
Database Name: Use the name specified earlier in the environment variables (e.g., orcl).
Storage: Choose how you want to manage database storage (file system, ASM, etc.).
Character Set: Choose the character set for the database (e.g., AL32UTF8 for Unicode
support).
Memory Management: Specify how much system memory Oracle should use.
Finish: After all options are configured, click Finish to create the database.
The dbca will create the necessary database files, initialize the database, and start the Oracle
instance.
22. Set up Oracle environment variables
To make sure that every time the oracle user logs in, the environment is set up properly, you
need to configure the environment variables permanently in .bash_profile. This was done in
step 12, but now we need to ensure the database can be accessed.
Verify the ORACLE_SID and ORACLE_HOME variables:
echo $ORACLE_SID
echo $ORACLE_HOME
Explanation:
These commands confirm that the Oracle environment is set correctly for the oracle user.
$ORACLE_SID should display the name of your Oracle instance (e.g., orcl), and
$ORACLE_HOME should point to the directory where Oracle is installed
(/u01/app/oracle/product/19/db-1).
23. Start and stop the Oracle database
Once the database is installed, you’ll need to know how to start and stop the database.
To start the Oracle instance:
sqlplus / as sysdba
startup
Explanation:
sqlplus / as sysdba logs you in to Oracle’s SQL*Plus utility with administrative privileges
(sysdba).
startup starts the Oracle database instance. This loads the database into memory and makes
it available for use.
To stop the Oracle instance:
sqlplus / as sysdba
shutdown immediate
Explanation:
shutdown immediate stops the database gracefully, ensuring all ongoing transactions are
completed, and the instance is closed properly.
24. Verify the installation
Finally, verify that the Oracle database is running by connecting to it.
sqlplus / as sysdba
Run a simple query to check if the database is functioning:
SELECT name FROM v$database;
Explanation:
SELECT name FROM v$database; retrieves the name of the database instance. If the query
returns the correct database name (orcl or whatever you named it), then the installation was
successful.
LINUX COMMANDS:
1. File and Directory Management
Managing files and directories is crucial for organizing database files, logs, and configurations.
ls
o Explanation: Lists the contents of a directory.
o Common Variations:
ls -l: Detailed listing showing permissions, ownership, and size.
ls -a: Lists all files, including hidden ones.
ls -lh: Lists files with sizes in human-readable format (KB, MB).
ls -lt: Sorts files by modification time.
cd
o Explanation: Changes the current working directory.
o Common Variations:
cd /path/to/directory: Moves to a specific directory.
cd ..: Moves up one directory level.
cd ~: Moves to the user's home directory.
cd -: Switches back to the previous directory.
pwd
o Explanation: Prints the current working directory.
o Common Variations:
pwd -P: Shows the actual physical path (useful if using symbolic links).
mkdir
o Explanation: Creates new directories.
o Common Variations:
mkdir -p /path/to/dir: Creates nested directories if they don’t exist.
rmdir
o Explanation: Removes empty directories.
o Common Variations:
rmdir -p /path/to/dir: Removes a directory and any empty parent
directories.
rm
o Explanation: Removes files or directories.
o Common Variations:
rm -r dirname: Deletes a directory and its contents.
rm -f filename: Forces deletion, skipping confirmation.
cp
o Explanation: Copies files and directories.
o Common Variations:
cp -r sourcedir destinationdir: Recursively copies a directory.
cp -u source destination: Only copies if the source file is newer than the
destination.
mv
o Explanation: Moves or renames files or directories.
o Common Variations:
mv -n source destination: Does not overwrite existing files.
chmod
o Explanation: Changes file or directory permissions.
o Common Variations:
chmod +x script.sh: Adds execute permission.
chmod -R 755 dirname: Changes permissions recursively.
chown
o Explanation: Changes file or directory ownership.
o Common Variations:
chown -R user:group dirname: Recursively changes ownership of a directory.
2. Disk Management
Disk management commands help monitor storage usage, partition disks, and manage mounts,
crucial for Oracle database files.
df
o Explanation: Reports file system disk space usage.
o Common Variations:
df -h: Shows usage in human-readable sizes.
df -T: Shows file system type.
du
o Explanation: Estimates space usage of files and directories.
o Common Variations:
du -sh dirname: Shows the total size of a directory.
du -a: Displays space usage for all files within a directory.
lsblk
o Explanation: Lists information about block devices (disks and partitions).
o Common Variations:
lsblk -f: Includes filesystem information for each device.
fdisk
o Explanation: Partition table editor for managing disk partitions.
o Common Variations:
fdisk -l: Lists all partitions on the system.
mount
o Explanation: Mounts a filesystem to a directory.
o Common Variations:
mount -o ro /dev/sdX /mnt: Mounts a filesystem as read-only.
umount
o Explanation: Unmounts a mounted filesystem.
o Common Variations:
umount -l /mnt: Lazily unmounts a busy filesystem.
3. System Monitoring and Performance
Monitoring system performance ensures optimal functioning of Oracle databases by keeping track of
CPU, memory, and I/O.
top
o Explanation: Displays real-time tasks and system resource usage.
o Common Variations:
top -u oracle: Filters for processes owned by the Oracle user.
htop
o Explanation: An enhanced version of top with a user-friendly interface (if installed).
o Common Variations:
htop -u oracle: Filters for Oracle-specific processes.
vmstat
o Explanation: Reports virtual memory statistics.
o Common Variations:
vmstat 5: Displays system stats every 5 seconds.
iostat
o Explanation: Provides CPU and I/O statistics for system performance monitoring.
o Common Variations:
iostat -x: Shows detailed I/O statistics.
netstat
o Explanation: Prints network connections and routing tables.
o Common Variations:
netstat -tuln: Lists listening ports.
ps
o Explanation: Provides a snapshot of running processes.
o Common Variations:
ps aux: Shows all processes with details.
free
o Explanation: Displays memory usage.
o Common Variations:
free -m: Shows memory usage in MB.
4. Networking
Network commands facilitate server connections, diagnostics, and data transfers, useful when
working with remote databases.
ping
o Explanation: Tests connectivity to a network host.
o Common Variations:
ping -c 4 hostname: Sends only 4 packets.
ifconfig or ip addr
o Explanation: Shows or configures network interfaces.
o Common Variations:
ifconfig eth0 down: Disables the eth0 interface.
scp
o Explanation: Securely copies files between servers.
o Common Variations:
scp -r dir user@remote:/path: Recursively copies directories.
ssh
o Explanation: Secure shell for remote server access.
o Common Variations:
ssh -i keyfile user@host: Connects using an SSH key file.
5. User Management
User management commands help in creating, modifying, and managing user accounts, permissions,
and passwords.
useradd
o Explanation: Creates a new user.
o Common Variations:
useradd -m username: Creates a home directory for the user.
usermod
o Explanation: Modifies existing user accounts.
o Common Variations:
usermod -aG group username: Adds a user to a secondary group.
userdel
o Explanation: Deletes a user account.
o Common Variations:
userdel -r username: Removes a user’s home directory.
passwd
o Explanation: Changes a user’s password.
o Common Variations:
passwd -l username: Locks the user account.
6. Package Management
Package management commands install and manage software, ensuring dependencies required for
Oracle installations are met.
yum or dnf (for Red Hat-based systems)
o Explanation: Installs and manages packages.
o Common Variations:
yum install package: Installs a specific package.
yum update: Updates all packages.
apt-get (for Debian-based systems)
o Explanation: Installs and manages packages.
o Common Variations:
apt-get update: Updates package lists.
rpm
o Explanation: Manages .rpm packages on Red Hat-based systems.
o Common Variations:
rpm -ivh package.rpm: Installs an .rpm package.
7. Oracle-Specific Commands
Specific commands that assist in Oracle configuration, setup, and environment management.
su
o Explanation: Switches to another user.
o Common Variations:
su - oracle: Switches to the Oracle user with environment settings.
export
o Explanation: Sets environment variables, useful for Oracle environment setup.
o Common Variations:
export ORACLE_HOME=/path: Temporarily sets Oracle environment
variables.
To install follow these instructions:
1. Switch to root user:
su root
2. Create a new user (rishij):
useradd rishij
3. Add the user to the vboxsf group:
usermod -a -G vboxsf rishij
4. Check the network configuration:
ifconfig
5. Let us say that IP address (e.g., 192.168.31.24) and host information:
a. IP: 192.168.31.24
b. Hostname: testdb.com
c. Machine name: testdb
6. Edit the hosts file to map the IP address with hostname and machine name:
vi /etc/hosts
Add this line:
192.168.31.24 testdb.com testdb
7. Install Oracle 19c preinstall packages:
yum install -y oracle-database-preinstall-19c
8. Create necessary directories for Oracle installation:
mkdir -p /u01/app/oracle/product/19/db-1
9. Change ownership and permissions of the directory:
chown -R oracle:oinstall /u01
chmod -R 775 /u01
10. Disable firewall services:
systemctl stop firewalld
systemctl disable firewalld
11. Set the password for the oracle user:
passwd oracle
12. Exit and log in as the oracle user:
exit
su - oracle
13. Edit the .bash_profile to configure environment variables:
vi /home/oracle/.bash_profile
Add the following lines:
export PATH
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_HOSTNAME=oracle.server
export ORACLE_UNQNAME=orcl
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/19/db-1
export ORACLE_SID=orcl
export PDB_NAME=pdb1
export PATH=/usr/sbin:$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
14. Save and exit the file:
a. Press Esc + :wq!, then press Enter.
15. Log out and log back in as the oracle user:
exit
su - oracle
16. Switch back to root to add oracle to the vboxsf group:
su root
usermod -a -G vboxsf oracle
17. Exit root and log in again as the oracle user:
exit
su - oracle
18. Move the Oracle 19c zip file (LINUX_X64_193000_db_home.zip) manually to the
target location:
a. Move it to /u01/app/oracle/product/19/db-1/.
19. Open terminal and unzip the Oracle 19c installer:
cd /u01/app/oracle/product/19/db-1/
unzip LINUX_X64_193000_db_home.zip
20. Switch to root user again:
su – root
sudo yum install xorg-x11-utils
Edit the SSH Configuration File: Open the file using a text editor
like vi:
vi /etc/ssh/sshd_config
Make sure X11Forwarding is set to yes:
X11Forwarding yes
systemctl restart sshd
echo $DISPLAY
Set up Oracle environment variables
echo $ORACLE_SID
echo $ORACLE_HOME
Restart the SSH Service: After making changes, restart the SSH
service:
systemctl restart sshd
visudo
Add, oracle ALL=(ALL) NOPASSWD: ALL
21. Run the Oracle installer from the correct directory: Navigate to the unzipped
Oracle home directory and execute the installer:
cd /u01/app/oracle/product/19/db-1/
./runInstaller
Final Notes:
22. Ensure that the runInstaller is executed from the directory
/u01/app/oracle/product/19/db-1/ where the contents of the zip file were
unzipped.
1.
2.
3.
4.
5.
6.
7.
8.
9. Error comes so reduce it
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
1. To check the listener status:
2. Su – oracle