readhat 安装11gr2文档

需要注意的地方:必须关掉的 1,防火墙;2,SElinux 。

root 用户运行  setup  命令可关防火墙与SElinux

修改网络配置文件,一定要重启此文件才能生效。

linux安装oracle 10g 第三步出现sid不能使用,因为之前已经使用过这个sid ,解决办法:把/etc/oratab  最后一条记录删除

1. 检查内存,至少1G
grep MemTotal /proc/meminfo

2.交换分区
    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

grep "model name" /proc/cpuinfo
grep SwapTotal /proc/meminfo

[root@rhel5 ~]# free
             total       used       free     shared    buffers     cached
    Mem:       1035140     512924     522216          0      51236     335880
    -/+ buffers/cache:     125808     909332
    Swap:      1052248          0    1052248

3. 共享内存段至少要大于MEMORY_MAX_TARGET and MEMORY_TARGET 
    [root@rhel5 ~]# df -k /dev/shm/
    Filesystem           1K-blocks      Used Available Use% Mounted on
    tmpfs                   517568         0    517568   0% /dev/shm

4. 至少1G的 /tmp
df -h /tmp

5. 数据库软件和data磁盘空间要求
    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

6. 操作系统版本
    Operating System Requirements
    The following are the operating system requirements for 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
    For Asianux 3, Oracle Enterprise Linux 5.0, and Red Hat Enterprise Linux 5.0: 2.6.18 or later

[root@rhel5 ~]# uname -r
    2.6.18-164.el5
    [root@rhel5 ~]# uname -a
    Linux rhel5.oraclelinux.com 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 i686 i386 GNU/Linux
    [root@rhel5 ~]# uname -s
    Linux

7. 安装必备的软件包

yum -y install compat-db-4*
yum -y install libaio-0*
yum -y install compat-libstdc++-33-3*
yum -y install compat-gcc-34-3*
yum -y install compat-gcc-34-c++-3*
yum -y install libXp-1*
yum -y install openmotif-2*
yum -y install gcc-4*
yum -y install glibc*

8. 创建组和用户
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/useradd -g oinstall -G dba oracle

如果oracle用户已经存在
/usr/sbin/usermod -g oinstall -G dba oracle

echo oracle | passwd --stdin oracle

9. 修改内核参数

shmmax - 共享内存段的最大字节数,建议设大点,甚至可以大过物理内存的字节数
shmmin - 共享内存段的最小尺寸.
shmmni - 共享内存段的最大数目.
shmseg - 每个进程可分配的最大共享内存段数目.
shmall - 最大的并发共享内存段数目,比SGA还要大.
semmns - 信号灯的最大数量,跟ORACLE的PROCESS数有关.
semmsl - 每个信号灯集合中最多的信号灯数目.

vi /etc/sysctl.conf

kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144

修改完执行此命令 : sysctl -p

10. vi /etc/security/limits.conf

oracle           soft    nproc   2047
oracle           hard    nproc   16384
oracle           soft    nofile  1024
oracle           hard    nofile  65536

11. vi /etc/pam.d/login
session    required     pam_limits.so

12. 修改profile
if [ $USER = "oracle" ]; then
        if [ $SHELL = "/bin/ksh" ]; then
              ulimit -p 16384
              ulimit -n 65536
        else
              ulimit -u 16384 -n 65536
        fi
fi

13. 创建目录结构

mkdir -p /u01/app/oracle/product/10.2/db_1
chown -R oracle:oinstall /u01/app/
chmod -R 775 /u01/app/

14.

vi /home/oracle/.bash_profile

export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2/db_1
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH

15.

./runInstaller  -ignoreSysPrereqs

rhel5安装 oracle10的更多相关文章

  1. rhel5安装 oracle11

    readhat 安装11gr2文档 需要注意的地方:必须关掉的 1,防火墙:2,SElinux . root 用户运行  setup  命令可关防火墙与SElinux 修改网络配置文件,一定要重启此文 ...

  2. 记录centos6.8安装Oracle10.2.0.1过程中的错误解决

    [root@hadoop01 database]# ./runInstaller ./runInstaller: /opt/database/install/.oui: /lib/ld-linux.s ...

  3. Rhel-Server 5.5 安装ORACLE10

    VMWARE + REDHAT + ORA10 先说一下环境,操作系统为Microsoft Windows Server 2003,安装的是虚拟机VMware Workstation Version ...

  4. 64位linux下安装oracle10 64位 遇到 :ins_ctx.mk ;ins_emdb.mk

    http://blog.csdn.net/bamuta/article/details/10523835 http://www.cnblogs.com/kerrycode/p/3519446.html ...

  5. Solaris 和linux 之oracle 数据库的安装

    本篇博文前面是一些基础知识介绍,后面才是总结篇. 一.在solaris上面装oracle 10g教程 目前官网已经没有32位的oracle11g了,取而代之的都是64位的oracle11g,为了能在3 ...

  6. 全世界最详细的图形化VMware中linux环境下oracle安装(一)【weber出品必属精品】

    安装流程:前期准备工作--->安装ORACLE软件--->安装升级补丁--->安装odbc创建数据库--->安装监听器--->安装EM <前期准备工作> 安装 ...

  7. [日常工作]Win2008r2 以及更高版本的操作系统安装Oracle10.2.0.5

    1. 当时有特殊需求, 客户有win2008r2sp1以上的windows系统,但是数据库要使用Oracle10.2.0.5 的版本. 问题: 1. Oracle10 最高支持到 Win2008sp2 ...

  8. ORACLE 博客文章目录(2015-05-27更新)

    从接触ORACLE到深入学习,已有好几年了,虽然写的博客不多,质量也参差不齐,但是,它却是成长的历程的点点滴滴的一个见证,见证了我在这条路上的寻寻觅觅,朝圣的心路历程,现在将ORACLE方面的博客整理 ...

  9. RHEL6 64位系统安装ORACLE 10g 64bit 数据库

    记得去年4月份的时候,为公司部署测试环境和UAT环境时,在红帽RHEL6 64位系统安装ORACLE 10g 64位数据库时遇到了许多小问题,当时匆匆忙忙也没记录一下这些问题,前几天在虚拟机安装ORA ...

随机推荐

  1. 快速架设OpenStack云基础平台

    通常在linux下手工安装openstack比较麻烦,StackOps是一个可以快速安装的Openstack解决方案,首先我们下载StackOps的iso文件(stackops-0.5-b1312-d ...

  2. 定时器函数SetTimer

    原文链接:http://www.cnblogs.com/zhangpengshou/archive/2009/04/05/1429770.html 一.SetTimer表示的是定义个定时器.根据定义指 ...

  3. 使用acme.sh快速生成SSL证书

    起因 早上收到了一封来自MySSL EE <noreply@notify.myssl.com>的邮件提示证书即将过期, 少于7天,但是acme.sh应该是60天自动renew的.于是查看下 ...

  4. Maintaining processor resources during architectural events

    In one embodiment of the present invention, a method includes switching between a first address spac ...

  5. css中linear-gradient的使用

    注明:此篇文章来自http://www.cnblogs.com/lhb25/archive/2013/01/30/css3-text-shadow.html.

  6. Java的IO流架构

    输入输出是指应用程序与外部设备及其他计算机进行数据交流的操作,如读写硬盘数据.向显示器输出数据.通过网络读取其他节点的数据等.任何一种编程语言必须拥有输入输出的处理方式,Java语言也不例外.Java ...

  7. ASP.NET WebAPI RC 竟然不支持最常用的json传参

    壮士断腕(WCF Web API),为的是 ASP.NET Web API 的横空出世,再加上它的开放(开源),于是对之产生了一点点痴情,并写下了HttpClient + ASP.NET Web AP ...

  8. C#打开SDE数据库的几种方式总结

    转自谢灿软件原文 C#打开SDE数据库的几种方式总结 1.通过指定连接属性参数打开数据库 /// <param name="server">数据库服务器名</pa ...

  9. Oracle数据库安装时 environment variable path 大于 1023

    提示的内容如下: 打开系统的环境变量设置, 编辑Path,全选将其中的路径全部复制出来放到文本文档中.新建一个系统变量取名Path_Old_1,剪切Path中的所有变量复制进path1然后保存,将Pa ...

  10. HDU1050:Moving Tables

    pid=1050">Moving Tables Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 ...