第一范文网 - 专业文章范例文档资料分享平台

Linux Red Hat 5.6下安装Oracle 11gR2(最新版原创)

来源:用户分享 时间:2025/5/28 20:38:22 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

系统环境:linux

操作系统:RHEL5.6_x64 数据库版本:oracle 11g R2

内存:16G (oracle11g最低要求1G) SWAP:8G (oracle11g最低要求1668480 KB) 工具:Xmanager4.0(支持图形化操作) 一、 安装linux red hat5.6; 二、 安装oracle11g;

1. 关闭防火墙

[root@localhost oracle]# chkconfig --level 345 iptables off [root@localhost oracle]#service iptables stop

2. 关闭Selinux

[root@localhost oracle]#vi /etc/sysconfig/selinux # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=disabled 注:将selinux设置为disabled; # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted 3. 检查并安装所需rpm包 将RHEL5.6_x64.iso(linux件夹中。进入到server目录。 安装包自带的rpm包)解压到linux任何一个文Window下面的目录为

[root@localhost oracle]# vi ~/pack.sh #!/bin/bash #start install required packages echo \ yum -y install binutils-* yum -y install compat-libstdc++-* yum -y install compat-libstdc++-* yum -y install elfutils-libelf-* yum -y install elfutils-libelf-devel-* yum -y install gcc-* yum -y install gcc-c++-* yum -y install glibc-* yum -y install glibc-*

yum -y install glibc-common-* yum -y install glibc-devel-* yum -y install glibc-devel-* yum -y install glibc-headers-* yum -y install ksh-* yum -y install libaio-* yum -y install libaio-* yum -y install libaio-devel-* yum -y install libaio-devel-* yum -y install libgcc-* yum -y install libgcc-* yum -y install libstdc++-* yum -y install libstdc++-* yum -y install libstdc++-devel* yum -y install make-* yum -y install sysstat-* yum -y install unixODBC-*

修改Shell执行属性

[root@localhost oracle]# chmod +x ./pack.sh

更新Yum

[root@localhost oracle]# ./pack.sh

(注:此次更新yum包如果不完全,在安装oracle11g的过程中通过系统检查可找出缺的yum包,到时候在单独安装yum包即可);

4. 配置Oracle安装环境

创建 Oracle 组和用户帐户

[root@localhost oracle]# /usr/sbin/groupadd oinstall [root@localhost oracle]# /usr/sbin/groupadd dba

[root@localhost oracle]# /usr/sbin/useradd -m -g oinstall -G dba oracle [root@localhost oracle]# id oracle [root@localhost oracle]# passwd oracle

创建挂载点并授权

[root@localhost oracle]# mkdir -p /u01/app/oracle

[root@localhost oracle]# chown -R oracle:oinstall /u01/app/oracle [root@localhost oracle]# chmod -R 777 /u01/app/oracle [root@localhost oracle]# mkdir -p /u01/app/oraInventory

[root@localhost oracle]#chown -R oracle:oinstall /u01/app/ oraInventory [root@localhost oracle]# chmod -R 777 /u01/app/oraInventory

搜索更多关于: Linux Red Hat 5.6下安装Oracle 11g 的文档
Linux Red Hat 5.6下安装Oracle 11gR2(最新版原创).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c0djdb3vpqj9nplw1m1wa_1.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top