$ su - root
$ groupadd -g 100 dba
$ groupadd -g 101 oinstall
$ useradd -u 101 -d /export/home/oracle -g oinstall -G dba -m -s /bin/bash oracle
$ passwd oracle
2. Modify file system on /etc/system
$ cp /etc/system /etc/system.orig
and Add the following parameters in /etc/system
set noexec_user_stack=1
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
reboot Server /usr/sbin/reboot
3. Setup the Solaris Kernel, login as root
$ projadd -U oracle -K "project.max-shm-memory=(priv,4096MB,deny)" user.oracle
show system parameters
$ cat /etc/project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
user.oracle:100::oracle::project.max-shm-memory=(priv,4294967296,deny)
Now you can also modify the max-sem-ids Parameter:
# projmod -s -K "project.max-sem-ids=(priv,256,deny)" user.oracle
Check the Parameters as User oracle
$ prctl -i project user.oracle
4. Make directory for destination installer
$ mkdir -p /u01/app/oracle/product/10.2
5. Set oracle environtment
login as oracle edit file .bash_profile
$ su - oracle
$ vi .bash_profile
adding this to end of line
umask 022
ORACLE_BASE=/u01/app/oracle/product/10.2.0; export ORACLE_BASE
ORACLE_HOME=${ORACLE_BASE}/db; export ORACLE_HOME
# Change to your SID name
ORACLE_SID=ORADBBC; export ORACLE_SID
TNS_ADMIN=/u01/app/oracle/product/10.2.0; export TNS_ADMIN
ORA_NLS10=${ORACLE_HOME}/nls/data; export ORA_NLS10
CLASSPATH=${CLASSPATH}:${ORACLE_HOME}/jdbc/lib/classes12.zip
#
ORACLE_TERM=xterm; export ORACLE_TERM
ORACLE_OWNER=oracle; export ORACLE_OWNER
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1; export NLS_LANG
LD_LIBRARY_PATH=/usr/lib:${ORACLE_HOME}/lib:${ORACLE_HOME}/lib32; export LD_LIBRARY_PATH
# Set up the search paths
PATH=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/usr/sfw/sbin
PATH=$PATH:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/sadm/bin
PATH=$PATH:/usr/sfw/bin:/usr/X11/bin:/usr/j2se/bin
PATH=$PATH:$ORACLE_HOME/bin
Download Oracle Source from oracle website, extrac to oracle home folder and do install by command.
./runinstaller