Skip to main content

Oracle12c Database Installation steps

Oracle12c Installation step on Linux

Summary:-
This document contains the steps that how to do the oracle12c Database installations steps on Linux.
Database: Oracle12c
OS Level    : Red Hat Linux 6
Author: Brindavan Mookaiah
Designation: SAP BASIS Consultant

 
Note: The steps are only suitable for NON SAP Oracle

Pre Installation Steps:-


   Step 1)

  1. Download the software 12c http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html?ssSourceSiteId=ocomen
Step 2) Hardware requirements:
1. If Large-scale installation need to be use multicore processors with High availability.
      2. Recommended minimum RAM needed for Oracle is 2GB or more.
      3. Swap must be enabled double the size of RAM.

    Step 3) Disc Space & system meets

  1. Disk space must be more than 8GB,
  1. /tmp directory must have free space more than 1GB for error free installation.
  2. Both x86_64 and i686 packages are required for installation.
  3. Screen resolution must be more than 1024×768 resolution.
 
Introduction:-
The current version of oracle is 12c (C stands for Cloud) with cloud features. Oracle Database 12c makes the process far faster and simpler, enabling the high density of schema-based consolidation—without requiring changes to existing applications. To make this possible, a single, multitenant container database can now host many “pluggable” databases.


Capture.PNG



Step 1

    1. Login into OS with user “root”.
    2. Update /etc/hosts file with fully qualified name of server

[root@<hostname>]# cat /etc/hosts

   3. Check the Linux kernal version.

   [root@<hostname>]# uname -a

  4.  OS Packages (RPMs) requirements:

  5. Use  “oracle-rdbms-server-12cR1-preinstall” package to automatically install all required RPMs using “yum” OS utility.
   # cd /etc/yum.repos.d
  # wget https://public-yum.oracle.com/public-yum-ol6.repo
  # yum install oracle-rdbms-server-12cR1-preinstall -y

  6. Create Oracle user & Group base on your requirements

  7. Stet the value current ulimits in followings “/etc/profile”

  8 . Set the enviorment variable like below for example:

  Capture2.PNG
9.  Install the database (Note : You need X-manager or anyother tool to execute GUI to install Oracle DB)

[oracle@<hostname>]# cd /software/database
[oracle@<hostname>]# ls
[oracle@<hostname>]# ./runInstaller

Capture3.PNG

Capture4.PNG

It will ask the E-mail ID to registred to send oracle updates. If you don’t want to  registre then just select the option skip  and continue.

Capture5.PNG

Click “Next”

Capture6.PNG

Select any of installation options, and click Next.


1) Here we select “Install database software only”.This option only installs the database binaries.
2) To configure the database, you must run Oracle Database Configuration Assistant after the software installation.
3) To upgrade 11G to 12C then select upgrade option

Then click ” Next”

.Capture7.PNG

Here we select option “Single instance database installation”.( This option installs the database software and the listener) and then click “Next”

Capture8.PNG
Select the language and  then Click ” Next “

Capture9.PNG

You can select the Edition as per the requirement, Here we have select Enterprise Edition, and then click ” Next”

Capture10.PNG

The Oracle base path appears by default. You can change this path based on your requirement.
Specify Oracle Base, Software Location, and then click “Next”.

Capture11.PNG
The operating system groups are selected by default. You can also manually select the groups and select “Next”.

Capture12.PNG

. You should fix all issues before proceed to Next if you found any system requirements to install database mets.

Capture13.PNG

If everything find then Click ” Next”.

Capture14.PNG

Click ” Install”

Capture16.PNG

Capture17.PNG
Run the “root.sh script” and then click “Ok”.

[root@<hostname>]# cd /u01/app/oracle/product/12.1.0/db_1
[root@<hostname>]# sh root.sh

Performing root user operation for Oracle 12c

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/12.1.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of “dbhome” have not changed. No need to overwrite.
The contents of “oraenv” have not changed. No need to overwrite.
The contents of “coraenv” have not changed. No need to overwrite.

Capture18.PNG

Oracle12c database install sucessfully.

After Software installation and then create database using “DBCA”

Creating Oracle Database 12c (Container & Pluggable)

Capture19.PNG
Capture20.PNG

For beginners, default is good, but here we use advanced option to learn more.
Specify Container & Pluggable database name and then click ” Next”.

Capture21.PNG
Click ” Finish”

Capture22.PNG

Click ” Next”

Capture23.PNG
Select what type of database you want to create (OLTP, Warehouse, General, or Custom). You can view detailed featured for all types by clicking “Show Details” button. Once selected, click “Next”.

Capture24.PNG

Enter the Global database name and then click ” Next”

Capture25.PNG

Select the required Option and then click ” Next” ( Here we have selected ” Datbase Express”

Capture26.PNG

Enter rhe password and then Click ” Next”

Capture28.PNG
Click ” Next”

Capture29.PNG

Select location of datafiles, Storage File System, Fast Recover Area as previously known as FLASHBACK and size. You can also enable archiving here and can setup Multiplex (multiple duplicate locations) for REDO & Control files.

Capture30.PNG

You can select Database Vault & Label Security features here as per your requirement.

Capture31.PNG
You can select the memory and click ” Next”.

Then check the sizing & character stets and then click ” Next”

Capture32.PNG

Dedicated Server Mode is most commonly used, but you can select “Shared Server Mode”

Capture33.PNG

Select the Create ” Database ” and then click ” Next”

The Next screen Summary and then click ” Next”

Capture34.PNG

Creating Oracle Database 12c (Container & Pluggable)


Capture35.PNG

Once Complete, it will prompt you for “Password Management” of default accounts Note the URL: https://hostname:5500/em for managing database.

Give the URL in IE with user ” system and password.

Capture36.PNG
Oracle web login page

Capture37.PNG

Oracle database home

Capture38.PNG
Oracle Memory Management

Capture39.PNG

Oracle Tablespace

Capture40.PNG
Oracle Performance Hub

All the performance,backup, configuration can be see in web.

Comments

Popular posts from this blog

SAP ST-PI and ST-A/PI Patch Update Steps

SAP ST-PI and ST-A/PI patch update Summary :- This document will show you how to update the ST-/PI and ST-A/PI in SAP with help of service preparation check RTCCTOOL . Author: Brindavan Mookaiah Designation : SAP BASIS Consultant Tabls of content 1) EWA report 2) Run RTCCTOOL 3) Implement the ST-A/PI and ST-PI Step 1) Check the EWA report about the ST-PI and ST-A/PI patch to update. SAP will recommend upgrading the new version based on SAP Application. Steps 2) Once if you able to see that the ST-A/PI & ST-PI  need to update and SAP recommeded. Then login into SAP and go to T-code SE38 and then execute program  ‘RTCCTOOL ‘. Download the latest ST-PI and ST-A/PI from service market place http://www.service.sap.com Once you downloaded  the required file(ST-PI& ST-A/PI) from market place and copy the file into the server. Mostly this file will be SAR file. Login in to OS level with SIDadm and extract the file using SAPCAR. ,After  th

How to export RFC destinations prior Refresh

The best and easiest way... Goto SE01, create transport request (Transport of Copies) R3TR TABU RFCATTRIB * R3TR TABU RFCDES * R3TR TABU RFCDOC * R3TR TABU RFCSYSACL * If you take only RFCDES you will be missing the Documentation part of RFCs in order to take everything you need to have export of all the above mentioned tables.

SAPROUTER Installation

his blog intends to support all consultants who work with SAP ROUTER setup and maintenance. Introduction: The step by step configuration procedure is to install SAP ROUTER on Windows platform (The same procedure can be used in Unix environment) Importantly, if the system is in Domain, perform entire operation with domain admin user only. Not with local admin. Configurations steps: OSS message to SAP: Raise an OSS message to SAP for component XX-SER-NET-NEW with following information. “Request you to please register our Public IP & Host Name for SNC connection for SAP Router <saprouter box hostname> Details: Public ip:<public of your saprouter server> Hostname:<hostname of your saprouter server> Please contact <name> and <number > for more information on this“ Response from SAP would be: Dear customer, We’ve registered your data for the SNC connection to SAP Support. Please do the following: – Go to the http://service.sap.com/s