1.#gunzip 10gr2_db_sol.cpio.gz
2.#cpio -idmv<10gr2_db_sol.cpio
3.To determine the available RAM and swap space, enter the following command:
# sar -r n i
bash-3.00# sar -r 2 1
SunOS oracle 5.10 Generic_118833-33 sun4u 05/22/2008
10:40:27 freemem freeswap
10:40:29 15586 8285604
bash-3.00#
4.#pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot SUNWsprox
SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
5.# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
6.kernel parameters now have to be modified via the project file. To set the kernel parms for Oracle 10g:
first as root edit /etc/system and add the following:
set noexec_user_stack=1
#projadd -c "Oracle" user.oracle
#projmod -sK "project.max-shm-memory=(priv,4294967295,deny)" user.oracle
#projmod -sK "process.max-sem-nsems=(priv,256,deny)" user.oracle
#projmod -sK "project.max-sem-ids=(priv,100,deny)" user.oracle
#projmod -sK "project.max-shm-ids=(priv,100,deny)" user.oracle
to check the project file settings:
su - oracle
prctl -i project user.oracle
7.bash-3.00$ 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=/export/home/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.0
ORACLE_SID=ora10g
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
PATH=$ORACLE_HOME/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/local/bin
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib:/usr/local/lib:/usr/li
b
DISPLAY=127.0.0.1:0.0
TMPDIR=/var/tmp
export ORALCE_BASE ORACLE_HOME ORACLE_SID NLS_LANG PATH
LD_LIBRARY_PATH
DISPLAY TMPDIR
umask 022
bash-3.00$
8../runInstall
$emclt start dbconsole
SQL> select log_mode from sys.v$database;
LOG_MODE
------------
NOARCHIVELOG
SQL>
阅读(977) | 评论(0) | 转发(0) |