Step 1 – Disable firewall and selinux
==========================
# service iptables stop
# chkconfig iptables off
# vi /etc/selinux/config
SELINUX=disabled
==========================
Step 2 – create OS group and user
=========================
# groupadd -g 1100 oinstall
# groupadd -g 1131 dba
# groupadd -g 1132 oper
# useradd -u 1101 -g oinstall -G dba,oper oracle
# passwd oracle
==========================
create directories
==========================
# mkdir -p /u01/app/oracle/product/18.3.0/dbhome_1
# chown -R oracle:oinstall /u01
# chmod -R 775 /u01
==========================
==========================
# vi /etc/hosts
==========================
192.168.100.10 testlab.com.bd testlab
==========================
==========================
run the following command from anywhere as root
# yum install oracle-database-preinstall-18c.x86_64
==========================
run as oracle user
==========================
# TMP=/tmp; export TMP
# TMPDIR=$TMP; export TMPDIR
# ORACLE_HOSTNAME=testlab.com.bd; export ORACLE_HOSTNAME
# ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
# ORACLE_HOME=$ORACLE_BASE/product/18.3.0/dbhome_1; export ORACLE_HOME
# ORACLE_SID=orcl; export ORACLE_SID
# ORACLE_UNQNAME=orcl; export ORACLE_UNQNAME
# ORACLE_TERM=xterm; export ORACLE_TERM
# BASE_PATH=/usr/sbin:$PATH; export BASE_PATH
# PATH=$ORACLE_HOME/bin:$GRID_HOME/bin:$BASE_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
===========================
===========================
run in as Oracle go to ORACLE_HOME Directory and run
===========================
# ./runInstaller
===========================
===========================
after software is install run dbca to create database
===========================
This entry was posted on Sonntag, April 28th, 2019 at 18:01 and is filed under Administration, ORACLE Database. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.