1. 安装Oracle
注意,安装Oracle时需要以oracle用户身份执行,在那之前需要以root身份执行xhost+,即命令:
代码1
[root@sgdb1~]# xhost+

[root@sgdb1~]# su - oracle

1  执行xhost+
[oracle @sgdb1~]$ cd database

[oracle @sgdb1~]$ ./runinstaller

2       执行runInstaller
      1. 取消软件更新
取消勾选【I wish to receive…】,点击【Next】

35       取消更新邮件通知
      1. 跳过软件更新
选择【Skip software】
点击【Next】

36       跳过软件更新
      1. Oracle安装选项
选择【Install database software only】,选择只安装数据库,不安装实例
点击【Next】

37       只安装数据库,不安装实例
      1. Oracle安装方式
点击【Oracle Real Application Clusters Database Installation】,选择RAC方式安装,并将两个节点勾选。
注意此处要类似grid用户那样配置互信,点击【SSH Connectivity】配置户型,此次不再详细描述。
点击【Next】,如果没有配置互信,会报错

38       RAC方式安装
      1. Oralce安装语言
注意要将Simplified Chinese加入到选中的语言中
点击【Next】

39       选择语言
      1. 安装版本选择
选择Enterprise版本(企业级),可以点击【Select Options】来确认安装内容
确认无误后,点击【Next】

40       选择Enterprise方式
      1. 选择安装目录
即Oracle对应的环境变量:
ORACLE_BASE:    /oracle/db
ORACLE_HOME:/oracle/db/product/11.2.0
       
点击【Next】

41       安装目录(图有误,按文字标准)
      1. 选择组
ODDBA组,选择dba
OSOPER组,留空
       点击【Next】

42       选择组
      1. 执行安装前检查
有若干错误,直接点击【Ignore All】即可

43       执行安装前检查
       点击【Yes】,确认忽略问题

44       确认忽略问题
      1. 安装信息统计
确认无误后,点击【Install】执行安装

45       安装信息统计
      1. 安装结束前,需要执行脚本
安装到最后阶段,需要在两节点(SGDB1与SGDB2)上分别以root身份执行这个脚本:

46       安装结束前需要执行的脚本
代码31
[root@sgdb1 ~]# /oracle/oraInventory/orainstRoot.sh

Changing permissions of /oracle/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /oracle/oraInventory to oinstall.
The execution of the script is complete.
 
代码32
[root@sgdb2 ~]# /oracle/oraInventory/orainstRoot.sh

Changing permissions of /oracle/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /oracle/oraInventory to oinstall.
The execution of the script is complete.
 
代码33
[root@sgdb1 ~]# /oracle/db/product/11.2.0/root.sh

Performing root user operation for Oracle 11g
The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /oracle/db/product/11.2.0
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
 
代码34
[root@sgdb2 ~]# /oracle/db/product/11.2.0/root.sh

Performing root user operation for Oracle 11g
The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /oracle/db/product/11.2.0
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
 
此时点击【OK】,会看到已完成安装,点击【Close】

47       安装完成
 
 
 

第8步:安装Oracle的更多相关文章

  1. 在Linux上安装Oracle RAC 12 c(12.1) 虚拟机,一步一步向导

    Oracle RAC 12 c(12.1)在Linux上安装虚拟机,一步一步向导 今天我们将看到如何安装 12 c版本1 RAC(真正的应用程序集群)数据库2 Linux 64位的虚拟机 使用VMWa ...

  2. 一步一步搭建 oracle 11gR2 rac+dg之grid安装(四)【转】

    一步一步在RHEL6.5+VMware Workstation 10上搭建 oracle 11gR2 rac + dg 之grid安装 (四) 转自 一步一步搭建 oracle 11gR2 rac+d ...

  3. 一步一步搭建oracle 11gR2 rac+dg之database安装(五)【转】

    一步一步在RHEL6.5+VMware Workstation 10上搭建 oracle 11gR2 rac + dg 之database安装 (五)   转自 一步一步搭建oracle 11gR2 ...

  4. DBArtist之Oracle入门第3步: 安装配置PL/SQL Developer

    操作系统:            WINDOWS 7 (64位) 数据库:               Oracle 11gR2 (64位) PL/SQL Developer :    PL/SQL ...

  5. DBArtist之Oracle入门第1步: 如何安装Oracle 11g

    操作系统:  Windows 7 数据库   :  Oracle 11gR2 第一步: 下载Oracle安装包 Oracle官网:  https://www.oracle.com/index.html ...

  6. 安装oracle

    1.安装vnc  yum install tigervnc tigervnc-server 2.vncserver启动 3.安装依赖库 yum install -y compat-libstdc*   ...

  7. CentOS7安装Oracle 11gR2 安装

    概述 Oracle 在Linux和window上的安装不太一样,公司又是Linux系统上的Oracle,实在没辙,研究下Linux下Oracle的使用,oracle默认不支持CentOS系统安装,所以 ...

  8. Linux CentOS下安装Oracle

    1 .在安装oracle之前首先安装以下组件包,直接输入下列语句安装. yum install binutils* -y yum install compat-lib* -y yum install ...

  9. linux下一步一步安装禅道项目管理工具

    linux下一步一步安装禅道项目管理工具 因为禅道官网的安装教程实在是太简陋了,所以记录在此. 1.安装apache服务 archlinux下直接 sudo pacman -S apache ubun ...

随机推荐

  1. npm技巧

    你看一个同事正在编码,其中应用上了一些简写和技巧,不知为何,你不熟悉它并且你的大脑一片混乱,这种场景发生在过去我们每个人身上. 在这篇短文中,我们将会介绍一些非常实用的 npm 技巧.有很多文章中的技 ...

  2. C++ STL中Map的按Value排序

    那么我们如何实现对pair按value进行比较呢? 第一种:是最原始的方法,写一个比较函数:  第二种:刚才用到了,写一个函数对象.这两种方式实现起来都比较简单. typedef pair<st ...

  3. PyQt4的一些问题汇总

    (1)PyQt4获取中文路径名字乱码问题 网址可以参见:http://permalink.gmane.org/gmane.comp.python.chinese/9916 处理方式的代码可以参考如下 ...

  4. Java环境变量设置辅助工具

    安装完JDK之后,很容易忘了设置系统的环境变.最近发现一个设置JDK的小工具,非常简单,推荐给大家: 下载地址:http://files.cnblogs.com/eastson/JavaPathSet ...

  5. Android 6.0 超级简单的权限申请2 (Permission)

    代码地址如下:http://www.demodashi.com/demo/13506.html 写在前面 上次写了一个权限申请的例子Android 6.0 超级简单的权限申请 (Permission) ...

  6. Telnet使用

    #使用telnet telnet #使用telnet,并连接到[ip] [port] telnet [ip] [port]     baidu zone - telnet使用方法

  7. bootstrap学习笔记 多媒体对象

    本文将介绍Bootstrap中的多媒体对象(Media Object).这些抽象的对象样式用于创建各种类型的组件(比如博客评论),我们可以在组件中使用图文混排,图像可以左对齐或者右对齐.媒体对象可以用 ...

  8. 转:微软分布式云计算框架Orleans

    http://www.cnblogs.com/ants/p/5122068.html 一种构建分布式. 高规模(伸缩)的应用程序 微软对奥尔良计划(Project Orleans)云计算框架开源.奥尔 ...

  9. atitit.  web组件化原理与设计

    atitit.  web组件化原理与设计 1. Web Components提供了一种组件化的推荐方式,具体来说,就是:1 2. 组件化的本质目的并不一定是要为了可复用,而是提升可维护性. 不具有复用 ...

  10. (WPF)依赖属性

    属性触发器: <Button MinWidth=" 75" Margin="10"> <Button.Style> <Style ...