前言
在此,只是为了展示一下Oracle 10G的安装,可能对于企业应用并不具备多少参考价值。目的在于给Oracle 10G没有直观认识的同行们一个走马观花的过程,正如元宵节的灯会,只是看灯笼的璀璨,而不是看灯笼的制造工艺。
本文只涉及对Oracle 10G DB的安装过程,重视过程而不是结果。没有涉及Companion CD、Client和Oracle Cluster Ready Services的安装,希望今后有专业人士对此做进一步的解释。
Oracle 10G来源
Oracle官方网站otn.oracle.com
http://otn.oracle.com/software/prod...e10g/index.html
版本及描述:
Oracle Database 10g Release 1 (10.1.0.2)
Enterprise/Standard Edition for Solaris Operating System (SPARC, 64-bit)
ship_rel10_sol64_db.cpio.gz (702,057,455 bytes) (cksum - 1104980313)
Oracle Database 10g Companion CD Release 1 (10.1.0.2) for SPARC (64-bit)
ship_rel10_sol64_ccd.cpio.gz (503,776,635 bytes) (cksum - 3851204001)
Oracle Database 10g Client Release 1 (10.1.0.2) for SPARC (64-bit)
ship_rel10_sol64_client.cpio.gz (552,689,019 bytes) (cksum - 682109263)
Oracle Cluster Ready Services Release 1 (10.1.0.2) for SPARC (64-bit)
ship_rel10_sol64_crs.cpio.gz (222,378,776 bytes) (cksum - 4162816696)
下载地址:
(注意需要OTN账户登陆,支持多线程和断点续传)
http://download.oracle.com/otn/sola...ol64_db.cpio.gz
http://download.oracle.com/otn/sola...l64_ccd.cpio.gz
http://download.oracle.com/otn/sola..._client.cpio.gz
http://download.oracle.com/otn/sola...l64_crs.cpio.gz
测试安装平台:
Sun Blade2000工作站,72GB FC-AL SCSI Disk,1GB RAM
testdb% uname -a
SunOS testdb 5.9 Generic_112233-08 sun4u sparc SUNW,Sun-Blade-1000
testdb% sysdef -i
...
...
*
* System Configuration
*
swap files
swapfile dev swaplo blocks free
/dev/dsk/c1t1d0s1 118,1 16 4100912 3938848
*
* Tunable Parameters
*
20725760 maximum memory allowed in buffer cache (bufhwm)
15818 maximum number of processes (v.v_proc)
99 maximum global priority in sys class (MAXCLSYSPRI)
15813 maximum processes per user id (v.v_maxup)
30 auto update time limit in seconds (NAUTOUP)
25 page stealing low water mark (GPGSLO)
5 fsflush run rate (FSFLUSHR)
25 minimum resident memory for avoiding deadlock (MINARMEM)
25 minimum swapable memory for avoiding deadlock (MINASMEM)
*
* Utsname Tunables
*
5.9 release (REL)
testdb node name (NODE)
SunOS system name (SYS)
Generic_112233-08 version (VER)
*
* Process Resource Limit Tunables (Current:Maximum)
*
0x0000000000000100:0x0000000000010000 file descriptors
*
* Streams Tunables
*
9 maximum number of pushes allowed (NSTRPUSH)
65536 maximum stream message size (STRMSGSZ)
1024 max size of ctl part of message (STRCTLSZ)
*
* IPC Messages module is not loaded
*
*
* IPC Semaphores
*
300 semaphore identifiers (SEMMNI)
300 semaphores in system (SEMMNS)
30 undo structures in system (SEMMNU)
100 max semaphores per id (SEMMSL)
100 max operations per semop call (SEMOPM)
10 max undo entries per process (SEMUME)
32767 semaphore maximum value (SEMVMX)
16384 adjust on exit max value (SEMAEM)
*
* IPC Shared Memory
*
536870912 max shared memory segment size (SHMMAX)
100 shared memory identifiers (SHMMNI)
*
* Time Sharing Scheduler Tunables
*
60 maximum time sharing user priority (TSMAXUPRI)
SYS system class name (SYS_NAME)
用户环境:
用户oracle,
组dba,
C Shell,
用户环境设置:
umask 022
setenv ORACLE_SID oracle
setenv ORACLE_BASE /ordata2
(这里因为原来这台工作站上我安装有Oracle8.1.7,避免冲突在这个Oracle8i的一个数据文件path中建立测试Oracle 10G)
setenv ORACLE_HOME $ORACLE_BASE/database
setenv ORACLE_NLS33 $ORACLE_HOME /ocommon/nls/admin/data
setenv ORACLE_TERM xsun5
setenv TMPDIR $ORACLE_BASE/tmp
setenv ORACLE_OWNER oracle
(这个环境也是copy原来Oracle8.1.7的)