This Domain(Admin5.com) is for Sale:

Oracle10g的安装

时间:2007-12-23  来源:不详  作者:迈克DB
一、下载软件

从这里download Oracle10g for AIX5L的软件:
http://otn.oracle.com/software/products/database/oracle10g/htdocs/aix5lsoft.html

dedecms.com

然后上传到server上。并使用gunzip和cpio解包解压:
$gunzip ship.db.aix.disk1.cpio.gz
$gunzip ship.db.aix.disk2.cpio.gz
$cpio -idcmv <ship.db.aix.disk1.cpio
$cpio -idcmv <ship.db.aix.disk2.cpio

dedecms.com

二、确认系统硬件环境 本文来自织梦

Oracle10g最低安装要求:

本文来自织梦

512M物理内存、MIN(RAM*2,2G) SWAP空间、400M /TMP空间、4G Oracle目录空间、64位体系结构

下面是确认过程:

1、确认内存大小(1G)
localhost> /usr/sbin/lsattr -E -l sys0 -a realmem
realmem 1048576 Amount of usable physical memory in Kbytes False

这里oracle10g安装文档创砹耍皊ys0(数字0)”写成了“sysO(字母O)”。

2、确认SWAP空间,512M太小了,加到2G。
localhost> /usr/sbin/lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 512MB 12 yes yes lv

3、确认/TMP和Oracle目录空间(其中Oracle10g放在/data1下):
localhost> df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 32768 14676 56% 2176 14% /
/dev/hd2 1933312 516400 74% 35398 8% /usr
/dev/hd9var 65536 43496 34% 623 4% /var
/dev/hd3 917504 691884 25% 1034 1% /tmp
/dev/hd1 10911744 4097144 63% 18636 1% /home
/proc - - - - - /proc
/dev/hd10opt 32768 23328 29% 362 5% /opt
/dev/lv00 2097152 937572 56% 708 1% /ptf
/dev/data1lv 13107200 10559980 20% 2735 1% /data1

本文来自织梦


4、确认系统结构
localhost> /usr/bin/getconf HARDWARE_BITMODE
64

5、我们可以通过下面的命令来确认系统CPU个数和主频:
# lsdev -C |grep proc
proc0 Available 00-00 Processor
proc1 Available 00-01 Processor
# lsattr -E -l proc0
frequency 752010000 Processor Speed False
state enable Processor state False
type PowerPC_RS64-III Processor type False
# lsattr -E -l proc1
frequency 752010000 Processor Speed False
state enable Processor state False
type PowerPC_RS64-III Processor type False 织梦好,好织梦

三、确认系统软件环境

本文来自织梦

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安装上即可。现在查看确认:

看完这篇,您有何感觉呢?

文章评论

共有位Admini5网友发表了评论 查看完整内容

24小时热门信息