CLI Usages
The CLI provides a pure text environment for us to manage the EAP6 server, and it shares the same DMR model with the web management console. In this section, let's have a brief discussion about CLI usages.
Connecting to CLI
The command to start the CLI is jboss-cli.sh
, which is located in the bin
folder. Make sure that you have started EAP6 in the standalone mode. Let's run the CLI command now. This process is shown in the following code:
$ ./jboss-cli.sh You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands. [disconnected /]
Now that we have entered the CLI console, the next step is to use the connect
command to enter the management console as follows:
[disconnected /] connect ...
Get JBoss EAP6 High Availability now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.