在RHEL5.5上安装Oracle11gR2(11.2.0)的简易步骤

在RHEL5.5上安装Oracle11gR2(11.2.0)的简易步骤

1)安装所需rpm:
#rpm -Uvh
binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3
elfutils-libelf-0.125
elfutils-libelf-devel-0.125
elfutils-libelf-devel-static-0.125
gcc-4.1.2
gcc-c++-4.1.2
glibc-2.5-24
glibc-common-2.5
glibc-devel-2.5
glibc-headers-2.5
kernel-headers-2.6.18
ksh-20060214
libaio-0.3.106
libaio-devel-0.3.106
libgcc-4.1.2
libgomp-4.1.2
libstdc++-4.1.2
libstdc++-devel-4.1.2
make-3.81
sysstat-7.0.2
unixODBC-2.2.11
unixODBC-devel-2.2.11

2)创建安装组和用户:
#groupadd -g 1000 oinstall
#groupadd -g 1010 dba
#useradd -u 1000 -g oinstall -G dba oracle
#passwd oracle

3)创建安装目录:
#mkdir -p /u01/app/oracle
#chown -R oracle:oinstall /u01
#chmod -R 755 /u01

4)调整内核参数:
#vi /etc/sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576

#/sbin/sysctl -p

5)调整shell运行参数:
#vi /etc/security/limits.conf
oracle              soft    nproc   2047
oracle              hard    nproc   16384
oracle              soft    nofile  1024
oracle              hard    nofile  65536
oracle              soft    stack   10240

6)设置ORACLE_BASE环境变量
$export ORACLE_BASE=/u01/app/oracle

7)开始安装:
$./runInstaller


Ref:
http://docs.oracle.com/cd/E11882_01/install.112/e24324/toc.htm

 

你可能感兴趣的:(oracle11g)