As the root user,
#groupadd oinstall
#groupadd dba
#useradd -d /oracle -g oinstall -G dba -m -s /bin/ksh oracle
#passwd -r files oracle
--------------------------------------------------------------------------
Edit the /oracle/.profile file and add lines
umask 022
TMP=/tmp
TMPDIR=$TMP
DISPLAY=localhost:0.0
export TMP TMPDIR DISPLAY
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1
ORACLE_SID=sol10
PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH
--------------------------------------------------------------------------
save and check
# su - oracle
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
$ env
--------------------------------------------------------------------------
As the root user,
#mkdir /u01/app/oracle
#mkdir /u01/app/oracle/product/10.1.0/db_1
#chown -R oracle:oinstall /oracle
#chmod -R 775 /oracle
--------------------------------------------------------------------------
$gunzip solarisx86_DB_10_1_0_3_Disk1.cpio.gz
$cpio -idm < solarisx86_DB_10_1_0_3_Disk1.cpio
--------------------------------------------------------------------------
edit the /etc/user_attr file and add
oracle::::project=oracle
--------------------------------------------------------------------------
save and check
# su - oracle
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
$ id -p
$ prctl -n project.max-shm-memory -i project oracle
--------------------------------------------------------------------------
new terminal session as root
#prctl -n project.max-shm-memory -v 4gb -r -i project oracle
oracle user's session
$ prctl -n project.max-shm-memory -i project oracle
root user's session
#projmod -s -K "project.max-shm-memory=(priv,4gb,deny)" oracle
---------------------------------------------------------------------------
#xhost +
#su - oracle
$/Disk1/runInstaller -ignoreSysPrereqs
......
......
Look in:
Thursday, October 04, 2007
Subscribe to:
Posts (Atom)