Oracle Database 19c Installation On Oracle Linux 7
- Download Software
Oracle Database 19c (19.3) Software (64-bit)
Add hosts entry in hosts file
[root@oel7 ~]# cat /etc/hosts
127.0.0.1 localhost
localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost
localhost.localdomain localhost6 localhost6.localdomain6
192.168.118.128 oel7.soumya.com oel7
Install the "oracle-database-preinstall-19c"
package to perform all the prerequisite setup
# yum install -y oracle-database-preinstall-19c
The following packages are required :-
yum install -y bc
yum install -y binutils
yum install -y compat-libcap1
yum install -y compat-libstdc++-33
yum install -y dtrace-utils
yum install -y elfutils-libelf
yum install -y elfutils-libelf-devel
yum install -y fontconfig-devel
yum install -y glibc
yum install -y glibc-devel
yum install -y ksh
yum install -y libaio
yum install -y libaio-devel
yum install -y libdtrace-ctf-devel
yum install -y libXrender
yum install -y libXrender-devel
yum install -y libX11
yum install -y libXau
yum install -y libXi
yum install -y libXtst
yum install -y libgcc
yum install -y librdmacm-devel
yum install -y libstdc++
yum install -y libstdc++-devel
yum install -y libxcb
yum install -y make
yum install -y net-tools # Clusterware
yum install -y nfs-utils # ACFS
yum install -y python # ACFS
yum install -y python-configshell # ACFS
yum install -y python-rtslib # ACFS
yum install -y python-six # ACFS
yum install -y targetcli # ACFS
yum install -y smartmontools
yum install -y sysstat
yum install -y unixODBC
Create the new groups and users if it doesnt exist.
groupadd -g 54321 oinstall
groupadd -g 54322 dba
Create oracle user:-
useradd -u 54321 -g oinstall -G dba oracle
[root@oel7 ~]# passwd oracle
Changing password for user oracle.
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: all authentication tokens updated successfully.
Disable firewall
#systemctl disable firewalld
chown -R oracle:oinstall /u01
chmod -R 775 /u01
xhost +
su - oracle
Edit bash_profile
vi .bash_profile
export TMPDIR=$TMP
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/19.0.0/dbhome_1
export ORA_INVENTORY=/u01/app/oraInventory
export ORACLE_SID=orclcdb
export PDB_NAME=orclpdb1
export PATH=/usr/sbin:/usr/local/bin:\$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
# Unzip software.
[oracle@oel7 ~]$ cd $ORACLE_HOME
[oracle@oel7 dbhome_1]$
[oracle@oel7 dbhome_1]$ unzip -oq
/LINUX.X64_193000_db_home.zip
Start installation by invoking. We would only install the binary in first phase.
./runInstaller
Step1 : Click setup
software only option
Step2 : Select Single Instance
Step 3:Select Enterprise edition
Step 4: Provide Oracle Base path
Step 5: Provide Inventory directory & group name
Step 6 : Select groups as oinstall
Step 6: Enable archiving and FRA location. We chose to configure this later.
Step 9: Provide sga size
Step 10: Provide port and other details to configure EM
Step 11: Provide password for all administrative accounts
No comments:
Post a Comment