1.Check OS package
SUNWarc SUNWlibms SUNWi1of SUNWbtool SUNWsprot
SUNWi1cs SUNWhea SUNWi15cs SUNWlibm SUNWtoo SUNWxwfnt
# pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot
SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
2. vi /etc/system
set semsys:seminfo_semmni=100
#set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
#set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=34359738368
set shmsys:shminfo_shmmni=100
3. #/usr/sbin/groupadd oinstall
#/usr/sbin/groupadd dba
# /usr/sbin/useradd –d /oracle/app/oracle –m -g oinstall -G dba –s /bin/ksh oracle
4. # more .profile
# This is the default standard profile provided to a user.
# They are expected to edit it to meet their own needs.
ORACLE_BASE=/oracle/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.2.0
ORACLE_DOC=$ORACLE_HOME/doc
ORACLE_PATH=.:$ORACLE_BASE/sql/public
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/openwin/lib
ORACLE_SID=mtepp
TNS_ADMIN=$ORACLE_HOME/network/admin
PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:/usr/ccs/bin:/usr/sbin
export ORACLE_BASE
export ORACLE_HOME
export ORACLE_DOC
export ORACLE_PATH
export LD_LIBRARY_PATH
export ORACLE_SID
export PATH
export TNS_ADMIN
umask 022
MAIL=/usr/mail/${LOGNAME:?}
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10897379/viewspace-964192/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10897379/viewspace-964192/