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. vue 仿ele 开发流程

    技术栈: vue2 vuex vue-router axios webpack eslint better-scroll 1.安装插件 npm install vue-resource babel-r ...

  2. Docker Container同时启动多服务 supervisor

    Docker Container同时启动多服务 转载请注明来自:http://blog.csdn.net/wsscy2004 昨天踩了个天坑,我有一个基本的镜像centos6.5+ssh,是通过Doc ...

  3. Drupal的钩子系统

    Drupal的很多功能都是可以定制的.以导航菜单为例,blog模块需要在菜单上添加一些功能,comment模块需要在菜单上添加一些功能,我们开发的自定义模块也需要在菜单上添加一些功能.Drupal开发 ...

  4. ML:交叉验证Cross-Validation

    PRML中首章绪论的模型选择,提到两个方法: 1.交叉验证(Cross-Validation) 2.赤池信息准则(Akaike Information Criterion),简称:AIC. 交叉验证是 ...

  5. c#.net调用pdf2swf.exe将pdf文件转换为swf,vs中运行正常,布署IIS服务器部署转换后文字部分为空白

    这个是权限问题, 需要在应用程序池中高级设置,将标识改为LocalSystem

  6. unity, Global和Local编辑模式

    下图表示是在Local模式下: 下图表示是在Global模式下: 不要搞反.

  7. Atitit.100% 多个子元素自适应布局属性

    Atitit.100% 多个子元素自适应布局属性 1.1. 原理1 1.2. Table布局1 1.3. Css布局1 1.4. 判断amazui加载完毕2 1.1. 原理 每个子元素平均分配,但是有 ...

  8. Atitit.antlr实现词法分析

    Atitit.antlr实现词法分析 1.1.  antlrworks-1.4.3.jar   wizard1 1.2. 词法的类型 id,int,float ,comment,str,char,wh ...

  9. atitit.验证码识别step3----去除边框---- 图像处理类库 attilax总结java版本

    atitit.验证码识别step3----去除边框---- 图像处理类库 attilax总结java版本 1. 去除边框思路原理 1 2. Thumbnailator 是一个用来生成图像缩略图.裁切. ...

  10. PHPCMS 后台学习

    1.final 不能被子类改写,不可扩展2.私有不能被继承3.构造方法,第一个被调用的方法4.static访问 类名::方法名 parent::test();这里test可以不静态 m=模块名& ...