본문 바로가기

ORACLE/INSTALLATION

ORACLE 12.1.0.2.0 Installation

ORACLE Engine

  • ORACLE Grid infrastructure 12.1.0.2.0
  • ORACLE Database 12.1.0.2.0

User creation

groupadd dba

useradd -s /bin/bash -g dba -d /oragrid oragrid

useradd -s /bin/bash -g dba -d /oracle oracle

passwd oragrid

passwd oracle

User Profile

oragrid$

export ORACLE_SID=+ASM
export ORACLE_BASE=/oragrid
export ORACLE_HOME=$ORACLE_BASE/product/12.1.0.2
export PATH=$ORACLE_HOME/bin:$PATH

 

oracle$

export ORACLE_SID=node1
export ORACLE_BASE=/oracle
export ORACLE_HOME=$ORACLE_BASE/product/12.1.0.2
export PATH=$ORACLE_HOME/bin:$PATH

Additional rpm installation

yum install compat-libstdc++-33.x86_64

yum install libstdc++-devel.x86_64

yum install gcc-c++.x86_64

yum install ksh.x86_64

yum install libaio-devel.x86_64

yum install oracleasm-support-2.1.11-2.el6.x86_64

yum install kmod-oracleasm-2.0.8-16.1.el6_10.x86_64

 

Configure ASM disk

root#

/etc/init.d/oracleasm configure

# oragrid / dba / y / y

fdisk /dev/sdb

# n / p / 1 / max / w

ls /dev/sdb*

oracleasm createdisk data1 /dev/sdb1

oracleasm listdisks

Grid Infrastructure

Install and Configure Oracle Grid Infrastructure for a Standalons Server

Configure a Standard cluster

Typical Installation

ORACLE BASE : /oragrid

ORACLE HOME : /oragrid/product/12.1.0.2

Inventory : /oragrid/oraInventory

After installation

oragrid$

sqlplus '/as sysdba'

create pfile from spfile;

crsctl stop has

 

root#

reboot

 

Database

root#

chmod 750 /oragrid 

Install database software only

 

oracle$

dbca

Create Database

 

root#

chmod 750 /oracle