今天在linux环境下做了一下10.2.0.1到10.2.0.4的升级,下面把主要过程记录一下:
一、下载补丁
补丁为:p6810189_10204_Linux-x86.zip 可以到oracle官方网站上去下载
二、 升级安装前准备工作
1、关闭数据库所有服务
1.关闭所有可能访问数据库的工具, 例如 Oracle Enterprise Manager Database Control or iSQL*Plus:
2.[oracle@localhost ~]$emctl stop dbconsole
3.[oracle@localhost ~]$isqlplusctl stop
4.[oracle@localhost ~]$lsnrctl stop
5.[oracle@localhost ~]$sqlplus /NOLOG
6.SQL> CONNECT SYS AS SYSDBA
7.Enter password:SYS_Password
8.SQL> SHUTDOWN
三、备份系统
备份内容包括: Oracle Inventory, Oracle 10g home 和 Oracle 10g Database.
四、安装升级包软件
1.以具有操作系统管理员权限的用户登陆系统.
2.解压升级包,运行./runInstall.
3.除了需要指定你想升级的Oracle home,或者选择“路径”,其他全部默认即可。
4.在安装结束画面, 单击“退出”, 然后确认退出 Oracle Universal Installer