oracle 12c rdbms quick install process · oracle 12c rdbms quick install process 1. install oracle...

16
Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages. 4. Download database software 5. Run Installer and follow screens. *** This document is intended for learning purpose only. Please do not use it as reference material for production install ***

Upload: trinhanh

Post on 04-May-2018

245 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

Oracle 12c RDBMS Quick Install Process

1. Install Oracle Linux 5.6

2. Update swappiness if you are using VM

3. Install required packages.

4. Download database software

5. Run Installer and follow screens.

*** This document is intended for learning purpose only. Please do not use it as reference material for production install ***

Page 2: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

Install Oracle Linux 5.6 (Go back to top)

step by step installation document coming soon stay tuned…

Update swappiness if you are using VM (Go back to top)

You can change setting for current server (not persistent)

#sysctl vm.swappiness=100

To make a change permanent, edit the configuration file

#vi /etc/sysctl.conf

Search for vm.swappiness and change its value as desired. If it d does not exist, you can add it

vm.swappiness=100

Page 3: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

Install required packages. (Go back to top)

Download the yum repository file for your Linux distribution from

http://public-yum.oracle.com, using the instructions you can find on the public yum site.

# cd /etc/yum.repos.d/

# wget http://public-yum.oracle.com/public-yum-ol6.repo

Oracle Linux 6:

# yum install oracle-rdbms-server-12cR1-preinstall

Oracle Linux 5:

# yum install oracle-validated

List of Packages for Oracle Linux 6 and Red Hat Enterprise Linux 6

The following packages (or later versions) must be installed:

binutils-2.20.51.0.2-5.11.el6 (x86_64)

compat-libcap1-1.10-1 (x86_64)

compat-libstdc++-33-3.2.3-69.el6 (x86_64)

compat-libstdc++-33-3.2.3-69.el6 (i686)

gcc-4.4.4-13.el6 (x86_64)

gcc-c++-4.4.4-13.el6 (x86_64)

glibc-2.12-1.7.el6 (i686)

glibc-2.12-1.7.el6 (x86_64)

glibc-devel-2.12-1.7.el6 (x86_64)

glibc-devel-2.12-1.7.el6 (i686)

ksh

libgcc-4.4.4-13.el6 (i686)

libgcc-4.4.4-13.el6 (x86_64)

libstdc++-4.4.4-13.el6 (x86_64)

libstdc++-4.4.4-13.el6 (i686)

libstdc++-devel-4.4.4-13.el6 (x86_64)

libstdc++-devel-4.4.4-13.el6 (i686)

libaio-0.3.107-10.el6 (x86_64)

libaio-0.3.107-10.el6 (i686)

libaio-devel-0.3.107-10.el6 (x86_64)

libaio-devel-0.3.107-10.el6 (i686)

libXext-1.1 (x86_64)

libXext-1.1 (i686)

libXtst-1.0.99.2 (x86_64)

libXtst-1.0.99.2 (i686)

Page 4: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

libX11-1.3 (x86_64)

libX11-1.3 (i686)

libXau-1.0.5 (x86_64)

libXau-1.0.5 (i686)

libxcb-1.5 (x86_64)

libxcb-1.5 (i686)

libXi-1.3 (x86_64)

libXi-1.3 (i686)

make-3.81-19.el6

sysstat-9.0.4-11.el6 (x86_64)

Download database software (Go back to top)

You can download software from below link.

http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

Oracle RDBMS software is packaged in two zip files. Make sure that you extract both the archive files to

the same directory.

unzip file_name.zip

Run Installer (Go back to top)

Login as “oracle” os user

Cd to directory where you unzip software

./runInstaller

Page 5: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

Screen 1: if you are planning to configure configuration manager provide your email address. If you do

not then press next button.it will ask you to validate your step press ok

(Go back to top)

Page 6: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

Screen2: if you want to download software.Browse the patch if you already downloaded soft ware.In

our case I use skip software update option.

(Go back to top)

Page 7: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

Screen3:Here you have to select option 1 if you want to install software and create database both,

Option2 if you want to install software only.Option3 is for upgrade.

(Go back to top)

Page 8: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

Screen4:Option1 for single node(non rac) database installation.Option2 for RAC install and option3 for

one node RAC (easy on licensing and free restart ☺☺☺☺)

(Go back to top)

Page 9: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

Screen5:Default LanguageEnglish already selected

(Go back to top)

Page 10: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

Screen6: Choose between Enterprise, Standard and Standard one. Standard one is new in 12c.

(Go back to top)

Page 11: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

Screen7: Choose Oracle base

(Go back to top)

Page 12: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

Screen8: Inventory location will be prepopulated and default group oinstall too. You can change it if

you need to but this is best practice.

(Go back to top)

Page 13: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

Screen6: Select All groups here you need to have in database. Remember there are 4 new groups added

in 12c OSBACKUPDBA/OSDGDBA/OSKMDBA.

(Go back to top)

Page 14: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

Screen10: Fix all the errors you see here and then move to next step.

(Go back to top)

Page 15: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

Screen11: Save response file if you want and click install.

(Go back to top)

Page 16: Oracle 12c RDBMS Quick Install Process · Oracle 12c RDBMS Quick Install Process 1. Install Oracle Linux 5.6 2. Update swappiness if you are using VM 3. Install required packages

References:

http://docs.oracle.com/cd/E16655_01/install.121/e17720.pdf

Stay tuned for Database creation using DBCA….

(Go back to top)