weblogic补丁下载与安装补丁的方法

文章目录
1.根据漏洞报告下载补丁
2.补丁包上传解压到Linux
3.关于OPatch
4.安装补丁
4.1单个补丁安装
4.2查看已安装的补丁
4.3多个补丁安装
4.4单个补丁回滚
4.5多个补丁回滚
4.6验证补丁是否应用到Oracle Home

由于绿盟扫描出了机器上安装的weblogic12c存在漏洞,需要进行补丁升级。
weblogic安装的版本是12.1.3,需要使用Generic通用包安装的weblogic才能进行补丁升级,参见Linux命令行安装weblogic12c

1.根据漏洞报告下载补丁
①根据漏洞扫描报告的解决办法,管理员账号登录Oracle,打开链接http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html

②找到weblogic对应版本点击Fusion Middleware

③跳转的页面菜单选择Oracle Fusion Middleware

④再选择Oracle WebLogic Server

⑤找到weblogic对应版本点击Patch 26519417

⑥跳转的页面中点击选择下载

⑦弹出的窗口上点击下载p26519417_121300_Generic.zip

2.补丁包上传解压到Linux
将下载的p26519417_121300_Generic.zip补丁包上传到Linux服务器上

将补丁包解压到当前目录下的PATCH_TOP目录下

[[email protected] ~]$ unzip -d PATCH_TOP p26519417_121300_Generic.zip

3.关于OPatch
OPatch is a Java-based utility that runs on all supported operating systems and requires installation of the Oracle Universal Installer. It is used to apply patches to Oracle software.

OPatch是一个基于java的程序,可以运行在所有支持的操作系统,需要安装Oracle通用安装程序(即OUI)。它用于向Oracle软件应用补丁程序。

需要注意的是OUI和OPatch不是单独安装的,在安装Oracle的产品时会安装OUI和OPatch;如果在安装的Oracle产品中没有找到,说明Oracle产品可能是以开发包方式安装的,即安装的不是生产环境使用的产品。

查看OPatch的版本

[[email protected] ~]$ cd /usr/local/products/weblogic12c/OPatch
[[email protected] OPatch]$ ./opatch version
OPatch Version: 13.2.0.0.0

OPatch succeeded.

4.安装补丁
4.1单个补丁安装
cd /home/cyyun/PATCH_TOP/26519417/
/usr/local/products/weblogic12c/OPatch/opatch apply
1
2
或者执行命令./opatch apply /home/cyyun/PATCH_TOP/26519417/

[[email protected] OPatch]$ ./opatch apply /home/cyyun/PATCH_TOP/26519417/
Oracle Interim Patch Installer version 13.2.0.0.0
Copyright (c) 2014, Oracle Corporation. All rights reserved.

Oracle Home : /usr/local/products/weblogic12c
Central Inventory : /usr/local/products/oraInventory
from : /usr/local/products/weblogic12c/oraInst.loc
OPatch version : 13.2.0.0.0
OUI version : 13.2.0.0.0
Log file location : /usr/local/products/weblogic12c/cfgtoollogs/opatch/26519417_Jan_09_2018_23_53_57/apply2018-01-09_23-53-44PM_1.log

OPatch detects the Middleware Home as "/usr/local/products/weblogic12c"

Jan 09, 2018 11:54:04 PM oracle.sysman.oii.oiii.OiiiInstallAreaControl initAreaControl
INFO: Install area Control created with access level 0
Applying interim patch ‘26519417‘ to OH ‘/usr/local/products/weblogic12c‘
Verifying environment and performing prerequisite checks...
All checks passed.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = ‘/usr/local/products/weblogic12c‘)

Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...

Patching component oracle.wls.workshop.code.completion.support, 12.1.3.0.0...

Patching component oracle.wls.workshop.code.completion.support, 12.1.3.0.0...

Patching component oracle.css.mod, 12.1.3.0.0...

Patching component oracle.css.mod, 12.1.3.0.0...

Patching component oracle.fmwconfig.common.shared, 12.1.3.0.0...

Patching component oracle.fmwconfig.common.shared, 12.1.3.0.0...

Patching component oracle.wls.common.nodemanager, 12.1.3.0.0...

Patching component oracle.wls.common.nodemanager, 12.1.3.0.0...

Patching component oracle.webservices.base, 12.1.3.0.0...

Patching component oracle.webservices.base, 12.1.3.0.0...

Patching component oracle.wls.server.shared.with.core.engine, 12.1.3.0.0...

Patching component oracle.wls.server.shared.with.core.engine, 12.1.3.0.0...

Patching component oracle.wls.shared.with.cam, 12.1.3.0.0...

Patching component oracle.wls.shared.with.cam, 12.1.3.0.0...

Patching component oracle.webservices.orawsdl, 12.1.3.0.0...

Patching component oracle.webservices.orawsdl, 12.1.3.0.0...

Patching component oracle.wls.libraries.mod, 12.1.3.0.0...

Patching component oracle.wls.libraries.mod, 12.1.3.0.0...

Patching component oracle.wls.admin.console.en, 12.1.3.0.0...

Patching component oracle.wls.admin.console.en, 12.1.3.0.0...

Patching component oracle.webservices.wls, 12.1.3.0.0...

Patching component oracle.webservices.wls, 12.1.3.0.0...

Patching component oracle.wls.core.app.server, 12.1.3.0.0...

Patching component oracle.wls.core.app.server, 12.1.3.0.0...

Patching component oracle.wls.clients, 12.1.3.0.0...

Patching component oracle.wls.clients, 12.1.3.0.0...

Patching component oracle.wls.wlsportable.mod, 12.1.3.0.0...

Patching component oracle.wls.wlsportable.mod, 12.1.3.0.0...

Patching component oracle.fmwconfig.common.wls.shared, 12.1.3.0.0...

Patching component oracle.fmwconfig.common.wls.shared, 12.1.3.0.0...

Patching component oracle.wls.libraries, 12.1.3.0.0...

Patching component oracle.wls.libraries, 12.1.3.0.0...

Verifying the update...
Patch 26519417 successfully applied
Log file location: /usr/local/products/weblogic12c/cfgtoollogs/opatch/26519417_Jan_09_2018_23_53_57/apply2018-01-09_23-53-44PM_1.log

OPatch succeeded.

4.2查看已安装的补丁
[[email protected] OPatch]$ ./opatch lspatches
Jan 10, 2018 12:08:24 AM oracle.sysman.oii.oiii.OiiiInstallAreaControl initAreaControl
INFO: Install area Control created with access level 0
26519417;WLS PATCH SET UPDATE 12.1.3.0.171017

OPatch succeeded.

4.3多个补丁安装
例:/opt/patches/目录下有两个补丁
/opt/patches/15941858
/opt/patches/15955138

cd /opt/patches/
/usr/local/products/weblogic12c/OPatch/opatch napply -id 15941858,15955138
1
2
4.4单个补丁回滚
cd /home/cyyun/PATCH_TOP/
/usr/local/products/weblogic12c/OPatch/opatch rollback -id 26519417
1
2
4.5多个补丁回滚
cd /opt/patches/
/usr/local/products/weblogic12c/OPatch/opatch nrollback -id 15941858,15955138
1
2
4.6验证补丁是否应用到Oracle Home
To verify what patches have been applied to an Oracle home, or to find out additional information about the Oracle home, use the opatch lsinventory command.
验证什么补丁已经应用到Oracle Home,或了解Oracle Home附加的信息,使用opatch lsinventory命令。

[[email protected] OPatch]$ ./opatch lsinventory
Oracle Interim Patch Installer version 13.2.0.0.0
Copyright (c) 2014, Oracle Corporation. All rights reserved.

Oracle Home : /usr/local/products/weblogic12c
Central Inventory : /usr/local/products/oraInventory
from : /usr/local/products/weblogic12c/oraInst.loc
OPatch version : 13.2.0.0.0
OUI version : 13.2.0.0.0
Log file location : /usr/local/products/weblogic12c/cfgtoollogs/opatch/opatch2018-01-11_21-49-31PM_1.log

OPatch detects the Middleware Home as "/usr/local/products/weblogic12c"

Jan 11, 2018 9:49:47 PM oracle.sysman.oii.oiii.OiiiInstallAreaControl initAreaControl
INFO: Install area Control created with access level 0
Lsinventory Output file location : /usr/local/products/weblogic12c/cfgtoollogs/opatch/lsinv/lsinventory2018-01-11_21-49-31PM.txt

--------------------------------------------------------------------------------

Interim patches (1) :

Patch 26519417 : applied on Tue Jan 09 23:57:38 CST 2018
Unique Patch ID: 21550701
Patch description: "WLS PATCH SET UPDATE 12.1.3.0.171017"
Created on 4 Oct 2017, 11:34:16 hrs PST8PDT
Bugs fixed:
18538501, 18376812, 21746415, 18746515, 17394051, 19668883, 20333386
14236278, 22498352, 21522926, 20720853, 20585084, 22910817, 23063611
19472793, 20692185, 25029531, 22749253, 22107941, 21081720, 23099318
24802574, 19175526, 25720769, 25695948, 21347054, 25801353, 18854885
24469063, 22690676, 19730967, 18727635, 18305935, 19556868, 19080525
20266379, 21069524, 18722098, 19917893, 19705162, 19973098, 18082758
20613957, 18428696, 22175246, 18945422, 20229977, 18559995, 19467894
20226151, 23099223, 18144979, 23640078, 22900750, 22836462, 20430490
25590885, 23342794, 25955347, 25439226, 22746640, 26144830, 18276961
19942900, 19533331, 18922324, 19339238, 20906638, 19500276, 20169972
19917991, 19585666, 19879223, 22200449, 22200491, 22200594, 22247869
19212729, 20758488, 21964759, 20246732, 19463153, 22249331, 24750930
22486599, 22860104, 19150123, 24305841, 23103220, 20205647, 19234430
20717353, 18485034, 18597348, 18387934, 19828316, 21549018, 21562338
19287842, 18589879, 19907066, 18753794, 19988824, 19265688, 18289179
19576633, 21107126, 21169554, 18718889, 20323632, 19351700, 19874466
19703527, 21252292, 19883023, 21516492, 21615827, 22339918, 21519519
20786128, 20672949, 20907322, 22574362, 21836275, 18123824, 22550116
19775778, 21647599, 22987229, 20157787, 21119215, 23326877, 25059150
25164167, 24341200, 22586217, 24837293, 26596622, 26044754, 26632886
20774032, 25205507, 25917709, 19033547, 19459949, 18671042, 18729264
19852007, 19268444, 19299358, 19425078, 21039390, 21083766, 20062321
19689036, 21545042, 21294990, 22829635, 22850769, 19150684, 21189073
18974055, 19170125, 23555480, 22383225, 22261241, 19549507, 21225816
20197139, 20207088, 21562704, 25577947, 24399682, 20162146, 21270142
19763916, 24376591, 18746053, 24618043, 19066738, 20206879, 20814890
20080751, 18836900, 19953516, 22200523, 20721340, 19477196, 20080046
20128089, 21129379, 16815912, 21603584, 23107300, 22378134, 20739167
23223461, 20419243, 20736912, 22541225, 23735210, 24522430, 22836557
23004029, 23733891, 20311530, 19565095, 21158132, 20193085, 22901740
22950801, 25192229, 25497443, 20969389, 25988919, 16956849, 25118289
21902034, 20952475, 26861216, 24818026, 26797049, 18968900, 18859387
19287874, 18912482, 20523619, 18432174, 18481239, 18466848, 19001915
20758863, 17702917, 19928803, 20044804, 20087183, 22097019, 21561271
19986568, 19263075, 22599178, 17889922, 21834255, 18438079, 23732201
25317743, 24297731, 26144926, 25534314, 24533963, 20629733, 22540656
25743005, 21652727, 21241854, 25174732, 20047315, 19926398, 18691894
17012341, 18964349, 17721032, 20985893, 19936917, 16562029, 20798352
20471785, 19422493, 19297004, 21756751, 21495475, 19790693, 17968606
22248079, 22100830, 22049932, 21947902, 20220959, 19947189, 20783846
20551651, 22666897, 18806464, 22999996, 20671165, 19865550, 22759067
20432957, 20256190, 25375968, 25522149, 24817968, 25743025, 25823774
19721047, 24828619, 26563889, 25355394, 22083678, 21748022

--------------------------------------------------------------------------------

OPatch succeeded.

本文参考:
Oracle® Fusion Middleware Patching with OPatch
---------------------
作者:LifeIsForSharing
来源:CSDN
原文:https://blog.csdn.net/sl1992/article/details/79026765
版权声明:本文为博主原创文章,转载请附上博文链接!

原文地址:https://www.cnblogs.com/chendian0/p/10760927.html

时间: 2024-08-02 10:06:13

weblogic补丁下载与安装补丁的方法的相关文章

MS17-010补丁下载与安装,防WannaCrypt勒索软件前提!

这个周未被勒索病毒刷屏了,虽然说域名的"停止开关"已被关闭,但马上就爆出已经升级为2.0,所谓的"停止开关"并不能阻止病毒蔓延, 所以目前最根本的办法就是先给所有电脑更新补丁! 由于微软网站刚放出XP.2003补丁时,网站访问量太大,基本没法打开,很多人都下载失败!好在我第一时间抢到了更新包,并放分享到网盘里了,微信里的朋友好多都已下载! 现在我将常用的补丁收集并分类整,更新到网盘了,有需要的请到网盘下载安装!地址:https://pan.baidu.com/s/1

Flex开发实战(二)--Flash Builder 4.7下载和安装及破解方法

摘要:开发Flex我们需要使用Flash Builder等IDE,但是Flash Builder又不是开源的.目前Flash Builder开发工具最新的版本是4.14.1,本文章主要是讲述Flash Builder 4.7下载,Flash Builder 4.7安装,以及Flash Builder 4.7破解的方法(破解方案都是通用的),帮助一些想更好地学习Flex开发的朋友快速入门. 本内容是针对一些买不起正版,又想学习 Flex 开发的吊丝们.本教程是由本程序员亲测,下面也会讲到在安装的时

“永恒之蓝”蠕虫全球肆虐,尽快安装补丁!

背景 5月12日晚,一款名为Wannacry的蠕虫勒索软件袭击全球网络,这被认为是迄今为止最巨大的勒索交费活动,影响到近百个国家上千家企业及公共组织. 该软件被认为是一种蠕虫变种(也被称为"wannacryptor"或" wcry"). 像其他勒索软件的变种一样,一旦电脑感染了Wannacry病毒,受害者要高达300美元比特币的勒索金才可解锁.否则,电脑就无法使用,且文件会被一直封锁. 研究人员还发现了大规模恶意电子邮件传播,以每小时500封邮件的速度传播杰夫勒索软

PowerDesigner 15及破解补丁下载、说明

PowerDesign是Sybase推出的主打数据库设计工具.PowerDesign致力于采用基于Entiry-Relation的数据模型,分别从概念数据模型(Conceptual Data Model)和物理数据模型(Physical Data Model)两个层次对数据库进行设计.概念数据模型描述的是独立于数据库管理系统(DBMS)的实体定义和实体关系定义.物理数据模型是在概念数据模型的基础上针对目标数据库管理系统的具体化. PowerDesigner 15下载地址: http://down

sql编程利器,Sql Prompt下载及安装方法

Sql Prompt只能提示及其格式化用起来非常方便: 推荐网址:www.4-yecao.com 免费下载地址:http://download.csdn.net/detail/caizz520/4557385 1. 下载SQL Prompt 5.3.4.1,是个压缩包,里面有三个文件 免登录免积分下载地址:http://download.csdn.net/detail/caizz520/4557385 1) 下载完成后,解压得到下面三项.一个是注册教程doc,一个是注册机keygen,一个是官方

Oracle WebLogic中间件最新漏洞修复补丁以及修复方案说明(2019.7)

---------目录-------- 1. 补丁集修复漏洞说明... 3 1.1 Oracle WebLogic 10.3.6.0.190716. 3 1.2 Oracle WebLogic 12.1.3.0.190716. 3 1.3 Oracle WebLogic 12.2.1.3.190522. 4 2. WLS 内核组件漏洞说明... 5 3. 漏洞修复方案... 5 3.1 WebLogic 10.3.6.0. 5 3.1.1 停应用进程... 5 3.1.2 环境备份... 6 3

XenServer 6.5 安装补丁更新

为保证XenServer运行更加的稳定,建议更新最新的补丁:接入外网后XenCenter自动查找更新,在XenCenter的左下角点击 通知更新,如果没有发现更新可以点击"刷新" 每个更新都需要单独完成安装:点击"下载并安装" 更新补丁下载完成后提示安装,勾选要更新的服务器,然后下一步 更新被上载到XenServer服务器中,然后下一步 检查服务器状态是否满足更新要求,下一步 选择上面一项,XenServer将立即应用此更新,服务器会重启后继续 选择下面一项,Xen

Adobe CC 2015 中文破解版 破解补丁下载

Adobe Illustrator CC 2015 中文破解版 破解补丁下载 Adobe illustrator是一种应用于出版.多媒体和在线图像的工业标准矢量插画的软件,作为一款非常好的图片处理工具,Adobe illustrator 广泛应用于印刷出版.专业插画.多媒体图像处理和互联网页面的制作等,也可以为线稿提供较高的精度和控制,适合生产任何小型设计到大型的复杂项目. Adobe illustrator作为全球最著名的矢量图形软件,以其强大的功能 和体贴用户的界面,已经占据了全球矢量编辑

Win7 SP1或安装补丁后安装VS2010出现无法安装FrameWork 4.0错误

出现这个问题,是因为 (1)你曾经手工安装了FrameWork 4.0或你安装的软件为你安装了FrameWork 4.0. (2)SP1补丁中包含了FrameWork 4.0,安装SP1之后FrameWork 4.0 即相当于安装到了电脑上(估计是不完全的,只提供了FrameWork 4.0运行的基础组件),所以VS 2010再安装FrameWork 4就会因当前已有的组件阻塞而无法安装,导致VS安装失败.(3)另外所有关于FrameWork 3.5和3.5.1的更新也会阻塞FrameWork