您的位置:首页 > 数据库 > Oracle

win7 下安装oracle彻底解决版本验证问题

2012-12-10 15:03 686 查看
现在,window7 已经很普遍了,如果朋友们还要继续在window7下安装oracle10g来玩,那就得修改两个配置文件后再进行安装,就没问题了。

1. 首先在官网下载oracle_10203_vista_w2k8_x86_production_db这个压缩包。

解压后,在路径:oracle_10203_vista_w2k8_x86_production_db\db\Disk1\install下找到oraparam.ini这个文件。

用工具打开此文件,找到此文件相应的段落,修改成如下:

-------- 开始----------------------------

[Certified Versions]

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

Windows=4.0,5.0,5.1,5.2,6.0,6.1

#Windows NT 4.0

[Windows-4.0-required]

#Minimum display colours for OUI to run

MIN_DISPLAY_COLORS=256

#[Windows-4.0-optional]

#Windows 2000 use winver.exe to find version

[Windows-5.0-required]

#Minimum display colours for OUI to run

MIN_DISPLAY_COLORS=256

[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

[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

[Windows-5.2-optional]

#Windows vistar to find version

[Windows-6.0-required]

#Minimum display colours for OUI to run

MIN_DISPLAY_COLORS=256

[Windows-6.0-optional]

#Windows 7 to find version

[Windows-6.1-required]

#Minimum display colours for OUI to run

MIN_DISPLAY_COLORS=256


[Windows-6.1-optional]

[IMAGES]

FILE1=images/rdbms_1.gif

FILE2=images/rdbms_2.gif

FILE3=images/rdbms_3.gif

FILE4=images/rdbms_4.gif

FILE5=images/rdbms_5.gif

FILE6=images/rdbms_6.gif

FILE7=images/rdbms_7.gif

FILE8=images/rdbms_8.gif

-------- 结束---------------------------

用以上分割线之间的内容替换相应的段落。

2. 在oracle_10203_vista_w2k8_x86_production_db\db\Disk1\stage\prereq\db路径下找到refhost.xml此文件。

用工具打开后:

用以下内容替换此文件的相应段落:

--------------开始---------------------

<CERTIFIED_SYSTEMS>

<OPERATING_SYSTEM>

<VERSION VALUE="5.0"/>

<SERVICE_PACK VALUE="1"/>

</OPERATING_SYSTEM>

<OPERATING_SYSTEM>

<VERSION VALUE="5.1"/>

<SERVICE_PACK VALUE="1"/>

</OPERATING_SYSTEM>

<OPERATING_SYSTEM>

<VERSION VALUE="5.2"/>

</OPERATING_SYSTEM>

<!--Microsoft Windows Vista-->

<OPERATING_SYSTEM>

<VERSION VALUE="6.0"/>

</OPERATING_SYSTEM>

<!--Microsoft Windows 7-->

<OPERATING_SYSTEM>

<VERSION VALUE="6.1"/>

</OPERATING_SYSTEM>


</CERTIFIED_SYSTEMS>

------------------结束--------------------------

到此,再安装就没什么问题了。

如果你对版本没要求,那就直接建议你安装11g,11g在win7下完美可以安装。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐