一、
检查系统需求
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
#参考121安装手册.pdf
#参考Oracle Applications Installation and Upgrade Notes Release 12 (<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />12.1.1) for IBM AIX Based Systems (64-bit).mht
#以下操作以root用户执行
1.
检查操作系统版本
erp:root:[/]#oslevel -s
5300-08-06-0918
2.
检查补丁
erp.guirong.com:root:[/]#instfix -ik "IY58143 IY59386 IY60930 IY66513 IY70159 IY68989 IY76140 IY89080 IY92037 IY94343 IZ01060 IZ03260 "
All filesets for IY58143 were found.
All filesets for IY59386 were found.
All filesets for IY60930 were found.
All filesets for IY66513 were found.
All filesets for IY70159 were found.
All filesets for IY68989 were found.
All filesets for IY76140 were found.
All filesets for IY89080 were found.
All filesets for IY92037 were found.
All filesets for IY94343 were found.
All filesets for IZ01060 were found.
There was no data for IZ03260 in the fix database.
#
3.
检查JDK版本
erp.guirong.com:root:[/]#java -version
java version "1.6.0"
4.
检查文件集
erp.guirong.com:root:[/]#lslpp -l xlC.aix50.rte
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
xlC.aix50.rte 9.0.0.1 COMMITTED XL C/C++ Runtime for AIX 5.2
erp.guirong.com:root:[/]#lslpp -l xlC.rte
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
xlC.rte 9.0.0.1 COMMITTED XL C/C++ Runtime
erp.guirong.com:root:[/TEST/tools]#lslpp -l rsct.basic.rte
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
rsct.basic.rte 2.4.9.0 COMMITTED RSCT Basic Function
Path: /etc/objrepos
rsct.basic.rte 2.4.9.0 COMMITTED RSCT Basic Function
#以下文件集已安装
bos.adt.base
bos.adt.lib
bos.adt.libm
bos.perf.libperfstat
bos.perf.perfstat
bos.perf.proctools
X11.motif.lib
5.
使用smit security建立applmgr和oracle用户
6.
修改 文件
erp.guirong.com:root:[/etc/security]#pwd
/etc/security
erp.guirong.com:root:[/etc/security]#vi limits
applmgr:
fsize =-1
core = -1
cpu = -1
data = -1
rss = -1
stack = -1
nofiles =65536
oracle:
fsize =-1
core = -1
cpu = -1
data = -1
rss = -1
stack = -1
nofiles =65536
7.
检查主机名
erp.guirong.com:root:[/etc/security]#hostname
erp.guirong.com
8.
检查是否已启用异步IO
erp.guirong.com:root:[/etc/security]#mkdev -l aio0
aio0 Available
9.
检查操作系统位数
erp.guirong.com:root:[/etc/security]#getconf HARDWARE_BITMODE
64
10.
修改oraInst.loc文件
erp.guirong.com:root:[/etc]#pwd
/etc
erp.guirong.com:root:[/etc]#vi oraInst.loc
inventory_loc =/PROD/oraInventory
inst_group=dba
11.
修改hosts文件
erp.guirong.com:root:[/tmp]#vi /etc/hosts
192.168.0.10
erp.guirong.com erp
12.
修改系统环境文件
erp.guirong.com:root:[/tmp]#vi /etc/environment
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java6_64/jre/bin:/
usr/java6_64/bin:/usr/local/bin:/usr/vacpp/bin
13.
检查工具
erp.guirong.com:root:[/tmp]#which ar
/usr/bin/ar
erp.guirong.com:root:[/tmp]#which ld
/usr/bin/ld
erp.guirong.com:root:[/tmp]#which linkxlC
/usr/vacpp/bin/linkxlC
erp.guirong.com:root:[/tmp]#which make
/usr/bin/make
二、
开始安装
R12
1.
设置环境变量
#以oracle用户
-bash-3.2$ pwd
/home/oracle
-bash-3.2$ vi .profile
export AIXTHREAD_SCOPE=S
#以root用户,健一个tmp目录
erp:root:[/TEST/tools/AIX8]#export TMP=/PROD/tmp
erp:root:[/TEST/tools/AIX8]#export TMPDIR=/PROD/tmp
2.
运行安装向导
#以root用户执行(注意要在图形终端下运行)
/第一张安装光盘路径/rapidwiz
开始安装,都是图形界面,根据需要选择安装组件、路径、设置参数,完成安装。
转载于:https://blog.51cto.com/yyhome/169447