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

9.8.3. Installing Cartridge Dependency Metapackages


OpenShift Enterprise 2 supports the latest version of Red Hat Enterprise Linux 6, and some features provided by the base Red Hat Enterprise Linux channel are required. To avoid complications from nonessential package updates in an OpenShift Enterprise environment, base cartridge packages only include packages that are absolutely required. For example, the base cartridge package for PHP is openshift-origin-cartridge-php.
To provide additional, nonessential packages for a cartridge, two cartridge dependency metapackages are available for each cartridge, allowing greater control over the installation of recommended and optional packages. For example, the cartridge dependency metapackages for PHP are:
  • openshift-origin-cartridge-dependencies-recommended-php
  • openshift-origin-cartridge-dependencies-optional-php
For example, certain libraries provided by a nonessential package might not be allowed in an organization. Because the package is only included in a cartridge dependency metapackage, this allows you to choose whether or not the libraries are installed on your hosts. These metapackages also give Red Hat a way to indicate which sets of dependencies might not be supported in the future.
The following table provides further details on each type of cartridge dependency metapackage.
Expand
Table 9.4. Available Cartridge Dependency Metapackages
Type Package Name Format Description
Recommended openshift-origin-cartridge-dependencies-recommended-cartridge_short_name Provides the additional recommended packages for the base cartridge. Useful for compatibility with OpenShift Online.
Optional openshift-origin-cartridge-dependencies-optional-cartridge_short_name Provides both the additional recommended and optional packages for the base cartridge. Useful for compatibility with OpenShift Online, however these packages might be removed from a future version of OpenShift Enterprise.
Install any cartridge dependency metapackages using the following command:
# yum install package_nameyum install package_name
Copy to Clipboard Toggle word wrap

Note

If you use the kickstart or bash script, the install_cartridges function performs this step. By default, this function currently installs the recommended cartridge dependency metapackages for all installed cartridges.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat