(非原创,出自哪里我也不太记得了,共享给大家吧!单纯的安装ORACLE其实非常简单,只需按照下面的步骤,普通都不会有什么问题)
AIX 4.3.3 上面安装 oracle 9.2
1. 检查物理内存:(RAM >= 512 MB)
# lsattr -El sys0 -a realmem
realmem 1048576 Amount of usable physical memory in Kbytes False
#
我们的是1G,呵呵,够了
2. 检查swap空间:(等于物理内存或者1G,最好大一些)
# lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 2048MB 1 yes yes lv
#
我们的是2G,呵呵
3. 检查磁盘空间,次要留意两点:
a) 安装9.2 , 次要是存放 ORACLE CODE,这个空间建议在4G左右,或者更大一点。
b) 另外,安装Oracle的过程中,Oracle Universal Installer 需求大约400M左右的临时空间,可以使用系统默认的/tmp目录,
也可以本人设置环境变量TMPDIR来指定一个具有足够空间的目录,或者在安装过程中指定一个有足够空间的临时目录
如:
TMPDIR=/oratools
export TMPDIR
普通来说,oracle的安装文件都放在内置盘上,所以,我们需求看看内置盘的空间:
# lsdev -Cc disk
hdisk0 Available 40-60-00-4,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 14-08-L SSA Logical Disk Drive
#
我们看到hdisk0是内置盘,如今确定其大小:
# lspv hdisk0
PHYSICAL VOLUME: hdisk0 VOLUME GROUP: rootvg
PV IDENTIFIER: 000ca13f7ebe3b7e VG IDENTIFIER 000ca13f7ebe3e67
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 32 megabyte(s) LOGICAL VOLUMES: 11
TOTAL PPs: 542 (17344 megabytes) VG DESCRIPTORS: 2
FREE PPs: 217 (6944 megabytes) HOT SPARE: no
USED PPs: 325 (10400 megabytes)
FREE DISTRIBUTION: 108..20..00..00..89
USED DISTRIBUTION: 01..88..108..108..20
#
我们看到,TOTAL 为18G,FREE 为7G,够了,呵呵
4. 检查 OS 的版本,两种方法:
你可以用oslevel 命令确定当前的AIX 版本,
# oslevel
4.3.3.0
#
或者你也可以用oslevel -r,确定当前的AIX 版本和ML(the maintenance level of the system):
# oslevel -r
4330-09
#
这样的结果,类似于用instfix 命令查看当前的ML:
$ instfix -i | grep ML
All filesets for 4.3.0.0_AIX_ML were found.
All filesets for 4.3.1.0_AIX_ML were found.
All filesets for 4.3.2.0_AIX_ML were found.
All filesets for 4320-02_AIX_ML were found.
All filesets for 4.3.3.0_AIX_ML were found.
All filesets for 4330-01_AIX_ML were found.
All filesets for 4330-02_AIX_ML were found.
All filesets for 4330-03_AIX_ML were found.
All filesets for 4330-04_AIX_ML were found.
All filesets for 4330-05_AIX_ML were found.
All filesets for 4330-06_AIX_ML were found.
Not all filesets for 4330-07_AIX_ML were found.
All filesets for 4330-08_AIX_ML were found.
All filesets for 4330-09_AIX_ML were found.
All filesets for AIX43ML were found.
$
可见,我们的是AIX 4.3.3 ,ML是09的&n