• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • MsSql
  • Mysql
  • oracle
  • MariaDB
  • DB2
  • SQLite
  • PostgreSQL
  • MongoDB
  • Redis
  • Access
  • 数据库其它
  • sybase
  • HBase
您的位置:首页 > 数据库 >oracle > ORACLE 11g从 11.2.0.1升级到11.2.0.4 详细实战教程

ORACLE 11g从 11.2.0.1升级到11.2.0.4 详细实战教程

作者:黄杉 字体:[增加 减小] 来源:互联网 时间:2017-05-11

黄杉通过本文主要向大家介绍了oracle 11g 11.2.0.4,oracle11g安装教程,oracle11g 64位下载,卸载oracle11g,oracle11g卸载步骤等相关知识,希望本文的分享对您有所帮助

 1、准备安装

查看当前oracle版本,确定是比较旧的11.2.0.1

[oracle@hch_test_121_90 ~]$ rlwrap sqlplus / as sysdba 
SQL*Plus: Release 11.2.0.1.0 Production on Fri Mar 17 15:20:45 2017 
Copyright (c) 1982, 2009, Oracle. All rights reserved. 
Connected to: 
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production 
With the Partitioning, OLAP, Data Mining and Real Application Testing options 
SQL> exit 
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production 
With the Partitioning, OLAP, Data Mining and Real Application Testing options 
[oracle@hch_test_121_90 ~]$ 
</div>

上传11.2.0.4的安装包p13390677_112040_Linux-x86-64_1of7.zip、p13390677_112040_Linux-x86-64_2of7.zip到服务器上。Oracle11.2.0.4的安装包下载,请查阅我的blog地址,这上面有下载源:http://blog.csdn.net/mchdba/article/details/51418063

 升级准备:

解压缩: 
[oracle@hch_test_121_90 oracle]$ unzip p13390677_112040_Linux-x86-64_1of7.zip 
[oracle@hch_test_121_90 oracle]$ unzip p13390677_112040_Linux-x86-64_2of7.zip 
打开启动图像界面 
[oracle@hch_test_121_90 oracle]$ cd database/ 
[oracle@hch_test_121_90 database]$ ./runInstaller 
Starting Oracle Universal Installer... 
Checking Temp space: must be greater than 120 MB. Actual 6024 MB Passed 
Checking swap space: must be greater than 150 MB. Actual 1798 MB Passed 
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed 
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-03-17_03-11-29PM. Please wait ...[oracle@hch_test_121_90 database]$ 
[oracle@hch_test_121_90 database]$ 
</div>

2、开始升级

C:\pic\oracle\100.png,填写邮箱地址(也可以忽略不填写),然后下一步


选择忽略软件升级,下一步吗,如101.png


然后选择升级,如下102.png


然后继续进行,有个INS-35373错误,选择Yes,如下

 

 然后选择好语言种类,简体中文、繁体中文、英语、美式英语等,如104.png所示:


继续下一步,选择企业版,如

接下来,开始选择oracle目录了,是选择新建的目录呢还是选择原来的老版本11.2.0.1的目录呢?这里最好选择一个新的目录,因为万一升级失败了,老的oracle版本软件目录没有被覆盖掉,还可以继续使用的,否则升级失败,就基本只有彻底暴力清除所有文件以及注册信息,之后重新安装oracle了。

我这里就选择一个新的目录11.2.0.4的目录,如106.png、107.png所示 


接下来,继续,选择新的的Inventory Directory目录,默认的会报错,如108.png所示

 

接下来选择用户组和操作组,如109.png所示:

 

 接下来,会有checking各种lib包,一些比较偏的,缺少了也没事,直接Ignore忽略掉就ok,如110.png所示:

 下一步看安装的目录以及基本信息,如111.png所示:

然后点击“”Install“”按钮,开始安装,如图112.png

 中级需要执行配置脚本,如图112_1.png

重新打开xshell,ssh连接到数据库,在命令行去执行命令:

[root@hch_test_121_90 oracle]# bash -x/oracle/app/oraInventory11.2.0.4/orainstRoot.sh
[root@hch_test_121_90 oracle]# bash -x/oracle/app/oracle/product/11.2.0.4/dbhome_1/root.sh
</div>

执行过程如下: 

[root@hch_test_121_90 oracle]# bash -x /oracle/app/oraInventory11.2.0.4/orainstRoot.sh 
+ AWK=/bin/awk 
+ CHMOD=/bin/chmod 
+ CHGRP=/bin/chgrp 
+ CP=/bin/cp 
+ ECHO=/bin/echo 
+ MKDIR=/bin/mkdir 
++ /usr/bin/id 
++ /bin/awk '-F(' '{print $1}' 
++ /bin/awk -F= '{print $2}' 
+ RUID=0 
+ '[' 0 '!=' 0 ']' 
+ '[' -d /etc ']' 
+ /bin/chmod 755 /etc 
+ '[' -f /oracle/app/oraInventory11.2.0.4/oraInst.loc ']' 
+ /bin/cp /oracle/app/oraInventory11.2.0.4/oraInst.loc /etc/oraInst.loc 
+ /bin/chmod 644 /etc/oraInst.loc 
+ /bin/echo 'Changing permissions of /oracle/app/oraInventory11.2.0.4. 
Adding read,write permissions for group. 
Removing read,write,execute permissions for world. 
' 
Changing permissions of /oracle/app/oraInventory11.2.0.4. 
Adding read,write permissions for group. 
Removing read,write,execute permissions for world. 
+ /bin/chmod -R g+rw,o-rwx /oracle/app/oraInventory11.2.0.4 
+ '[' 0 '!=' 0 ']' 
+ /bin/echo 'Changing groupname of /oracle/app/oraInventory11.2.0.4 to oinstall.' 
Changing groupname of /oracle/app/oraInventory11.2.0.4 to oinstall. 
+ /bin/chgrp -R oinstall /oracle/app/oraInventory11.2.0.4 
+ '[' 0 '!=' 0 ']' 
+ /bin/echo 'The execution of the script is complete.' 
The execution of the script is complete. 
[root@hch_test_121_90 oracle]# 
[root@hch_test_121_90 oracle]# 
[root@hch_test_121_90 ~]# sh /oracle/app/oracle/product/11.2.0.4/dbhome_1/root.sh 
Performing root user operation for Oracle 11g 
The following environment variables are set as: 
 ORACLE_OWNER= oracle 
 ORACLE_HOME= /oracle/app/oracle/product/11.2.0.4/dbhome_1 
Enter the full pathname of the local bin directory: [/usr/local/bin]: /oracle/app/oracle/product/11.2.0.4/dbhome_1/bin 
The contents of "dbhome" have not changed. No need to overwrite. 
The contents of "oraenv" have not changed. No need to overwrite. 
The contents of "coraenv" have not changed. No need to overwrite. 
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 script. 
Now product-specific root actions will be performed. 
Finished product-specific root actions. 
[root@hch_test_121_90 ~]# 
</div>

之后回到vnc远程的窗口,点击界面的OK,会提示安装Oracle Net Configuration Assistant: Welcome操作:

接下来会配置网络,如下113.png、114.png

 

分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • ORACLE 11g从 11.2.0.1升级到11.2.0.4 详细实战教程

相关文章

  • 2017-05-11Oracle 查询存储过程做横向报表的方法
  • 2017-05-1111g Oracle导出表不导出数据默认为空表的解决方法
  • 2017-05-11oracle中如何获得数据库的DBID信息
  • 2017-05-11Oracle 8x监控sysdba角色用户登陆情况
  • 2017-05-11随机获取oracle数据库中的任意一行数据(rownum)示例介绍
  • 2017-05-11Oracle MERGE INTO的用法示例介绍
  • 2017-05-11ORACLE应用经验(1)
  • 2017-05-11EXECUTE IMMEDIATE用法小结
  • 2017-05-11Oracle实现分页查询的SQL语法汇总
  • 2017-05-11ORA-12514及ORA-28547错误解决方案

文章分类

  • MsSql
  • Mysql
  • oracle
  • MariaDB
  • DB2
  • SQLite
  • PostgreSQL
  • MongoDB
  • Redis
  • Access
  • 数据库其它
  • sybase
  • HBase

最近更新的内容

    • Oracle SQL Developer连接报错(ORA-12505)的解决方案(两种)
    • Oracle不同数据库间对比分析脚本
    • Oracle中查看表空间使用率的SQL脚本分享
    • Oracle用户密码含特殊字符时登陆失败问题
    • Linux系统下Oracle数据库的安装和启动关闭操作教程
    • Oracle 11g服务器与客户端卸载、安装全过程
    • Oracle中三种表连接算法的总结
    • oracle(plsql)生成流水号
    • 在oracle 数据库查询的select 查询字段中关联其他表的方法
    • oracle 合并查询 事务 sql函数小知识学习

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有