Oracle10g来了,怎么着也要弄过来玩玩,为了跑的爽一点,实在懒得在自己的机器上装,之前Beta版的时候是借HP的一台RP7410进行测试的,庄家轮流做,这次又借了IBM一台M85来装Oracle10.1.0。下面是详细过程。
三、确认系统软件环境
1、要求AIX必须是5.2 LEVEL 1以上(含LEVEL 1):
localhost> oslevel -r
5200-01
2、要求安装了这些FILESETS:
localhost> lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat
bos.perf.libperfstat bos.perf.proctools
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
bos.adt.base 5.2.0.11 APPLIED Base Application Development
Toolkit
bos.adt.lib 5.2.0.10 APPLIED Base Application Development
Libraries
bos.adt.libm 5.2.0.13 APPLIED Base Application Development
Math Library
bos.perf.libperfstat 5.2.0.12 APPLIED Performance Statistics Library
Interface
bos.perf.perfstat 5.2.0.12 APPLIED Performance Statistics
Interface
Path: /etc/objrepos
bos.perf.perfstat 5.2.0.0 COMMITTED Performance Statistics
Interface
lslpp: 0504-132 Fileset bos.perf.proctools not installed.
可以看到bos.perf.proctools没有安装,用smitty安装上即可。现在查看确认:
localhost> lslpp -l bos.perf.proctools
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
bos.perf.proctools 5.2.0.11 APPLIED Proc Filesystem Tools
3、要求安装了APARs(Authorized Problem Analysis Reports):
localhost> /usr/sbin/instfix -i -k "IY43980 IY44810 IY45462 IY45707 IY46214
IY46605 IY48525 IY51801"
All filesets for IY43980 were found.
All filesets for IY44810 were found.
All filesets for IY45462 were found.
All filesets for IY45707 were found.
All filesets for IY46214 were found.
All filesets for IY46605 were found.
There was no data for IY48525 in the fix database.
There was no data for IY51801 in the fix database.
可以看到IY48525和IY51801没有安装,我们可以从网上下载它们然后安装上,这里是下载地址:
https://techsupport.services.ibm.com/server/aix.fdc但实际上,这两个补丁是针对SDK1.4的, 如果不用1.4完全可以不理。
4、创建Oracle10g用户和组,并创建相关目录
过程省略,下面是确认信息:
localhost> id
uid=203(ora10) gid=202(dba) groups=1(staff)
localhost> pwd
/data1/ora10
localhost> env|grep ORA
ORACLE_BASE=/data1/app/ora10g
ORACLE_PATH=/data1/app/ora10g/product/10.1.0/dbs
ORA_DB=/data1/app/ora10g/product/10.1.0/dbs
ORACLE_SID=ora10g
ORACLE_TERM=vt100
ORA_NLS33=/data1/app/ora10g/product/10.1.0/ocommon/nls/admin/data
ORACLE_HOME=/data1/app/ora10g/product/10.1.0
5、配置SHELL LIMITS和系统 配置参数
5.1、使用smitty chuser修改ora10用户的SHELL LIMITS
Soft FILE size -1 (Unlimited)
Soft CPU time -1 (Unlimited)
Note: This is the default value.
Soft DATA segment -1 (Unlimited)
Soft STACK size -1 (Unlimited)
5.2、使用smitty chgsys修改“Maximum number of PROCESSES allowed per user”最小2048。
四、安装过程
1、以root执行# ./rootpre.sh
2、用xmanager以ora10用户登录图形界面,执行:
localhost> pwd
/data1/ora10/Disk1
localhost> ls
doc response runInstaller welcome.htm
install rootpre stage
$xhost +
$export DISPLAY=10.16.98.26:0.0
$./runI*