9.2. チャネルのサブスクライブ
次の例では、管理 CLI を使用して、スタンドアロンサーバーおよびマネージドドメインでチャネルにサブスクライブする方法を説明します。
手順
管理 CLI を起動します。
EAP_HOME/bin/jboss-cli.sh
EAP_HOME/bin/jboss-cli.sh
Copy to Clipboard Copied! Toggle word wrap Toggle overflow チャネルにサブスクライブします。
スタンドアロンサーバーでチャネルにサブスクライブします。
[standalone@localhost:9990 /] installer channel-add --channel-name=test-channel --manifest=org.test:test-manifest --repositories=mrrc::https://maven.repository.redhat.com
[standalone@localhost:9990 /] installer channel-add --channel-name=test-channel --manifest=org.test:test-manifest --repositories=mrrc::https://maven.repository.redhat.com
Copy to Clipboard Copied! Toggle word wrap Toggle overflow マネージドドメインでチャネルにサブスクライブします。
[domain@localhost:9990 /] installer channel-add --host=target-host --channel-name=test-channel --manifest=org.test:test-manifest --repositories=mrrc::https://maven.repository.redhat.com
[domain@localhost:9990 /] installer channel-add --host=target-host --channel-name=test-channel --manifest=org.test:test-manifest --repositories=mrrc::https://maven.repository.redhat.com
Copy to Clipboard Copied! Toggle word wrap Toggle overflow