你好,游客 登录 注册 搜索
背景:
阅读新闻

OCM_简化安装Oracle10.2.0.1.0以及升级为10.2.0.2.0

[日期:2014-04-16] 来源:Linux社区  作者:Riveore [字体:大 中 小]
5.弹出需要运行的脚本,在root用户下执行脚本。
 
 
[root@ocm1 ~]# /u01/app/Oracle/product/10.2.0/db_1/root.sh
Running Oracle10 root.sh script...
 
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/10.2.0/db_1
 
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:
 
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
[root@ocm1 ~]#
 
6.安装成功,再次使用sqlplus登录,即会看见是10.2.0.2.0的oracle的版本。
 
 
[oracle@ocm1 ~]$ sqlplus "/as sysdba"
 
SQL*Plus: Release10.2.0.2.0- Production on Sat Apr 12 21:38:52 2014
 
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
 
Connected to an idle instance.
 
SQL>

更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款