首页 > 代码库 > red hat6.1 部署32位 oracle 11g
red hat6.1 部署32位 oracle 11g
检查系统环境:
[root@localhost ~]# grep MemTotal /proc/meminfo #物理内存不低于1GB
MemTotal: 1491520 kB
[root@localhost ~]# grep SwapTotal /proc/meminfo #交换分区为物理内存的1.5-2陪;物理内存为2-16GB时,交换分区与物理内存相同
SwapTotal: 2097148 kB
安装oracle依赖软件:
yum install -y binutils compat-libcap1-1.10-1 compat-libstdc++-33 gcc gcc-c++ glibc glibc glibc-devel glibc-devel ksh libgcc libgcc libstdc++ libstdc++ libstdc++-devel libstdc++-devel libaio libaio libaio-devel libaio-devel make sysstat elftils-libelf unixODBC unixODBC unixODBC-devel elfutils-libelf elfutils-libelf-devel
修改系统环境:
groupadd oinstall groupadd dba useradd -g oinstall -G dba oracle echo "qwe123"| passwd root --stdin mkdir /opt/oracle chown -R oracle:oinstall /opt/oracle/ chmod -R 755 /opt/oracle/ [root@localhost ~]# vim ~oracle/.bash_profile umask 022 export ORACLE_BASE=/opt/oracle export ORACLE_SID=/orc1 export DISPLAY=:0.0 export LANG=zh_CN.UTF-8 [root@localhost ~]# vim /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 = 1048586 [root@localhost ~]# vim /etc/security/limits.conf oracle soft nproc 8192 oracle hard nofile 65536 oracle soft nofile 32768 oracle hard nproc 16384 [root@localhost ~]# su oracle [oracle@localhost root]$ cd /opt/oracle/database/ [oracle@localhost database]$ ./runInstaller -jreLoc /usr/lib/jvm/jre-1.6.0
本文出自 “龙爱雪琪” 博客,请务必保留此出处http://dragon123.blog.51cto.com/9152073/1597633
red hat6.1 部署32位 oracle 11g
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。