Oracle 11.2.0.4.0 Oracle Database 11g Release 2 Installer(步骤一)

1、取消选中这个界面上的I wish to receive security updates via My Oracle Support复选框,点击Next,并点击yes

2、下载软件更新选择 skip software updates

3、在Select Installation Option(选择安装选项)界面上,选择Install database software only选项,点击Next

Create and configure a database(创建和配置数据库)  这个选项是默认的安装选项,它安装Oracle RAC二进制文件,并根据预先配置的模板创建一个数据库。这个选项对于初学者非常有用,因为Oracle为不同类型的工作量提供了不同模板,如用于OLTP和决策支持系统的不同模板。

Install database software only(仅安装数据库软件)  这个选项在集群中的所有服务器上安装Oracle RAC软件。数据库管理员大多使用这一选项,这样,在安装了Oracle RAC二进制文件之后,他们可以使用数据库配置助手来创建数据库,从而拥有更大的灵活性。

4、在Grid Installation Options(网格安装选项)界面上,可以选择以下2种选项之一:

Single instance database installation(单实例数据库安装)  这一选项允许仅在本地节点上安装单实例数据库软件。

Real Application Clusters database installation(Oracle RAC数据库安装)  这一选项允许在集群中的选定节点上选择和安装Oracle RAC二进制文件。

在这个界面上,选择Single instance database installation选项,点击Next

5、在Select Product Languages界面,选择安装语言(默认情况下选择英文),点击Next

6、在Select Database Edition(选择数据库版本)界面,选择企业版,点击Next

 

7、在Specify Installation Location界面,为Oracle Base和Software Location指定存储位置,点击Next

8、选择清单目录、指定清单组名称,点击Next

9、在Privileged Operating System Groups界面,从提供的值列表中选择数据库管理员和数据库操作员操作系统组,点击Next

10、安装到这一步,可以看到,检查到有很多的包报错

切换到root用户,然后使用命令一个一个的安装,例如:yum install -y libaio*

(针对pdksh找不到的问题,安装ksh即可。据说oracle使用新的ksh了,但是检查脚本中还使用的是pdksh)

当所有包都安装完成后,点击"Check  Again"

可以看到还是有错,有些系统报错是因为现有的包的版本比检测的要高,Oracle 11g check的时候不识别高版本lib包,我们把右上角的"Ignore All"勾选上,然后点击Next

最终安装的时候这样的

 

11、安装过程遇到报错

Error in invoking target 'agent nmhs' of makefile '/opt/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk'. See '/opt/oracle/oraInventory/logs/installActions2020-07-15_01-35-05PM.log' for details.

在链接阶段,调用“ ins_emagent.mk”文件时会遇到错误。要解决此问题,请编辑“ $ ORACLE_HOME / sysman / lib / ins_emagent.mk”,进行搜索并替换下面显示的行。然后点击Retry

[oracle@ylm-100 database]$ vim /opt/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk

$(MK_EMAGENT_NMECTL)
#第176行修改为
$(MK_EMAGENT_NMECTL) -lnnz11

12、安装接近尾声的时候需要使用root用户执行2条shell脚本,按提示做即可。安装结束。

 

[root@ylm-100 oracle]# sh /opt/oracle/oraInventory/orainstRoot.sh
Changing permissions of /opt/oracle/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /opt/oracle/oraInventory to oinstall.
The execution of the script is complete.
[root@ylm-100 oracle]# sh /opt/oracle/product/11.2.0/dbhome_1/root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /opt/oracle/product/11.2.0/dbhome_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
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.
[root@ylm-100 oracle]#

 

 

 

 

 

 

 

 

 

 

 

 

 

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值