Oracle Database 12c (12.1.0.2) installation on Solaris 11 (11.2 x86)

Hello everyone!!
Today I will show, how to prepare the Solaris 11.2 for install Oracle Database 12c (12.1.0.2).
I am still familiarizing with Solaris systems, to me it has been a good experience.
I am discovering very good features about Solaris systems. This is a simple post, with few steps you can be prepare.

To complete the steps you will need the following prerequisites:

Download Virtual Box:
http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html

Download Solaris 11.2:
http://www.oracle.com/technetwork/server-storage/solaris11/downloads/index.html

Solaris now has pre-req validation package, named oracle-rdbms-server-12-1-preinstall , like we had on linux check here: http://docs.oracle.com/cd/E36784_01/html/E52463/makehtml-id-4.html

Solaris now has the ipadm command. Very helfull comparing to ifconfig. Take a glance on that here: http://docs.oracle.com/cd/E36784_01/html/E39134/gnice.html

Well, here we go!

Check your version:

root@srvsolaris:~# cat /etc/release
                                        Oracle Solaris 11.2 X86
Copyright (c) 1983, 2014, Oracle and/or its affiliates. All rights reserved.
                                      Assembled 23 June 2014

Check your IP address:

root@srvsolaris:~# ifconfig -a

net0: flags=100001004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,PHYSRUNNING> mtu 1500 index 2 inet 192.168.2.103 netmask ffffff00 broadcast 192.168.2.103 ether 8:0:27:9f:63:ac

Now edit the /etc/hosts file and put the hostname and ipadress.

srvsolaris 192.168.2.103

Now as root user create the oracle user

root@srvsolaris:~# groupadd oinstall
root@srvsolaris:~# groupadd dba
root@srvsolaris:~# useradd -g dba -G oinstall -m oracle
root@srvsolaris:~# passwd oracle

Set the following commands to configure system settings:

root@srvsolaris:~# projadd -U oracle -K “project.max-shm-memory=(priv,4g,deny)” user.oracle

Edit (as root) /etc/ssh/sshd_config and change LoginGraceTime value:

LoginGraceTime 0

Restart the SSH service to load settiongs:

root@srvsolaris:~# svcadm restart ssh

Install the following packges:

root@srvsolaris:~# pkg install compatibility/packages/SUNWxwplt SUNWmfrun \

SUNWarc SUNWhea  SUNWlibm
root@srvsolaris:~# pkg install assembler

Create the directories:

root@srvsolaris:~# mkdir -p /u01/app/oracle/product/12.1.0.2/db_1
root@srvsolaris:~# chown -R oracle:oinstall /u01

As oracle user put into the .profile the following settings:

ORACLE_HOSTNAME=srvsolaris.localdomain; export ORACLE_HOSTNAME
ORACLE_BASE=/u01/app/oracle/; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/oracle/product/12.1.0.2/db_1; export ORACLE_HOME
ORACLE_SID=DB12C; export ORACLE_SID
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$CRS_HOME/lib
PATH=$ORACLE_HOME/bin:$PATH; export PATH

Now unzip the files:

oracle@srvsolaris:~$ unzip solaris.x64_12102_database_1of2.zip
oracle@srvsolaris:~$ unzip solaris.x64_12102_database_2of2.zip

Start the Oracle Universal Installer

./runInstaller

Cheers!

Felipe!

3 thoughts on “Oracle Database 12c (12.1.0.2) installation on Solaris 11 (11.2 x86)

  1. farhan 16 de December de 2015 / 05:09

    Awesome!! Thanks for the Article!!

    Like

  2. Vyshak 9 de November de 2017 / 05:33

    A very good article. Simple summary !

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s