搜索

此内容没有您所选择的语言版本。

Chapter 17. Patch Console Commands

download PDF
The patch commands allow you to download, install, and manage patches.
Patches contain a discreet set of bundles intended to update a standalone container. Each patch includes the following metadata:
  • the patch name
  • a description of the patch
  • the list of bundles included in the patch
The basic procedure applying a patch is:
  1. You receive a notice from customer support that a patch is available.
  2. Using the URL provided by customer support, you download the patch using the patch:add command.
    This command downloads an archive file, unzips the archive, and puts the relevant JAR files under the container's system/ directory. The patch does not overwrite any of the existing JAR files and the patch is not actually installed until you run the patch:install command.
  3. You install the patch using the patch:install command.
  4. If you notice that the patch is causing issues, you can remove it using the patch:rollback command.
Important
These commands are not suitable for use with containers that are part of a fabric. They are only for use in applying patches to standalone containers.
Type patch: then press Tab at the prompt to view the available commands.

17.1. patch:add, download

Abstract

download a patch file from a remote location and places the relevant JAR files in the container's system directory

Synopsis

patch:add [ --help ] [ --bundles ] { URL }

Arguments

Table 17.1, “patch:add Arguments” describes the command's arguments.
Table 17.1. patch:add Arguments
ArgumentInterpretation
--helpDisplays the online help for this command.
--bundlesList the bundles included in the patch.
URLSpecifies the URL from which the patch is downloaded.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.