mkdir –p /opt/app/oracle
mkdir –p /opt/app/oracle/product/10.2.0/db
/usr/sbin/groupadd –g 301 dba
/usr/sbin/groupadd –g 300 oinstall
useradd –u 250 –c “oracle user” –d /opt/app/oracle –g oinstall –G dba –m –s /bin/ksh oracle
chown –R oracle:dba /opt/app/oracle
chmod –R 775 /opt/app/oracle
export DISPLAY=192.168.1.72:0.0
export ORACLE_BASE=/export/home/app/oracle
export ORACLE_HOME=${ORACLE_BASE}/product/10.2.0/db_1
export ORACLE_ADMIN=${ORACLE_BASE}/admin
export TNS_ADMIN=${ORACLE_HOME}/network/admin
export LD_LIBRARY_PATH=${ORACLE_HOME}/lib
export PATH=${ORACLE_HOME}/bin:/usr/bin:/etc:/usr/openwin/bin:/usr/local/bin:/usr/sbin:${PATH}:.
pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot \
SUNWsprox SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set semsys:seminfo_shmmax=4294967295
set semsys:seminfo_shmmin=1
set semsys:seminfo_shmmni=100
set semsys:seminfo_shmseg=10