ITPub博客

首页 > 数据库 > Oracle > Oracle初安装,本以为很简单,过程却有点曲折

Oracle初安装,本以为很简单,过程却有点曲折

原创 Oracle 作者:xiaoyang_737 时间:2014-07-15 16:15:17 0 删除 编辑

Orcle官网下载Oracle 11gR2版本数据库,选择64位下载,点击Set up进行安装,安装过程中选择空间大点的目录,其他均不用特殊设置,默认进行安装,但是安装之后发现11gR2版本操作设置方法与10gR2版本存在较大差异,不能完全按照孟老师的书本步骤进行操作,因此从网上搜索Oracle Database 10g Release 2进行下载,好不容易找了个博客有下载,针对我本身的Win7系统我选择了64位下载

下载地址:http://blog.csdn.net/sebastain/article/details/8183706

http://download.oracle.com/otn/nt/oracle10g/10201/102010_win64_x64_database.zip
http://download.oracle.com/otn/nt/oracle10g/10201/102010_win64_x64_client.zip
http://download.oracle.com/otn/nt/oracle10g/10201/102010_win64_x64_clusterware.zip

下载之后安装出了问题,主要是系统检测只支持5.1,5.2,但是我的系统检测为6.1,这让我挺郁闷,本来想通过安装XP双系统解决,但网我搜到一个解决办法,很是好用,附方法如下:

  软件参数

        OS:Windows server 2008 Enterprise R2 x64

        DB:Oracle 10g x64

        VM:Sun JDK 1.6 update31 x64

  问题描述

 安装Oracle10g提示不能安装,如图:

查看Log信息如下:

 使用 paramFile: F:\TDDOWNLOAD\database\install\oraparam.ini

正在检查安装程序要求...

检查操作系统版本: 必须是5.1 or 5.2。    实际为 6.1

                                      未通过 <<<<

正在退出 Oracle Universal Installer。您可以在 C:\Program Files (x86)\Oracle\Inventory\logs\installActions2012-05-12_08-22-47PM.log 中找到本次会话的日志

请按 Enter 键退出...

 

  问题分析

根据Log信息可以看出使用参数文件oraparam.ini在检查操作系统版本的时候出了问题,

查看系统信息:Win+R > CMD > systeminfo

 主机名:           WIN-JOHER

OS 名称:          Microsoft Windows Server 2008 R2 Enterprise

OS 版本:          6.1.7600 暂缺 Build 7600

OS 制造商:        Microsoft Corporation

OS 配置:          独立服务器

OS 构件类型:      Multiprocessor Free

 

在配置文件oraparam.ini里找到如下信息:

 [Certified Versions]

#You can customise error message shown for failure, provide value for CERTIFIED_VERSION_FAILURE_MESSAGE

Windows=5.1,5.2,6.1

 

//略去部分文字。。。

 

#Windows 2000 use winver.exe to find version

[Windows-5.0-required]

#Minimum display colours for OUI to run

MIN_DISPLAY_COLORS=256

#Minimum CPU speed required for OUI

#CPU=300

[Windows-5.0-optional]

 

#Windows XP use winver.exe to find version

[Windows-5.1-required]

#Minimum display colours for OUI to run

MIN_DISPLAY_COLORS=256

#Minimum CPU speed required for OUI

#CPU=300

[Windows-5.1-optional]

 

#Windows .net use winver.exe to find version

[Windows-5.2-required]

#Minimum display colours for OUI to run

MIN_DISPLAY_COLORS=256

#Minimum CPU speed required for OUI

#CPU=300

[Windows-5.2-optional]

  解决方案

这里只认证5.1、5.2的OS版本,但是我的win server 2008系统版本为6.1,

于是照猫画虎将[Certified Versions]参数修改为:

 [Certified Versions]

#You can customise error message shown for failure, provide value for CERTIFIED_VERSION_FAILURE_MESSAGE

Windows=5.1,5.2,6.1

设置oraparam.ini为可编辑,并且在其下方合适的位置加上如下参数:

 [Windows-6.1-required]

#Minimum display colours for OUI to run

MIN_DISPLAY_COLORS=256

#Minimum CPU speed required for OUI

#CPU=300

[Windows-6.1-optional]

保存,退出,重新安装,验证通过,问题解决。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29753231/viewspace-1219633/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-07-15

  • 博文量
    5
  • 访问量
    7089