Setting up the JBOSS server

Setting JBOSS_HOME

  1. Set the env variable JBOSS_HOME. $ export JBOSS_HOME = path to jboss

  2. Check the exported path using the following command. $ echo $JBOSS_HOME

Accessing the WildFly administration console

  1. From the command line, navigate to WildFly’s bin directory.

  2. Run the jboss-cli.sh script with the --connect option. ./jboss-cli.sh --connect

Creating a management user

  1. To open the administration console, go to http://localhost:9990/console.

  2. From the instructions displayed in the console, create a management user.

  3. Go to the bin folder and run the following command: # add-user.sh

  4. Follow the instructions on the console to create the management user.

Managing the server using a web interface

WildFly provides an option to access the application server from a web-based console.

  • By default, the WildFly administration console can be accessed at http://localhost:9990/console.

  • You can sign in using the management user you have created.

Last updated