64 位 oracle11g Linux 安装步骤
本文档适合于 64 位的 oracle11g 安装于 64 位的 Linux 操作系统,参考
oracle 公司的官方安装手册,包含了个人在实际安装过程中遇到的一些问题。
每台机器的环境以及 Linux 系统版本可能都不一样,此文档仅起参考作用。
1、检查硬件要求
(1)至少 1G 的物理内存,输入如下命令查看物理内存的大小
$grep MemTotal /proc/meminfo
(2)设置合适的 swap 交换空间
物理内存 交换空间
257M-512M 2 倍物理内存大小
513M-2048M 1.5 倍物理内存
2049M-8192M 等于物理内存大小
大于 8192M 0.75 倍物理内存
本次安装时物理内存为 1G,将交换空间设置为了 2G
2、检查软件需求
(1)操作系统版本要求:
官方文档上的要求为
Asianux 2.0
Asianux 3.0
Oracle Enterprise Linux 4.0
Oracle Enterprise Linux 5.0
Red Hat Enterprise Linux 4.0
Red Hat Enterprise Linux 5.0
SUSE Enterprise Linux 10.0
本次安装时的系统版本为 Red Hat Enterprise Linux 4.7,所以认为只要
上述版本系列的系统都可以。至于其它的 linux 版本,例如:fedora 系列、红
旗、debian 等,由于系统可能没有一些 oracle 所需的 rpm 软件包,不推荐使
用。
(2)内核要求:
Asianux2.0,Oracle Enterprise Linux 4.0,Red Hat Enterprise Linux 4.0
(2.6.9 内核)
Asianux3.0,Oracle Enterprise Linux 5.0,Red Hat Enterprise Linux 5.0
(2.6.18 内核)
SUSE 10.0
(2.6.16.21 内核)
本次安装的内核版本为 2.6.9
命令$uname –r 检查内核版本
(3)软件包要求:
Asianux 2.0,Oracle Enterprise Linux 4.0,Red Hat Enterprise Linux 4.0
系统下:
binutils-2.15.92.0.2-18