Wednesday, 13 August 2014

Oracle 12c on Red Hat Linux 6.X Implementation model document

    Database Server Implementation Model
                    Database Setup for TEST in RHEL-6: Oracle DB 12c

2.1      Step1: Pre Installation Configuration.
2.2      Step2: Configuring storage.
2.3      Step3: Preparing for install- Meeting the software requirements.
2.4      Step4: Install required RPMs and configure shell for the Oracle Universal Installer for RHEL 6.2 (x86_64).
Requires

a)             Connect to 192.168.150.2 machine (root / redhat).
b)             Check Hardware requirements: Check Physical RAM, SWAP space and available space on disk partitions.

login as: root
root@192.168.150.2 password:
Last login: Mon Oct 15 04:31:18 2012 from 192.168.150.2
[root@DB ~]# grep MemTotal /proc/meminfo
MemTotal:       66093900 kB
[root@DB ~]# grep SwapTotal /proc/meminfo
SwapTotal:      65535992 kB

/*
 RAM between 1GB and 2GB then Swap = 1.5 times the size of RAM
 RAM between 2GB and 16GB then Swap = equal to the size of RAM
 RAM more than 16GB then Swap Size = 16GB
 Since my RAM is 2GB, so I have 3GB of Swap Size.
*/

[root@DB ~]# df -h /dev/shm/
Filesystem            Size  Used Avail Use% Mounted on
tmpfs                  24G  272K   24G   1% /dev/shm
c)              Check the screen resolution.

[root@DB ~]# xdpyinfo | grep 'dimensions:'
dimensions:    1280x720 pixels (433x244 millimeters)

d)             Check the kernel version.

[root@DB ~]# uname -r
2.6.32-220.el6.x86_64


a)             Check the disk partitions.

[root@DB ~]# cat /proc/partitions
major minor  #blocks  name

   8        0  433791696896 sda
   8        1     524288 sda1
   8        2    1024000 sda2
   8        3   65536000 sda3
   8        4   51200000 sda4
   8        5   51200000 sda5
   8        6   51200000 sda6
   8        7   71305216 sda7
   8       16  312475648 sdb

b)             Create a single partition of /dev/sdb (an empty SCSI disk with no existing partitions) for the entire disk (808GB +ASM DISK).

[root@DB ~]# fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x405546a5.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

Command (m for help): p

Disk /dev/sdb: 808 GB, 867583393792 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x405546a5

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
e
Partition number (1-4): 4
First cylinder (1-65270, default 1): 1
Last cylinder, +cylinders or +size{K,M,G} (1-65270, default 65270): 65270

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
B1) [root@bcbldb01 ~]# cat /proc/partitions
major minor  #blocks  name

   8        0  104857600 sda
   8        1     512000 sda1
   8        2  104344576 sda2
   8       16  312475648 sdb
   8       17          1 sdb1
   8       21   20980827 sdb5
   8       22   26226081 sdb6
   8       23   52436128 sdb7
   8       24   52436128 sdb8
   8       25   52436128 sdb9
   8       26   20980858 sdb10
   8       27   20980858 sdb11
   8       28   52436128 sdb12
 253        0   49745920 dm-0
 253        1   18579456 dm-1
 253        2   17408000 dm-2
 253        3   18608128 dm-3

c)              Verify the new partition.

[root@DB ~]# fdisk -l /dev/sdb

Disk /dev/sdb: 320.0 GB, 319975063552 bytes
255 heads, 63 sectors/track, 38901 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd3eae4b6

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       38901   312472251    5  Extended
/dev/sdb5               1        2612    20980827   83  Linux
/dev/sdb6            2613        5877    26226081   83  Linux
/dev/sdb7            5878       12405    52436128+  83  Linux
/dev/sdb8           12406       18933    52436128+  83  Linux
/dev/sdb9           18934       25461    52436128+  83  Linux
/dev/sdb10          25462       28073    20980858+  83  Linux
/dev/sdb11          28074       30685    20980858+  83  Linux
/dev/sdb12          30686       37213    52436128+  83  Linux
d)             Create the Filesystem. Use ext3 to create this new filesystem. Other filesystems work just as well, but ext3 offers the fastest recovery time in the event of a system crash. Here also Level the file system.

[root@DB ~]# mkfs.ext3 -L Home /dev/sdb5
[root@DB ~]# blkid | grep Home
/dev/sdb5: LABEL="Home" UUID="7f78f82b-1530-47dc-8061-0ee12d08fc3d" SEC_TYPE="ext2" TYPE="ext3"
[root@DB ~]# mkfs.ext3 -L vol1 /dev/sdb6
[root@DB ~]#  blkid | grep vol1
   [root@DB ~]#  blkid | grep vol2
   [root@DB ~]#  mkfs.ext3 -L vol2 /dev/sdb7
[root@DB ~]# blkid | grep vol2
 [root@DB ~]#    mkfs.ext3 -L vol3 /dev/sdb8
[root@DB ~]#  blkid | grep vol3
[root@DB ~]# mkfs.ext3 -L vol4 /dev/sdb9
[root@DB ~]#     blkid | grep vol4
[root@DB ~]#  mkfs.ext3 -L vol5 /dev/sdb10
[root@DB ~]# blkid | grep vol5
[root@DB ~]#  mkfs.ext3 -L vol6 /dev/sdb11
[root@DB ~]#     blkid | grep vol6
[root@DB ~]# mkfs.ext3 -L vol6 /dev/sdb12
[root@DB ~]#  blkid | grep vol7

e)             Check the disk partitions.

[root@DB ~]# fdisk -l


Disk /dev/sda: 107.4 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00055044

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              64       13055   104344576   8e  Linux LVM

Disk /dev/sdb: 320.0 GB, 319975063552 bytes
255 heads, 63 sectors/track, 38901 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd3eae4b6

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       38901   312472251    5  Extended
/dev/sdb5               1        2612    20980827   83  Linux
/dev/sdb6            2613        5877    26226081   83  Linux
/dev/sdb7            5878       12405    52436128+  83  Linux
/dev/sdb8           12406       18933    52436128+  83  Linux
/dev/sdb9           18934       25461    52436128+  83  Linux
/dev/sdb10          25462       28073    20980858+  83  Linux
/dev/sdb11          28074       30685    20980858+  83  Linux
/dev/sdb12          30686       37213    52436128+  83  Linux

Disk /dev/mapper/vg_bcbldb01-lv_root: 50.9 GB, 50939822080 bytes
255 heads, 63 sectors/track, 6193 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_bcbldb01-lv_root doesn't contain a valid partition table

Disk /dev/mapper/vg_bcbldb01-lv_swap: 19.0 GB, 19025362944 bytes
255 heads, 63 sectors/track, 2313 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_bcbldb01-lv_swap doesn't contain a valid partition table

Disk /dev/mapper/vg_bcbldb01-lv_tmp: 17.8 GB, 17825792000 bytes
255 heads, 63 sectors/track, 2167 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_bcbldb01-lv_tmp doesn't contain a valid partition table

Disk /dev/mapper/vg_bcbldb01-lv_home: 19.1 GB, 19054723072 bytes
255 heads, 63 sectors/track, 2316 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vg_bcbldb01-lv_home doesn't contain a valid partition table
f)              Create the mount point. We have already created the /u01 directory for Oracle installation files and /u02,/u03,/u04,/u05,/u06,/u07 directory for SpreadingDatafile,cdupm,udump,bdump .
g)              [root@DB ~]# mkdir /u01
[root@DB ~]# mkdir /u02
[root@DB ~]# mkdir /u03
[root@DB ~]# mkdir /u04
[root@DB ~]# mkdir /u05
[root@DB ~]# mkdir /u06
[root@DB ~]# mkdir /u07
[root@DB ~]# mkdir /u08


h)       Add dev/sdb5 /u01 ext3 defaults 1 1 ,/dev/sdb6 /u02 ext3 defaults 1 1,/dev/sdb7 /u03 ext3 defaults 1 1, /dev/sdb8 /u04 ext3 defaults 1 1,/dev/sdb9 /u05 ext3 defaults 1 1,/dev/sdb10 /u06 ext3 defaults 1 1,/dev/sdb11 /u07 ext3 defaults 1 1,/dev/sdb12 /u08 ext3 defaults 1 1to the New Filesystem to /etc/fstab.
So that the new filesystem will be mounted automatically when the system boots.

[root@DB ~]# vim /etc/fstab

#
# /etc/fstab
# Created by anaconda on Wed Oct 23 16:48:21 2013
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_bcbldb01-lv_root /                       ext4    defaults        1 1
UUID=1ec6ad35-2be7-4f3b-8235-fe7f01b0439c /boot                   ext4    defaults        1 2
/dev/mapper/vg_bcbldb01-lv_home /home                   ext4    defaults        1 2
/dev/mapper/vg_bcbldb01-lv_tmp /tmp                    ext4    defaults        1 2
/dev/mapper/vg_bcbldb01-lv_swap swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0



/dev/sdb5 /u01 ext3 defaults 1 1
/dev/sdb6 /u02 ext3 defaults 1 1
/dev/sdb7 /u03 ext3 defaults 1 1
/dev/sdb8 /u04 ext3 defaults 1 1
/dev/sdb9 /u05 ext3 defaults 1 1
/dev/sdb10 /u06 ext3 defaults 1 1
/dev/sdb11 /u07 ext3 defaults 1 1
/dev/sdb12 /u08 ext3 defaults 1 1
i)               Mount the new Filesystem

[root@DB ~]# mount /u01
[root@DB ~]# mount /u02
[root@DB ~]# mount /u03
[root@DB ~]# mount /u04
[root@DB ~]# mount /u05
[root@DB ~]# mount /u06
[root@DB ~]# mount /u07
[root@DB ~]# mount /u08







a)             Add machine name and IP address at /etc/hosts.

[root@DB ~]# vi /etc/hosts
192.168.150.2 bcbldb01        bcbldb01.spftl.com
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
b)             Add Linux Kernel Parameters to /etc/sysctl.conf.

[root@DB ~]#  vi /etc/sysctl.conf

# Oracle settings
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 4097152
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
net.ipv4.tcp_wmem = 262144 262144 262144
net.ipv4.tcp_rmem = 4194304 4194304 4194304
kernel.shmmax = 4294967295

Note: You may find the parameters mentioned above already present in the /etc/sysctl.conf file. If they have a value lower then mentioned above then make sure you change it, but if they have a larger value then perhaps it’s safe to leave it as is.

c)              Make the kernel parameters changes effective immediately.

[root@DB ~]# /sbin/sysctl -p

d)             Verify the parameters: # /sbin/sysctl -a | grep name_of_kernel_parameter -- e.g. shmall

e)             Setup User as Oracle owner and the groups for installing and managing Oracle.

[root@DB ~]# /usr/sbin/groupadd oinstall
 [root@DB ~]# /usr/sbin/groupadd dba
[root@DB ~]# /usr/sbin/groupadd oper
[root@DB ~]# /usr/sbin/useradd -g oinstall -G dba,oper oracle
[root@DB ~]# /usr/bin/passwd oracle
  If user exist
/usr/sbin/usermod -g oinstall -G dba,oper oracle



f)              Create directories where the Oracle Software and database will be installed.


[root@DB ~]#  mkdir -p /u01/app/oracle/product/12.1.0/db_1/
[root@DB ~]#  chown -R oracle:oinstall /u01
[root@DB ~]#  chmod -R 0775 /u01

[root@DB ~]#   chown -R oracle:oinstall /u02
[root@DB ~]#  chmod -R 0775 /u02
[root@DB ~]#   chown -R oracle:oinstall /u03
[root@DB ~]#  chmod -R 0775 /u03
[root@DB ~]#   chown -R oracle:oinstall /u04
[root@DB ~]#  chmod -R 0775 /u04
[root@DB ~]#   chown -R oracle:oinstall /u05
[root@DB ~]#  chmod -R 0775 /u05
[root@DB ~]#   chown -R oracle:oinstall /u06
[root@DB ~]#  chmod -R 0775 /u06
[root@DB ~]#   chown -R oracle:oinstall /u07
[root@DB ~]#  chmod -R 0775 /u07
[root@DB ~]#   chown -R oracle:oinstall /u08
[root@DB ~]#  chmod -R 0775 /u08
 [root@DB ~]#  chown -R oracle:dba /u02
[root@DB ~]#  chmod -R 0775 /u02
[root@DB ~]#  chown -R oracle:dba /u03
[root@DB ~]#  chmod -R 0775 /u03
[root@DB ~]#  chown -R oracle:dba /u04
[root@DB ~]#  chmod -R 0775 /u04
[root@DB ~]#  chown -R oracle:dba /u05
[root@DB ~]#  chmod -R 0775 /u05
[root@DB ~]#  chown -R oracle:dba /u06
 chmod -R 0775 /u06
[root@DB ~]#  chown -R oracle:dba /u07
[root@DB ~]#  chmod -R 0775 /u07
[root@DB ~]#  chown -R oracle:dba /u08
[root@DB ~]#  chmod -R 0775 /u08

g)       Set the shell limits for the le  vi /etc/security/limits.conf

oracle           soft                 nproc     2047
oracle           hard               nproc     16384
oracle           soft                 nofile      1024
oracle           hard               nofile      65536

Note- Where "nproc" is the maximum number of processes available to the user and "nofile" is the number of open file descriptors.

h)             Add pam_limits.so for executing session at /etc/pam.d/login

[root@DB ~]# vi /etc/pam.d/login

session    required     pam_limits.so

i)               Disable secure Linux by editing the /etc/selinux/config file

[root@DB ~]# vi /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

a)             Create a file at /root/BCBLBD directory as req-rpm.txt with the list of the following RPMs:

binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3
compat-libstdc++-33-3.2.3 (32 bit)
elfutils-libelf-0.125
elfutils-libelf-devel-0.125
gcc-4.1.2
gcc-c++-4.1.2
glibc-2.5-24
glibc-2.5-24 (32 bit)
glibc-common-2.5
glibc-devel-2.5
glibc-devel-2.5 (32 bit)
glibc-headers-2.5
pdksh-20060214
libaio-0.3.106
libaio-0.3.106 (32 bit)
libaio-devel-0.3.106
libaio-devel-0.3.106 (32 bit)
libgcc-4.1.2
libgcc-4.1.2 (32 bit)
libstdc++-4.1.2
libstdc++-4.1.2 (32 bit)
libstdc++-devel 4.1.2
make-3.81
sysstat-7.0.2

[root@silent-oracle ~]# rpm -qa | grep binutils-
binutils-devel-2.20.51.0.2-5.11.el6.x86_64
binutils-2.20.51.0.2-5.11.el6.x86_64
[root@silent-oracle ~]# rpm -qa | grep compat-libstdc++-
compat-libstdc++-296-2.96-144.el6.i686
compat-libstdc++-33-3.2.3-69.el6.x86_64
[root@silent-oracle ~]# rpm -qa | grep elfutils-libelf
elfutils-libelf-devel-0.148-1.el6.x86_64
elfutils-libelf-0.148-1.el6.x86_64
[root@silent-oracle ~]# rpm -qa | grep gcc-
compat-gcc-34-3.4.6-19.el6.x86_64
gcc-gnat-4.4.4-13.el6.x86_64
gcc-4.4.4-13.el6.x86_64
libgcc-4.4.4-13.el6.i686
gcc-objc++-4.4.4-13.el6.x86_64
libgcc-4.4.4-13.el6.x86_64
gcc-objc-4.4.4-13.el6.x86_64
gcc-java-4.4.4-13.el6.x86_64
compat-gcc-34-g77-3.4.6-19.el6.x86_64
gcc-c++-4.4.4-13.el6.x86_64
gcc-gfortran-4.4.4-13.el6.x86_64
compat-gcc-34-c++-3.4.6-19.el6.x86_64
[root@silent-oracle ~]# rpm -qa | grep glibc
glibc-headers-2.12-1.7.el6.x86_64
compat-glibc-headers-2.5-46.2.x86_64
glibc-2.12-1.7.el6.x86_64
glibc-devel-2.12-1.7.el6.x86_64
glibc-2.12-1.7.el6.i686
glibc-utils-2.12-1.7.el6.x86_64
glibc-common-2.12-1.7.el6.x86_64
compat-glibc-2.5-46.2.x86_64
[root@silent-oracle ~]# rpm -qa | grep pdksh-
[root@silent-oracle ~]# rpm -qa | grep libaio
libaio-devel-0.3.107-10.el6.x86_64
libaio-0.3.107-10.el6.x86_64
[root@silent-oracle ~]# rpm -qa | grep libgcc
libgcc-4.4.4-13.el6.i686
libgcc-4.4.4-13.el6.x86_64
[root@silent-oracle ~]# rpm -qa | grep libstdc++-
compat-libstdc++-296-2.96-144.el6.i686
libstdc++-devel-4.4.4-13.el6.x86_64
compat-libstdc++-33-3.2.3-69.el6.x86_64
libstdc++-docs-4.4.4-13.el6.x86_64
libstdc++-4.4.4-13.el6.x86_64
[root@silent-oracle ~]# rpm -qa | grep make
automake-1.11.1-1.2.el6.noarch
make-3.81-19.el6.x86_64
[root@silent-oracle ~]# rpm -qa | grep sysstat-
sysstat-9.0.4-11.el6.x86_64
[root@silent-oracle ~]#

Note- Be sure to correct the typographical error for package “libstdc++-devel 4.1.2”, replaces it with “libstdc++-devel-4.1.2”. The optional Grid Infrastructure software requires the 64-bit version of compat-libcap1.

b)             Check the file req-rpm.txt

[root@DB ~]# cd /root/BCBLBD/
[root@DB BCBLBD]# ls -l
total 4
drwxr-xr-x 3 root root 4096 Oct 16 04:21 req-rpm.txt

c)              Install the 64-bit packages and their dependencies.

[root@DB BCBLBD]# yum install `grep -v '32 bit' req-rpm.txt | sed 's/-[^-]*$//'` compat-libcap1


d)             Install ODBC environment.

[root@DB BCBLBD]# yum install unixODBC unixODBC-devel unixODBC.i686

e)             Check whether the required packages are installed with rpm -qa | grep <package_name>

[root@DB BCBLBD]# cd
[root@DB ~]# rpm –qa | grep binutils
binutils-2.20.51.0.2-5.28.el6.x86_64

f)              Allow the user oracle to use X server.

[root@DB ~]# xhost +SI:localuser:oracle

g)             Switch to the user oracle.

[root@DB ~]# su  - oracle

h)             Check which shell is being used by the user Oracle.

[oracle@DB ~]$ echo $SHELL
/bin/bash

i)               Add the bash_profile of the oracle user is as below:

[oracle@DB ~]$ vi /home/oracle/.bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

if [ $USER = "oracle" ]; then
   if [ $SHELL = "/bin/ksh" ]; then
     ulimit -p 16384
     ulimit -n 65536
   else
     ulimit -u 16384 -n 65536
   fi
fi

# Oracle settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

# If /tmp doesn't have 1G space free then you can workaround it by
# pointing the variables TMP AND TMPDIR to a location where you have
# sufficient space.

ORACLE_HOSTNAME=bcbldb01.spftl.com; export ORACLE_HOSTNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/12.1.0/db_1; export ORACLE_HOME
ORACLE_SID=rasheldb; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=$ORACLE_HOME/bin:/usr/sbin:$PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
export CLASSPATH


# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH

umask 022

j)               Run the following command to make these changes effective in the current session of user oracle:

[oracle@DB ~]$ source ~/.bash_profile


Step 10)  Copy the Oracle software in /u01 and Unzip the files
               
# cd /u01/Software
# unzip linuxamd64_12c_database_1of2.zip
# unzip linuxamd64_12c_database_2of2.zip
# unzip linuxamd64_12c_database_1of2.zip
# unzip linuxamd64_12c_database_2of2.zip
---Configuring XTERM:
# Install the needed Package of Xterm using following command  along with depended RPM


[root@bcbldb02 ~]# rpm -ivh  xterm-253-1.el6.x86_64.rpm
---Set the Display:
[root@bcbldb02 ~]# set | grep DISPLAY
[root@bcbldb02 ~]# export DISPLAY=192.16.61.100:0.0
[root@bcbldb02 ~]# xdpyinfo | grep 'dimensions:'
  dimensions:    1024x768 pixels (271x203 millimeters)
[root@bcbldb02 ~]# export DISPLAY=192.168.150.2:0.0
[root@bcbldb02 ~]# xdpyinfo | grep 'dimensions:' 
[root@bcbldb02 ~]su - oracle
[oracle@bcbldb02 ~]cd /u01/Software
$ cd database
$ ./runInstaller 















No comments:

  Oracle 21c Cluster Setup & DB Creation on OEL-8.4 using Virtual-box       Moto: This document is created on traditional way to Insta...