//********To check RAM ********///
prtconf | grep "Memory size"
//*******To Check SWAP Memory Size *******///
swap -s
///*****************To check /tmp size********///
df -h /tmp (minimum 400 mb required)
//************Determine the System Architecture********////
32-bit i386 kernel modules
///******To check & Install package required for oracle installation*******////////
pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot \
SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
//********** To Add Package***/////////
pkgadd -d /cdrom/sol_10_1106_x86/Solaris_10/Product SUNWi1cs SUNWi15cs
//********Change Kernal Parameter**********//////////
change kernel parameters by editing /etc/system file as follows:
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semmni=100
set semsys:seminfo_semvmx=32767
set noexec_user_stack=1
//*****Create group for Oracle Installation******/////
groupadd oinstall
groupadd dba
//******** Create project group for system resource allocate*******//////
projadd group.dba
projects -l group.dba
group.dba
projid : 101
comment: ""
users : (none)
groups : (none)
attribs:
projmod -sK "project.max-shm-memory=(privileged,2G,deny)" group.dba
projmod -sK "project.max-sem-ids=(privileged,100,deny)" group.dba
projmod -sK "project.max-shm-ids=(privileged,100,deny)" group.dba
projmod -sK "project.max-sem-nsems=(privileged,256,deny)" group.dba
//*******Create user in respective home directory*****///////
useradd -g oinstall -G dba -m -d /opt/oracle -s /bin/ksh -K project=group.dba oracle
passwd -r files oracle
//*****Making Directory as per requirment*****/////////
( option to create directory login with oracle user )
mkdir -p /opt/oracle/product/9.2.0/db_1
chown -Rh oracle:oinstall /opt/oracle
chmod -R 755 /opt/oracle
///*********
To Manage .profile
Login to user “oracle” and edit “.profile” to set ORACLE_BASE,ORACLE_HOME,etc.
****////
if root user then
gedit /opt/oracle/.profile
gedit .profile
or
vi .profile
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/opt/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/9.2.0/db_1; export ORACLE_HOME
ORACLE_SID=NMS; export ORACLE_SID
PATH=$ORACLE_HOME/bin:$PATH; export PATH
logout again login
you will see to all parameter
env
///*********** copy or unzip oracle database software***//////////
if another location
cp -r /mnt/oracle /opt/oracle/
unzip -o 10201_database_solx86_64.zip
./runInstaller
prtconf | grep "Memory size"
//*******To Check SWAP Memory Size *******///
swap -s
///*****************To check /tmp size********///
df -h /tmp (minimum 400 mb required)
//************Determine the System Architecture********////
32-bit i386 kernel modules
///******To check & Install package required for oracle installation*******////////
pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot \
SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
//********** To Add Package***/////////
pkgadd -d /cdrom/sol_10_1106_x86/Solaris_10/Product SUNWi1cs SUNWi15cs
//********Change Kernal Parameter**********//////////
change kernel parameters by editing /etc/system file as follows:
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semmni=100
set semsys:seminfo_semvmx=32767
set noexec_user_stack=1
//*****Create group for Oracle Installation******/////
groupadd oinstall
groupadd dba
//******** Create project group for system resource allocate*******//////
projadd group.dba
projects -l group.dba
group.dba
projid : 101
comment: ""
users : (none)
groups : (none)
attribs:
projmod -sK "project.max-shm-memory=(privileged,2G,deny)" group.dba
projmod -sK "project.max-sem-ids=(privileged,100,deny)" group.dba
projmod -sK "project.max-shm-ids=(privileged,100,deny)" group.dba
projmod -sK "project.max-sem-nsems=(privileged,256,deny)" group.dba
//*******Create user in respective home directory*****///////
useradd -g oinstall -G dba -m -d /opt/oracle -s /bin/ksh -K project=group.dba oracle
passwd -r files oracle
//*****Making Directory as per requirment*****/////////
( option to create directory login with oracle user )
mkdir -p /opt/oracle/product/9.2.0/db_1
chown -Rh oracle:oinstall /opt/oracle
chmod -R 755 /opt/oracle
///*********
To Manage .profile
Login to user “oracle” and edit “.profile” to set ORACLE_BASE,ORACLE_HOME,etc.
****////
if root user then
gedit /opt/oracle/.profile
gedit .profile
or
vi .profile
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/opt/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/9.2.0/db_1; export ORACLE_HOME
ORACLE_SID=NMS; export ORACLE_SID
PATH=$ORACLE_HOME/bin:$PATH; export PATH
logout again login
you will see to all parameter
env
///*********** copy or unzip oracle database software***//////////
if another location
cp -r /mnt/oracle /opt/oracle/
unzip -o 10201_database_solx86_64.zip
./runInstaller