0% found this document useful (0 votes)
44 views13 pages

Oracle Pluggable Database Installation

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 13

1.

Set the Hostname :


(a) Under /etc/hosts:
192.168.xx.xx quickfixlinux.com
(b) Under /etc/hostname:
It should display the host name same as entered above

2. system requirements

(a) Stack size


To view current stack size : ulimit -H -a
To change stack size: ulimit -S -s 131072 (131072=128 mb)

(b) Kernel updates(as root user)

 To Check existing kernel version : uname -r

 To check the available updates: yum check-update

 To update any package : yum update package_name

 Update multiple package: these package updates are mandatory

[root@satish ~]# yum install -y binutils compat-libstdc++-


33 compat-libstdc++-33.i686 gcc gcc-
c++ glibc glibc.i686 glibc-devel glibc-
devel.i686 ksh libgcc
libgcc.i686 libstdc++ libstdc++.i686 libstdc++-
devel libstdc++-devel.i686 libaio libaio.i686 libaio-
devel libaio-
devel.i686 libXext libXext.i686 libXtst libXtst.i686 libX11
libX11.i686 libXau
libXau.i686 libxcb libxcb.i686 libXi libXi.i686 make
sysstat unixODBC unixODBC-devel zlib-devel
 To update all packages : yum update

Update below packages


binutils-2.23.52.0.1-12.el7.x86_64

compat-libcap1-1.10-3.el7.x86_64

compat-libstdc++-33-3.2.3-71.el7.i686
compat-libstdc++-33-3.2.3-71.el7.x86_64

gcc-4.8.2-3.el7.x86_64

gcc-c++-4.8.2-3.el7.x86_64

glibc-2.17-36.el7.i686

glibc-2.17-36.el7.x86_64

glibc-devel-2.17-36.el7.i686

glibc-devel-2.17-36.el7.x86_64

ksh

libaio-0.3.109-9.el7.i686

libaio-0.3.109-9.el7.x86_64

libaio-devel-0.3.109-9.el7.i686

libaio-devel-0.3.109-9.el7.x86_64

libgcc-4.8.2-3.el7.i686

libgcc-4.8.2-3.el7.x86_64

libstdc++-4.8.2-3.el7.i686

libstdc++-4.8.2-3.el7.x86_64

libstdc++-devel-4.8.2-3.el7.i686

libstdc++-devel-4.8.2-3.el7.x86_64

libXi-1.7.2-1.el7.i686

libXi-1.7.2-1.el7.x86_64

libXtst-1.2.2-1.el7.i686

libXtst-1.2.2-1.el7.x86_64

make-3.82-19.el7.x86_64

sysstat-10.1.5-1.el7.x86_64

3. ORACLE 12c instllation

(a) Create directory : /u01/app/oracle/product


(b) Unzip downloaded file here ,data base folder will be created by its own
(c) Go to database directory /u01/app/oracle/product/database
(d) Run ./runInstaller
[STEP-1]
[STEP-2]
[STEP-3]

[STEP-4]
[STEP-5] There are two ways to do the installation,
(1) Typical Install or (2) Advanced Install.. Here,
first we will look into (1) & then (2)
[STEP-6]
NOTE: password here can’t contain any special characters:

[STEP-7]
[STEP-8]
As a root user: Now, Change the /etc/oratab entry from “N” to “Y”
orcl:/oracle/app/oracle/product/12.2.0/dbhome_1:Y

As a Oracle user: Now, add the below Entries in .bash_profile file :


export ORACLE_HOSTNAME=Satish.suneratech.com

export ORACLE_UNQNAME=orcl

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/12.1.0/dbhome_1

export ORACLE_SID=orcl

Run below to start the database

[oracle@quickfixlinux ~]$ source .bash_profile


[oracle@quickfixlinux ~]$ ./sqlplus
Enter user-name: SYS AS SYSDBA

Enter password: <password given while installation>

Connected to an idle instance.

You might also like