Oracle10g + Solaris9 for x86 + vmware安装步骤

转自:CSDN

Oracle于近期发布了最新的Oracle10g for Solaris x86的版本,于是在vmware的Solaris9中测试安装了一下。

本文只是记录安装的基本步骤,对于创建dba用户组和oracle用户等步骤的命令一概省略。
注意必须是Solaris9的版本,至少文档中没有明确说明支持Solaris8或者Solaris10

**1。到Oracle的OTN站点上下载Oracle10g for Solaris x86的安装盘
** http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/solx86soft.html

**2。下载完毕以后,得到solarisx86_DB_10_1_0_3_Disk1.cpio.gz文件
** 解压,生成Disk1目录
$ gunzip solarisx86_DB_10_1_0_3_Disk1.cpio.gz
$ cpio -idcmv < solarisx86_DB_10_1_0_3_Disk1.cpio

**3。要求的硬件配置如下
** Physical memory (RAM) :512 MB (524288 KB)

/usr/sbin/prtconf | grep "Memory size"

Swap space :1 GB (1048576 KB) 或者RAM 的2倍

/usr/sbin/swap -s

Disk space in /tmp:400 MB (409600 KB)

df -h /tmp

Disk space for software files:2.5 GB (2621440 KB)
包括了给Companion CD 上的产品预留的1 GB (1048576 KB) 空间。Companion CD 上的产品可以不用安装,但是oralce推荐安装。
Disk space for database files:1.2 GB (1258290 KB)

df -h

**4。要求的软件配置如下
** 操作系统必须是Solaris 9

uname -r

以下包必须安装
SUNWarc SUNWlibms SUNWi1of
SUNWbtool SUNWsprot SUNWi1cs
SUNWhea SUNWi15cs SUNWlibm
SUNWtoo SUNWxwfnt

pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm \

SUNWlibms SUNWsprot SUNWtoo SUNWi1of \
SUNWi1cs SUNWi15cs SUNWxwfnt

以下patch必须安装
111713-06, SunOS 5.9_x86: Shared library patch for C++
111728-03, SunOS 5.9_x86: Math Library (libm) patch
112234-12, SunOS 5.9_x86: Kernel Patch
113986-08, SunOS 5.9_x86: linker Patch
115114-02, SunOS 5.9_x86: Patch for assembler
116013-02, SunOS 5.9_x86: ps utility patch (Available only from your local Sun solution center)

/usr/sbin/patchadd -p | grep

 1<patch_number>   
 2如果没有安装到 http://sunsolve.sun.com 下载并且安装,安装包   
 3解压下载的zip包到/var/spool/pkg目录,比如生成/var/spool/pkg/111713-06目录,然后   
 4# /usr/sbin/patchadd /var/spool/pkg/111713-06    
 5  
 6**5。创建dba组和oracle用户  
 7**   
 8**6。创建/var/opt/oracle目录,并且将改目录的属主改为oracle用户  
 9** # mkdir -p /var/opt/oracle   
10# chown oracle:dba /var/opt/oracle    
11  
12**6。设置系统内核参数,要求如下  
13** semsys:seminfo_semmni 100   
14semsys:seminfo_semmns 1024   
15semsys:seminfo_semmsl 256   
16semsys:seminfo_semvmx 32767   
17shmsys:shminfo_shmmax 4294967295   
18shmsys:shminfo_shmmni 100   
19备份原文件   
20# cp /etc/system /etc/system.orig    
21编辑配置文件   
22# vi /etc/system    
23添加如下行   
24set semsys:seminfo_semmni=100   
25set semsys:seminfo_semmns=1024   
26set semsys:seminfo_semmsl=256   
27set semsys:seminfo_semvmx=32767   
28set shmsys:shminfo_shmmax=4294967295   
29set shmsys:shminfo_shmmni=100   
30保存配置文件   
31  
32**7。重启系统**   
33# sync;sync;reboot    
34  
35**8。登录oracle用户,开始安装oracle10g  
36** runInstaller   
37  
38**9。后续步骤跟其它操作系统的安装没有区别,不再赘述。  
39**</patch_number>
Published At
Categories with 数据库类
Tagged with
comments powered by Disqus