++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
在RHEL5.5x64上安装Oracle10gR2的简单步骤
方法1:Last login: Wed Feb 19 20:28:59 2014 from 192.168.1.1
[root@node1 ~]# cat /etc/redhat-release              
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
改为
Red Hat Enterprise Linux Server release 4.5 (Tikanga)
方法2:需要修改安装文件/install/oraparam.ini,添加红色[Certified Versions]
Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2,redhat-5。
Requirements For Installing Oracle10gR2 On RHEL 5/OEL 5 (x86_64) [ID 421308.1]
1. Hardware Requirements
i) Physical Memory
# grep MemTotal /proc/meminfo
ii) Swap Space
# grep SwapTotal /proc/meminfo
2. Kernel Requirements
# uname -r
The system must be running the following kernel version (or a later version)
2.6.18-8
SELinux    /etc/selinux/config
disable
iptable 
3. Installing required packages
方法一:
rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' binutils \
compat-libstdc++-33 \
elfutils-libelf  \
elfutils-libelf-devel \
elfutils-libelf-devel-static \
gcc \
gcc-c++ \
glibc \
glibc-common \
glibc-devel \
glibc-headers \
kernel-headers \
ksh \
libaio \
libaio-devel \
libgcc \
libgomp \
libstdc++ \
libstdc++-devel \
make \
sysstat \
unixODBC \
unixODBC-devel \
libXp
方法二:
rpm -qa | grep binutils-2.17.50.0.6-2 (x86_64)
rpm -qa | grep compat-db-4.2.52-5.1 (x86_64)
rpm -qa | grep compat-libstdc++-296-2.96-138 (i386)
rpm -qa | grep compat-libstdc++-33-3.2.3-61(x86_64)
rpm -qa | grep compat-libstdc++-33-3.2.3-61 (i386)
rpm -qa | grep control-center-2.16.0-14 (x86_64)
rpm -qa | grep gcc-4.1.1-52 (x86_64)
rpm -qa | grep gcc-c++-4.1.1-52 (x86_64)
rpm -qa | grep glibc-2.5-12 (x86_64)
rpm -qa | grep glibc-2.5-12 (i686)
rpm -qa | grep glibc-common-2.5-12 (x86_64)
rpm -qa | grep glibc-devel-2.5-12 (x86_64)
rpm -qa | grep glibc-devel-2.5-12 (i386) 需要安装
rpm -qa | grep glibc-headers-2.5-12 (x86_64)
rpm -qa | grep ksh-20060214-1.4 (x86_64)
rpm -qa | grep libaio-0.3.106-3.2 (x86_64)
rpm -qa | grep libgcc-4.1.1-52 (i386)
rpm -qa | grep libgcc-4.1.1-52 (x86_64)
rpm -qa | grep libgnome-2.16.0-6 (x86_64)
rpm -qa | grep libgnomeui-2.16.0-5 (x86_64)
rpm -qa | grep libgomp-4.1.1-52 (x86_64)
rpm -qa | grep libstdc++-4.1.1-52 (x86_64)
rpm -qa | grep libstdc++-devel-4.1.1-52 (x86_64)
rpm -qa | grep libXp-1.0.0-8 (i386)
rpm -qa | grep libXtst-1.0.1-3.1(i386)
rpm -qa | grep make-3.81-1.1 (x86_64)
rpm -qa | grep sysstat-7.0.0-3 (x86_64)

这里可以配置本地yum源,方便解决包的依赖性

<1>.mount /dev/cdrom /mnt

<2>.vi /etc/yum.repo.d/dvd.repo

[dvd]

name=dvd install

baseurl=file:///mnt/server

enabled=1

gpgcheck=0

<3>.yum clean all

<4>.yum list

4.Set the kernel parameters
/etc/sysctl.conf文件中增加
kernel.shmall = physical RAM size / pagesize For most systems, this will be the value 2097152. See Note 301830.1 for more information.
kernel.shmmax = 1/2 of physical RAM. This would be the value 2147483648 for a system with 4Gb of physical RAM.
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 2097152
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
例子:
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 4294967295
kernel.shmall = 268435456
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 6815744
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
fs.aio-max-nr = 1048576
5. Create Oracle user and groups
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba oracle
passwd oracle
6. Create the required directories for Oracle database and change the ownership
mkdir -p /u01/app/oracle
chown -R oracle:oinstall /u01/app/oracle
7. Set the session limits for Oracle user
Add the following lines to the /etc/security/limits.conf file
oracle soft nproc 2047        
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
Add the following line in the /etc/pam.d/login file
session required pam_limits.so
Add the following lines to the /etc/profile.
if [ $USER = "oracle" ]; then
ulimit -u 16384
ulimit -n 65536
fi
8. Configure the Oracle user's environment
For example, if oracle user is using bash shell, and has the home directory as /home/oracle,
The following lines to be added to /home/oracle/.bash_profile
#export PATH
PATH=$PATH:$HOME/bin
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORACLE_SID=orcl
export PATH=.:${PATH}:$HOME/bin:$ORACLE_HOME/bin
export PATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin
export PATH=${PATH}:$ORACLE_BASE/common/oracle/bin
export ORACLE_TERM=xterm
export TNS_ADMIN=$ORACLE_HOME/network/admin
export ORA_NLS10=$ORACLE_HOME/nls/data
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/oracm/lib
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib
export CLASSPATH=$ORACLE_HOME/JRE
export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib
export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib
export CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib
export THREADS_FLAG=native
export TEMP=/tmp
export TMPDIR=/tmp
9. The gcc-4.1.1 and gcc-c++-4.1.1 RPM items above will ensure that the correct gcc / g++ versions are installed.
It is also required that you ensure that these correct gcc / g++ versions are active, and in-use.
Ensure that the commands "gcc --version" and "g++ --version" each return "4.1.x".
10.配置VNC 或安装Xmanager
root:
export DISPLAY=操作机IP地址:0.0(参考)
xhost +
su - oracle
export DISPLAY=操作机IP地址:0.0(参考)
dbca
Invoking OUI
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
cpio -idmv < 10201_database_linux_x86_64.cpio
升级:
解压p8202632_10205_Linux-x86-64.zip,
执行./runInstaller升级软件
如果有数据库的话,执行dbua进行数据库升级

安装oracle 10g 文件系统的更多相关文章

  1. 08.安装Oracle 10g和SQLServer2008(仅作学习使用VirtualBox虚拟机来安装节省电脑资源)

    1.虚拟机和宿主机共享文件夹. 2.右ctrl+F切换VirtualBox全屏 3.安装Oracle 10g 4.输入密码:root------------>下一步 5.勾选网络配置" ...

  2. 在虚拟机上安装红帽Linux.5.5.for.x86.服务器版系统(按针对安装oracle 10g作的配置)

    在虚拟机上安装红帽Linux.5.5.for.x86.服务器版系统(按针对安装oracle 10g作的配置)   软件版本: 虚拟机版本:vmwareworkstation 7.11 build-28 ...

  3. CentOS 6.3(x86_64)下安装Oracle 10g R2

    目 录 一.硬件要求二.软件三.系统安装注意四.安装Oracle前的系统准备工作五.安装Oracle,并进行相关设置六.升级Oracle到patchset 10.2.0.4七.使用rlwrap调用sq ...

  4. Win8 安装Oracle 10g 提示“程序异常终止”的解决方案

    这段时间在做DRP,需要安装Oracle 10g的数据库,我的系统是win8企业版,安装Oracle 10g的时候,选择“高级安装”,提示“程序异常终止”,下面是几个解决方案,跟大家分享一下. 错误提 ...

  5. Windows 7安装Oracle 10g的方法

    Windows7下安装Oracle 10g提示"程序异常终止,发生未知错误"的解决方法 1.修改Oracle 10G\database\stage\prereq\db\refhos ...

  6. 【转】CentOS 6.3(x86_64)下安装Oracle 10g R2

    目 录 一.硬件要求二.软件三.系统安装注意四.安装Oracle前的系统准备工作五.安装Oracle,并进行相关设置六.升级Oracle到patchset 10.2.0.4七.使用rlwrap调用sq ...

  7. 【转】CentOS 6.3(x86_32)下安装Oracle 10g R2

    一.硬件要求 1.内存 & swap Minimum: 1 GB of RAMRecommended: 2 GB of RAM or more 检查内存情况 # grep MemTotal / ...

  8. 【Oracle学习笔记-1】Win7下安装Oracle 10g

    源程序获取 从Oracle的官网上下载Oracle 10g: 10203_vista_w2k8_x86_production_db.zip:==>服务器(必须) 10203_vista_w2k8 ...

  9. 在RedHat 5下安装Oracle 10g详解(转)

    在RedHat 5下安装Oracle 10g详解(转) Posted on 2012-09-14 13:26 疯狂 阅读(5075) 评论(0)  编辑  收藏 所属分类: database .uni ...

随机推荐

  1. Java面试题总结(二)

    43.Java中的两种异常类型是什么?他们有什么区别? Java中有两种异常:受检查的(checked)异常和不受检查的(unchecked)异常.不受检查的异常不需要在方法或者是构造函数上声明,就算 ...

  2. C#-和时间有关的计算代码、时间相减 得到天数、小时、分钟、秒差

    asp.net(C#)时间相减 得到天数.小时.分钟.秒差   asp.net(C#)时间相减 得到天数.小时.分钟.秒差   DateTime dtone = Convert.ToDateTime( ...

  3. String、StringBuilder 与 StringBuffer

    1. 在执行速度方面的比较:StringBuilder > StringBuffer 2. StringBuffer与StringBuilder,他们是字符串变量,是可改变的对象,每当我们用它们 ...

  4. myeclipse给项目改了名字,但部署tomcat的项目名还是原来的

    如标题所示: 在myeclipse中按F2改了项目名称,之前在tomcat中部署的名称是另一个,再次重新部署,永远是上一个的旧名称 解决办法: 项目点右键-properties-左上角搜索框输入web ...

  5. VMware 虚拟上网的的三种模式 ——bridged、host-only、NAT 模式

    恐怕这是今年在上海的最后的一篇博客了,同事们上班都不工作了,我也没有什么事情要做.为什么要写这篇博客呢,原因是我回家要带上自己的笔记本,里面装了一个虚拟机.平时自己的学习和工作都是在虚拟机里进行的.回 ...

  6. json使用

    json是存储和交换文本信息的语法,类似 XML,比 XML 更小.更快,更易解析 json 可通过 JavaScript 进行解析 json 数据可使用 AJAX 进行传输 //读取var JSON ...

  7. python基础3(元祖、字典、深浅copy、集合、文件处理)

    本次内容: 元祖 字典 浅copy和深copy 集合 文件处理 1.1元祖 元祖(tuple)与列表类似,不同之处在于元祖的元素不能修改,元祖使用小括号(),列表使用方括号[].元祖创建很简单,只需要 ...

  8. WinForm------GridControl单元格内容修改外表样式

    private void gridView1_CustomDrawCell(object sender, DevExpress.XtraGrid.Views.Base.RowCellCustomDra ...

  9. @RequestMapping 用法详解之地址映射(转)

    引言: 前段时间项目中用到了RESTful模式来开发程序,但是当用POST.PUT模式提交数据时,发现服务器端接受不到提交的数据(服务器端参数绑定没有加任何注解),查看了提交方式为applicatio ...

  10. Schema

    Schema约束 1.namespace 相当于schema文件的id 2.targetNamespace属性 用来指定schema文件的namespace的值 3.xmlns属性 引入一个约束,它的 ...