Installation of Oracle in Solaris Platform

Installation of Oracle in Solaris Platform:

1. Check the OS packages that are required for the Oracle installation.

pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibC SUNWlibms SUNWsprot SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt

2. Install them, mount the Solaris installation dvd and run the following command:

pkgadd -d /cdrom/sol_10_910_x86/Solaris_10/Product SUNWi1cs SUNWi15cs

3. Create user and groups for the Oracle installation:

groupadd oinstall
groupadd dba
useradd -g oinstall -G dba -d /export/home/oracle -s /usr/bin/bash oracle
passwd oracle

4. Create necessary folder for the installation:

mkdir -p /export/home/oracle/product/11.2.0/db_1
mkdir /export/home/oracle/tmp
chown -R oracle:oinstall /export/home/oracle

5. Change kernel parameters

projadd -U oracle -K "project.max-shm-memory=(priv,4g,deny)" oracle
projmod -sK "project.max-sem-nsems=(priv,256,deny)" oracle
projmod -sK "project.max-sem-ids=(priv,100,deny)" oracle
projmod -sK "project.max-shm-ids=(priv,100,deny)" oracle
echo "set maxuprc=16384" >> /etc/system
echo "set max_nprocs=30000" >> /etc/system
echo "set shmsys:shminfo_shmmax=4294967295" >> /etc/system

6. Reboot the machine and login with an oracle user
Let’s create a new swap file with 1Gb size, as it’s required for the Oracle installation

mkfile 1024m /export/home/oracle/orcl_swap
swap -a /export/home/oracle/orcl_swap

Note: If on installation it gives error then increase the size of swap upto 4Gb.
7. Change the .profile file of the oracle user and set necessary environment variables:

gedit /export/home/oracle/.profile

export ORACLE_BASE=/export/home/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
export TMP=/export/home/oracle/tmp
export TMPDIR=/export/home/oracle/tmp
export DISPLAY=:0.0

Save file

8. Unzip the software and start the installation process:

cp /cdrom/files/* /export/home/oracle/installation
cd /export/home/oracle/installation

cd database

and at last run the or


Leave a Reply

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

You are commenting using your 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