Book Image

WildFly Configuration, Deployment, and Administration

By : Francesco Marchioni, Christopher Adam M Ritchie
Book Image

WildFly Configuration, Deployment, and Administration

By: Francesco Marchioni, Christopher Adam M Ritchie

Overview of this book

Table of Contents (19 chapters)
WildFly Configuration, Deployment, and Administration Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The command-line interface (CLI)


Terminals and consoles were one of the earliest types of communication interfaces between a system administrator and the machine. Due to this long-time presence, most system administrators prefer to use the raw power of the command line to perform management tasks. One of the most evident advantages of using a low-level interface, such as a shell, is that tasks can often be executed as a part of batch processing or macros for repetitive actions.

Tip

As we indicated at the beginning of this book, the CLI is located in the JBOSS_HOME/bin folder and wrapped by jboss-cli.sh (for Windows users, it's jboss-cli.bat).

By launching the shell script, you will start with a disconnected session. You can connect at any time with the connect [standalone/domain controller] command, which, by default, connects to a server controller located at localhost on port 9990:

You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported...