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

oracle在win7-64位操作系统安装和卸载步骤(在windows service 2008中也试过可以)

2015-01-19 16:31 537 查看

第一步:

oracle安装前修改的配置文件

1、在解压缩文件database\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"/>

  <SERVICE_PACK VALUE="1"/><--如果是win7 sp1可以加上这行 -->

</OPERATING_SYSTEM>

2、在解压缩文件database\ install\oraparam.ini中,增加如下部分

Windows=5.0,5.1,5.2,6.0,6.1

……

[Windows-6.0-optional]

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

注意:oracle字符集的建议选择简体中文--ZHS16GBK

第二步:

关于64位机器上,安装和使用pl/sql developer的说明

1、由于目前pl/sql developer没有推出64位版本,目前依然使用32位的dll连接数据库,因此需要一些32位的oracle包。

2、该软件包位:instantclient_10_2.rar

3、将该软件包上传至 pl/sql developer所在的主机并解压

4.将C:\oracle\product\10.2.0\db_1\NETWORK(请注意主机的oracle路径)文件夹复制粘贴到instantclient_10_2

文件夹下

5.正常安装pl/sql developer软件

6.配置pl/sqldeveloper,tools->preferences,在oracle Home中填写instantclient_10_2所在的路径

(如:D:\software\instantclient\instantclient_10_2), 在oci library中填写oci.dll所在的路径,这个文件就在instantclient_10_2路径下

(如:D:\software\instantclient\instantclient_10_2\oci.dll)

7.配置之后就可以正常使用了。

8.后续在oracle中增加其他数据库连接时,需要将C:\oracle\product\10.2.0\db_1\NETWORK\admin中的tnsnames.ora 

拷贝到D:\software\instantclient\instantclient_10_2\network\admin中即可正常使用。

第三步:

关于plsql的一些问题

1,解压运行sqldeveloper.exe,报错如下,说缺失msvcr71.dll,那么在网上下载msvcr71.dll,复制到c:/window/system,然后在运行。

2,regedit-->hkey_local_machine-->software-->oracle-->key-oraDb10g_home1-->

NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK

-----------+++++++++++++++++++++++++++————————————————

第四步(卸载):

1,程序里面:Oracle - OraDb10g_home1--》Oracle Installation Products--》Universal Installer启动oracle的卸载程序。

2,单击--》卸载产品--》然后勾选,删除--》完成后,退出。

3,重启--》删掉oracle的安装目录

4,在开始--》运行--》regedit.exe打开注册表:

 1、  HKEY_CLASSES_ROOT\OracleConfig.OracleConfig

  2、  HKEY_CLASSES_ROOT\OracleConfig.OracleConfig.1

  3、  HKEY_CLASSES_ROOT\OracleDatabase.OracleDatabase

  4、  HKEY_CLASSES_ROOT\OracleDatabase.OracleDatabase.1

 5、  HKEY_CLASSES_ROOT\OracleHome.OracleHome

  6、  HKEY_CLASSES_ROOT\OracleHome.OracleHome.1

  7、  HKEY_CLASSES_ROOT\OracleInProcServer.XOraServer

  8、  HKEY_CLASSES_ROOT\OracleInProcServer.XOraServer.5

  9、  HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession

  10、 HKEY_CLASSES_ROOT\OracleInProcServer.XOraSession.5

  11、 HKEY_CLASSES_ROOT\OracleProcess.OracleProcess

  12、 HKEY_CLASSES_ROOT\OracleProcess.OracleProcess.1

  13、 HKEY_CLASSES_ROOT\ORADC.ORADCCtrl.1

      HKEY_CLASSES_ROOT\ora_auto_file

  14、 HKEY_CLASSES_ROOT\ORAMMCCFG10.ComponentData

  15、 HKEY_CLASSES_ROOT\ORAMMCCFG10.ComponentData.1

  16、 HKEY_CLASSES_ROOT\ORAMMCPMON10.ComponentData

  17、 HKEY_CLASSES_ROOT\ORAMMCPMON10.ComponentData.1

  18、 HKEY_CLASSES_ROOT\OraOLEDB.ErrorLookup

  19、 HKEY_CLASSES_ROOT\OraOLEDB.ErrorLookup.1

  20、 HKEY_CLASSES_ROOT\OraOLEDB.Oracle

  21、 HKEY_CLASSES_ROOT\OraOLEDB.Oracle.1

  22、 HKEY_CLASSES_ROOT\OraPerfMon.OraPerfMon

  23、 HKEY_CLASSES_ROOT\OraPerfMon.OraPerfMon.1

  24、 HKEY_CLASSES_ROOT\ORCLMMC.About

  25、 HKEY_CLASSES_ROOT\ORCLMMC.About.1

  26、 HKEY_CLASSES_ROOT\ORCLSSO.ComponentData

  27、 HKEY_CLASSES_ROOT\ORCLSSO.ComponentData.1

  28、 HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE

 29、 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, 滚动这个列表,删除所有Oracle入口

 30、HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services  \Eventlog\Application删除所有Oracle入口

5,删除环境变量里path的关于oracle的配置信息。

重启,重新安装oracle数据库。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐