学习oracle技术,每天学一点,每天进步一点

如何把oracle9i和10g装在同一win平台下面

上一篇 / 下一篇  2008-05-30 10:00:01 / 个人分类:安装与规划

  因为现在自己学习oracle 10g 新特性 ,就把10g装在虚拟机上,每次打开虚拟机器 启动oracle后

电脑就慢的要死 因为内存有限才1g  分给虚拟机512M,再加上还有正常工作事情要做,来回切换虚拟

机也不方便

 所以今天没事 就想把9i和10g 都装在同一环境下,方便自己练习和提高速度

    9i是按照先前方法已经好了 一直在用

装在D:\oracle\ora92 目录下 

1:  首先停掉 9i的监听和数据库

2: 10g 我就装在F盘F:\oracle\product\10.2.0\db_1   下

10g 在win平台下安装还是挺方便的 一路点next  装好后

按照图形化界面让他自动配置listener 和创建数据库

成功后 需要配置10g 目录listener.ora 文件端口改为 1522

然后 tnsnames.ora 端口也改为1522

3.启动9i listener ,数据库 和10g listener,数据库  一切正常

进入cmd下,可以自由切换

C:\Documents and Settings\Paul Yi>set oracle_sid=pubtest     这是9i实例名

C:\Documents and Settings\Paul Yi>sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on 星期五 5月 30 10:11:05 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


bA0T*@ D(Q(a4x*[0连接到:ITPUB个人空间Gqu*`)_p[t
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
;j$C,YJFGN c Jv#]0With the Partitioning, OLAP and Oracle Data Mining options
Q6@4z gBkO&cV0JServer Release 9.2.0.8.0 - Production

SQL> exitITPUB个人空间6X%g\(?7Th
从 Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
!{$IS{+u6i ar:~q2xi0With the Partitioning, OLAP and Oracle Data Mining options
#n.w,}.]]9XwDcx9f0JServer Release 9.2.0.8.0 - Production 断开

C:\Documents and Settings\Paul Yi>set oracle_sid=ORCL    这是10G 实例名

C:\Documents and Settings\Paul Yi>sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on 星期五 5月 30 10:11:17 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

ITPUB个人空间;Z7L OwDzi4f!lZB
连接到:ITPUB个人空间.d9sQ$Vvh
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProductionITPUB个人空间PB Jik9@
With the Partitioning, OLAP and Data Mining options

SQL

 


TAG:

paul oracle my love 引用 删除 paulyibinyi   /   2008-05-30 15:09:28
11g 也是照上面同样设置
呵呵 现在我电脑上9i,10g,11g共存啊
 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2008-09-07  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 16307
  • 日志数: 277
  • 图片数: 2
  • 建立时间: 2007-12-11
  • 更新时间: 2008-09-03

RSS订阅

Open Toolbar