Show Table of Contents
10.3.4. 用管理 CLI 在受管域里部署应用程序
过程 10.5. 在受管域里部署应用程序
运行
deploy命令在管理 CLI 里,输入deploy命令及应用程序部署的位置。如要部署到所有的服务器组,可以使用--all-server-groups参数。[domain@localhost:9999 /]
deploy /path/to/test-application.war --all-server-groups- 或者,用
--server-groups参数定义部署的专有服务器组。[domain@localhost:9999 /]
deploy /path/to/test-application.war --server-groups=server_group_1,server_group_2
请注意,成功的部署不会在 CLI 里产生任何输出。
结果
指定的应用程序现在已部署在受管域的服务器组里了。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.