1. Kernel Parameters
--------------------
vi /etc/system
set shmsys:shminfo_shmmax=4294967295 (给oracle最大内存设为2G)
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmni=110
set semsys:seminfo_semmns=310
2. user,group and ENVs
--------------------
# groupadd dba
# useradd –g dba –d /export/home/oracle -m oracle
# passwd oracle
# su – oracle
$ vi .profile
Add below:
ORACLE_BASE=/export/home/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.0
ORACLE_SID=tsunami
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
PATH=$ORACLE_HOME/bin:/bin:/sbin
:/usr/ccs/bin:/usr/local/bin
LD_LIBRARY_PATH=$ORACLE_HOME/lib
:$ORACLE_HOME/network/lib:/usr/local/lib:/usr/lib
DISPLAY=192.168.1.88:0.0
TMPDIR=/var/tmp
export ORALCE_BASE ORACLE_HOME
export ORACLE_SID NLS_LANG PATH
export LD_LIBRARY_PATH DISPLAY TMPDIR
umask 022
:wq
3. Installation Media
--------------------
$ cp -R 10g_db_i.gz /export/home/oracle
$ gunzip 10g_db_i.gz
$ cpio -ivmd < 10g_db_i
$ ./runInstaller -ignoreSysPrereqs
or
$ vi /export/home/oracle/db/Disk1/install/oraparam.ini
LURE_MESSAGE
Solaris=5.6,5.7,5.8,5.9,5.10
Linux=redhat-2.1AS
#HPUX=B.11.00
Decunix=V5.1A,V5.1
AIX=5.1.0.0
:wq
$ vi oraparam.var
LURE_MESSAGE
Solaris=5.8,5.9,5.10
Windows=4.0,5.0,5.1,5.2
Linux=redhat-2.1AS
HPUX=B.11.11
Decunix=V5.1A,V5.1
AIX=5.1.0.0
:wq
4. Begin to install
--------------------
$ ./runInstaller
No comments:
Post a Comment