Redhat Linux安装Oracle 11g R2数据库.doc
文本预览下载声明
Oracle目前最新的版本是11g R2版本,网上不少安装介绍都是9i或者10g的,我按照介绍RHEL5.5上安装Oracle 11gR2总是有问题,之后看官方文档介绍了,在光盘的doc目录下有。
Oracle 11g R2数据库安装硬件配置要求:
最小内存 1 GB of RAM
虚拟内存容量
Available RAM Swap Space Required Between 1 GB and 2 GB 1.5 times the size of RAM Between 2 GB and 16 GB Equal to the size of RAM More than 16 GB 16 GB 硬盘空间要求
Installation Type Requirement for Software Files (GB) Enterprise Edition 3.95 Standard Edition 3.88 ?
Installation Type Requirement for Data Files (GB) Enterprise Edition 1.7 Standard Edition 1.5 Oracle 11g R2数据库支持的操作系统
Oracle Database 11g Release 2 (11.2) for Linux x86:
Asianux 2.0
Asianux 3.0
Oracle Enterprise Linux 4.0 Update 7 or later
Oracle Enterprise Linux 5.0
Red Hat Enterprise Linux 4.0 Update 7 or later
Red Hat Enterprise Linux 5.0
SUSE Linux Enterprise Server 10.0
SUSE Linux Enterprise Server 11.0
需要的软件包支持:
这里只列出Asianux 3, Oracle Enterprise Linux 5.0, and Red Hat Enterprise Linux 5.0的要求,检查一下系统是否安装过这些包,没有的话在Redhat的光盘上都有。
binutils-.6compat-libstdc++-33-3.2.3elfutils-libelf-0.125elfutils-libelf-devel-0.125elfutils-libelf-devel-static-0.125gcc-4.1.2gcc-c++-4.1.2glibc-2.5-24glibc-common-2.5glibc-devel-2.5glibc-headers-2.5kernel-headers-2.6.18kshlibaio-0.3.106libaio-devel-0.3.106 libgcc-4.1.2libgomp-4.1.2libstdc++-4.1.2 libstdc++-devel-4.1.2make-3.81sysstat-7.0.2unixODBC-2.2.11unixODBC-devel-2.2.11
创建Oracle用户
The Oracle Inventory group (typically, oinstall)
The OSDBA group (typically, dba)
The Oracle software owner (typically, oracle)
The OSOPER group (optional. Typically, oper)
# /usr/sbin/groupadd oinstall# /usr/sbin/groupadd dba# /usr/sbin/useradd -g oinstall -G dba oracle# passwd oracle
修改内核参数
修改?/etc/sysctl.conf 文件,加上如下参数
fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 536870912kernel.shmmni = 4096kernel.sem = 250 32000 100 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wme
显示全部