1.安装rpm包
elfutils-libelf-devel-0.137
elfutils-libelf-devel-static-0.137
gcc-4.1.2
gcc-c++-4.1.2
glibc-devel-2.5
glibc-headers-2.5
kernel-headers-2.6.18
libaio-devel-0.3.106
libao-devel-0.8.6
libgomp-4.4.0
libstdc++-devel
sysstat-7.0.2
unixODBC-2.2.11
unixODBC-devel-2.2.11
2.添加组和用户
[root@OCM ~]# groupadd oinstall
[root@OCM ~]# groupadd dba
[root@OCM ~]# mkdir -p /u01/app/oracle
[root@OCM oracle]# useradd -g oinstall -G dba oracle
[root@OCM /]# chown -R oracle:oinstall u01
3.配置内核参数
1)编辑/etc/sysctl.conf文件
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4294967295
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
2)编辑 /etc/security/limits.conf文件,添加以下内容
以oracle用户登录,编辑/home/oracle/.bash_profile文件
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH
5.开始安装
以oracle用户登录,运行./runInstaller
elfutils-libelf-devel-0.137
elfutils-libelf-devel-static-0.137
gcc-4.1.2
gcc-c++-4.1.2
glibc-devel-2.5
glibc-headers-2.5
kernel-headers-2.6.18
libaio-devel-0.3.106
libao-devel-0.8.6
libgomp-4.4.0
libstdc++-devel
sysstat-7.0.2
unixODBC-2.2.11
unixODBC-devel-2.2.11
2.添加组和用户
[root@OCM ~]# groupadd oinstall
[root@OCM ~]# groupadd dba
[root@OCM ~]# mkdir -p /u01/app/oracle
[root@OCM oracle]# useradd -g oinstall -G dba oracle
[root@OCM /]# chown -R oracle:oinstall u01
3.配置内核参数
1)编辑/etc/sysctl.conf文件
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4294967295
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
2)编辑 /etc/security/limits.conf文件,添加以下内容
oracle soft nofile 1024
oracle hard nofile 65536
4.配置oracle环境变量以oracle用户登录,编辑/home/oracle/.bash_profile文件
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH
5.开始安装
以oracle用户登录,运行./runInstaller
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26937943/viewspace-1406080/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26937943/viewspace-1406080/