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

win7下安装oracle10g

2011-04-27 11:11 253 查看
如果想要在win7上安装,需在oracle官网上下载相应的版本

http://download.oracle.com/otn/nt/oracle10g/10203/10203_vista_w2k8_x86_production_db.zip

如果已有一个版本查看stage/prereq/db/refhost.xml是否存在,不存在不能再win7下安装

打开
10203_vista_w2k8_x86_production_db/db/Disk1/stage/prereq/db/refhost.xml


<!--Microsoft Windows Vista-->
    <OPERATING_SYSTEM>
      <VERSION VALUE="6.0"/>
    </OPERATING_SYSTEM>


之后添加

 <!--Microsoft Windows 7-->
<OPERATING_SYSTEM>
  <VERSION VALUE="6.1"/>
</OPERATING_SYSTEM>
  </CERTIFIED_SYSTEMS>


然后打开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=5.0,5.1,5.2


修改为:

[Certified Versions]
#You can customise error message shown for failure, provide value for
CERTIFIED_VERSION_FAILURE_MESSAGE
#Windows=5.0,5.1,5.2,6.0,6.1


即在最后增加6.0,6.1

然后在

[Windows-6.0-optional]
#Minimum display colours for OUI to run
MIN_DISPLAY_COLORS=256
#Minimum CPU speed required for OUI
#CPU=300


后面添加

[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]


我安装时,运行setup时,DOS中弹出如下信息,然后停止响应了

在 oraparam.ini 中未找到先决条件检查, 不执行系统先决条件检查。

准备从以下地址启动 Oracle Universal Installer C:/User1/ZHOUWE~1/AppData/Local/Tem
p/OraInstall2011-04-18_08-50-41AM.请稍后


 

直接不给于理会,继续装,发现能正常使用
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息