作者:zhangsy
一般分三个阶段:
一. before you install this patch set
二. patch set installation tasks
三. post-installation procedures
第一步省略
第二步patch set installation tasks又分为:
1. log in as the oracle account and make sure the environment is set to the ORACLE_HOME and ORACLE_SID variables.
2. 解压patch文件,生成一个后缀名为 .cpio 的文件,然后运行以下命令
cpio -idmv < .cpio
3. shutdown immediate/normal
4. stop listener,agent and other running processes
5. 用解压后的patch文件安装 oracle universal installer release 10.1.0.2
6. 启动刚才安装好的oracle universal installer release 10.1.0.2,选择patch中的products.xml文件安装patch
7. exit
第三步post-installation procedures又分为:
1. start listener
2. log in as sysdba using sql*plus
3. run startup migrate
4. run spool patch.sql
5. run @?/rdbms/admin/catpatch.sql
6. run spool off
7. review the patch.sql for errors
8. run the shutdown command
9. run the startup command
10.run the @?/rdbms/admin/utlrp.sql script (recompile all invalid pl/sql packages) 是可选项
11. end
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/75730/viewspace-779771/ ,如需转载,请注明出处,否则将追究法律责任。