云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > Linux Red Hat 5.6下安装Oracle 11gR2(最新版原创)

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

  • 62 次阅读
  • 3 次下载
  • 2025/5/3 10:11:27

系统环境: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 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

系统环境: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 #

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com